AiidaDFTK.run
— Methodrun() -> NamedTuple{(:output_files,), Tuple{Vector{String}}}
Run a DFTK calculation from a json input file. The input file name is expected to be passed as the first argument when calling Julia (i.e. it should be available via ARGS
. This function is expected to be called from queuing system jobscripts, for example:
julia --project -e 'using AiidaDFTK; AiidaDFTK.run()' /path/to/input/file.json
It automatically dumps a logfile file.log
(i.e. basename of the input file with the log extension), which contains the log messages (i.e. @info, @warn, ...). Currently stdout and stderr is still printed.
AiidaDFTK.run_json
— Methodrun_json(
filename::AbstractString;
extra_output_files
) -> NamedTuple{(:output_files,), Tuple{Vector{String}}}
Run a DFTK calculation from a json input file. Output is by default written to stdout
and stderr
. The list of generated output files is returned.