aiida-mlip
Machine learning interatomic potentials AiiDA plugin
General information
Registry checks
Plugins provided
Entry points
-
mlip.descriptors
class:aiida_mlip.calculations.descriptors:DescriptorsCalcjob implementation to calculate MLIP descriptors. Methods ------- define(spec: CalcJobProcessSpec) -> None: Define the process specification, its inputs, outputs and exit codes. prepare_for_submission(folder: Folder) -> CalcInfo: Create the input files for the `CalcJob`.
Input Required Valid types Description archfalse Str, NoneTypeMlip architecture to use for calculation, defaults to mace calc_per_atomfalse Bool, NoneTypeCalculate descriptors for each atom. calc_per_elementfalse Bool, NoneTypeCalculate mean descriptors for each element. codefalse AbstractCode, NoneTypeThe `Code` to use for this job. This input is required, unless the `remote_folder` input is specified, which means an existing job is being imported and no code will actually be run. configfalse JanusConfigfile, NoneTypeName of the log output file devicefalse Str, NoneTypeDevice on which to run calculation (cpu, cuda or mps) invariants_onlyfalse Bool, NoneTypeOnly calculate invariant descriptors. log_filenamefalse Str, NoneTypeName of the log output file metadatafalse modelfalse ModelData, NoneTypeMlip model used for calculation monitorsfalse DictAdd monitoring functions that can inspect output files while the job is running and decide to prematurely terminate the job. outfalse Str, NoneTypeName of the xyz output file precisionfalse Str, NoneTypePrecision level for calculation remote_folderfalse RemoteData, NoneTypeRemote directory containing the results of an already completed calculation job without AiiDA. The inputs should be passed to the `CalcJob` as normal but instead of launching the actual job, the engine will recreate the input files and then proceed straight to the retrieve step where the files of this `RemoteData` will be retrieved as if it had been actually launched through AiiDA. If a parser is defined in the inputs, the results are parsed and attached as output nodes as usual. structfalse StructureData, NoneTypeThe input structure. Output Required Valid types Description log_outputtrue SinglefileDataremote_foldertrue RemoteDataInput files necessary to run the process will be stored in this folder node. results_dicttrue DictThe `results_dict` output node of the successful calculation. retrievedtrue FolderDataFiles that are retrieved by the daemon will be stored in this node. By default the stdout and stderr of the scheduler will be added, but one can add more by specifying them in `CalcInfo.retrieve_list`. std_outputtrue SinglefileDataxyz_outputtrue SinglefileDataremote_stashfalse RemoteStashDataContents of the `stash.source_list` option are stored in this remote folder after job completion. Exit status Message 1 The process has failed with an unspecified error. 2 The process failed with legacy failure mode. 10 The process returned an invalid output. 11 The process did not register a required output. 100 The process did not have the required `retrieved` output. 110 The job ran out of memory. 120 The job ran out of walltime. 131 The specified account is invalid. 140 The node running the job failed. 150 {message} 160 {message} 305 Some output files missing or cannot be read -
mlip.md
class:aiida_mlip.calculations.md:MDCalcjob implementation to run geometry MD calculations using mlips. Methods ------- define(spec: CalcJobProcessSpec) -> None: Define the process specification, its inputs, outputs and exit codes. prepare_for_submission(folder: Folder) -> CalcInfo: Create the input files for the `CalcJob`.
Input Required Valid types Description archfalse Str, NoneTypeMlip architecture to use for calculation, defaults to mace codefalse AbstractCode, NoneTypeThe `Code` to use for this job. This input is required, unless the `remote_folder` input is specified, which means an existing job is being imported and no code will actually be run. configfalse JanusConfigfile, NoneTypeName of the log output file devicefalse Str, NoneTypeDevice on which to run calculation (cpu, cuda or mps) ensemblefalse Str, NoneTypeName for thermodynamic ensemble log_filenamefalse Str, NoneTypeName of the log output file md_kwargsfalse Dict, NoneTypeKeywords for molecular dynamics metadatafalse modelfalse ModelData, NoneTypeMlip model used for calculation monitorsfalse DictAdd monitoring functions that can inspect output files while the job is running and decide to prematurely terminate the job. precisionfalse Str, NoneTypePrecision level for calculation remote_folderfalse RemoteData, NoneTypeRemote directory containing the results of an already completed calculation job without AiiDA. The inputs should be passed to the `CalcJob` as normal but instead of launching the actual job, the engine will recreate the input files and then proceed straight to the retrieve step where the files of this `RemoteData` will be retrieved as if it had been actually launched through AiiDA. If a parser is defined in the inputs, the results are parsed and attached as output nodes as usual. structfalse StructureData, NoneTypeThe input structure. Output Required Valid types Description final_structuretrue StructureDatalog_outputtrue SinglefileDataremote_foldertrue RemoteDataInput files necessary to run the process will be stored in this folder node. results_dicttrue DictThe `results_dict` output node of the successful calculation. retrievedtrue FolderDataFiles that are retrieved by the daemon will be stored in this node. By default the stdout and stderr of the scheduler will be added, but one can add more by specifying them in `CalcInfo.retrieve_list`. stats_filetrue SinglefileDatastd_outputtrue SinglefileDatasummarytrue SinglefileDatatraj_filetrue SinglefileDatatraj_outputtrue TrajectoryDataremote_stashfalse RemoteStashDataContents of the `stash.source_list` option are stored in this remote folder after job completion. Exit status Message 1 The process has failed with an unspecified error. 2 The process failed with legacy failure mode. 10 The process returned an invalid output. 11 The process did not register a required output. 100 The process did not have the required `retrieved` output. 110 The job ran out of memory. 120 The job ran out of walltime. 131 The specified account is invalid. 140 The node running the job failed. 150 {message} 160 {message} 305 Some output files missing or cannot be read -
mlip.opt
class:aiida_mlip.calculations.geomopt:GeomOptCalcjob implementation to run geometry optimisation calculations using mlips. Methods ------- define(spec: CalcJobProcessSpec) -> None: Define the process specification, its inputs, outputs and exit codes. prepare_for_submission(folder: Folder) -> CalcInfo: Create the input files for the `CalcJob`.
Input Required Valid types Description archfalse Str, NoneTypeMlip architecture to use for calculation, defaults to mace codefalse AbstractCode, NoneTypeThe `Code` to use for this job. This input is required, unless the `remote_folder` input is specified, which means an existing job is being imported and no code will actually be run. configfalse JanusConfigfile, NoneTypeName of the log output file devicefalse Str, NoneTypeDevice on which to run calculation (cpu, cuda or mps) fmaxfalse Float, NoneTypeMaximum force for convergence log_filenamefalse Str, NoneTypeName of the log output file metadatafalse modelfalse ModelData, NoneTypeMlip model used for calculation monitorsfalse DictAdd monitoring functions that can inspect output files while the job is running and decide to prematurely terminate the job. opt_cell_fullyfalse Bool, NoneTypeFully optimise the cell vectors, angles, and atomic positions opt_cell_lengthsfalse Bool, NoneTypeOptimise cell vectors, as well as atomic positions opt_kwargsfalse Dict, NoneTypeOther optimisation keywords outfalse Str, NoneTypeName of the xyz output file precisionfalse Str, NoneTypePrecision level for calculation propertiesfalse Str, NoneTypeProperties to calculate remote_folderfalse RemoteData, NoneTypeRemote directory containing the results of an already completed calculation job without AiiDA. The inputs should be passed to the `CalcJob` as normal but instead of launching the actual job, the engine will recreate the input files and then proceed straight to the retrieve step where the files of this `RemoteData` will be retrieved as if it had been actually launched through AiiDA. If a parser is defined in the inputs, the results are parsed and attached as output nodes as usual. stepsfalse Int, NoneTypeNumber of optimisation steps structfalse StructureData, NoneTypeThe input structure. trajfalse Str, NoneTypePath to save optimisation frames to Output Required Valid types Description final_structuretrue StructureDatalog_outputtrue SinglefileDataremote_foldertrue RemoteDataInput files necessary to run the process will be stored in this folder node. results_dicttrue DictThe `results_dict` output node of the successful calculation. retrievedtrue FolderDataFiles that are retrieved by the daemon will be stored in this node. By default the stdout and stderr of the scheduler will be added, but one can add more by specifying them in `CalcInfo.retrieve_list`. std_outputtrue SinglefileDatatraj_filetrue SinglefileDatatraj_outputtrue TrajectoryDataxyz_outputtrue SinglefileDataremote_stashfalse RemoteStashDataContents of the `stash.source_list` option are stored in this remote folder after job completion. Exit status Message 1 The process has failed with an unspecified error. 2 The process failed with legacy failure mode. 10 The process returned an invalid output. 11 The process did not register a required output. 100 The process did not have the required `retrieved` output. 110 The job ran out of memory. 120 The job ran out of walltime. 131 The specified account is invalid. 140 The node running the job failed. 150 {message} 160 {message} 305 Some output files missing or cannot be read -
mlip.sp
class:aiida_mlip.calculations.singlepoint:SinglepointCalcjob implementation to run single point calculations using mlips. Attributes ---------- XYZ_OUTPUT : str Default xyz output file name. Methods ------- define(spec: CalcJobProcessSpec) -> None: Define the process specification, its inputs, outputs and exit codes. validate_inputs(value: dict, port_namespace: PortNamespace) -> Optional[str]: Check if the inputs are valid. prepare_for_submission(folder: Folder) -> CalcInfo: Create the input files for the `CalcJob`.
Input Required Valid types Description archfalse Str, NoneTypeMlip architecture to use for calculation, defaults to mace codefalse AbstractCode, NoneTypeThe `Code` to use for this job. This input is required, unless the `remote_folder` input is specified, which means an existing job is being imported and no code will actually be run. configfalse JanusConfigfile, NoneTypeName of the log output file devicefalse Str, NoneTypeDevice on which to run calculation (cpu, cuda or mps) log_filenamefalse Str, NoneTypeName of the log output file metadatafalse modelfalse ModelData, NoneTypeMlip model used for calculation monitorsfalse DictAdd monitoring functions that can inspect output files while the job is running and decide to prematurely terminate the job. outfalse Str, NoneTypeName of the xyz output file precisionfalse Str, NoneTypePrecision level for calculation propertiesfalse Str, NoneTypeProperties to calculate remote_folderfalse RemoteData, NoneTypeRemote directory containing the results of an already completed calculation job without AiiDA. The inputs should be passed to the `CalcJob` as normal but instead of launching the actual job, the engine will recreate the input files and then proceed straight to the retrieve step where the files of this `RemoteData` will be retrieved as if it had been actually launched through AiiDA. If a parser is defined in the inputs, the results are parsed and attached as output nodes as usual. structfalse StructureData, NoneTypeThe input structure. Output Required Valid types Description log_outputtrue SinglefileDataremote_foldertrue RemoteDataInput files necessary to run the process will be stored in this folder node. results_dicttrue DictThe `results_dict` output node of the successful calculation. retrievedtrue FolderDataFiles that are retrieved by the daemon will be stored in this node. By default the stdout and stderr of the scheduler will be added, but one can add more by specifying them in `CalcInfo.retrieve_list`. std_outputtrue SinglefileDataxyz_outputtrue SinglefileDataremote_stashfalse RemoteStashDataContents of the `stash.source_list` option are stored in this remote folder after job completion. Exit status Message 1 The process has failed with an unspecified error. 2 The process failed with legacy failure mode. 10 The process returned an invalid output. 11 The process did not register a required output. 100 The process did not have the required `retrieved` output. 110 The job ran out of memory. 120 The job ran out of walltime. 131 The specified account is invalid. 140 The node running the job failed. 150 {message} 160 {message} 305 Some output files missing or cannot be read -
mlip.train
class:aiida_mlip.calculations.train:TrainCalcjob implementation to train mlips. Attributes ---------- DEFAULT_OUTPUT_FILE : str Default stdout file name. Methods ------- define(spec: CalcJobProcessSpec) -> None: Define the process specification, its inputs, outputs and exit codes. validate_inputs(value: dict, port_namespace: PortNamespace) -> Optional[str]: Check if the inputs are valid. prepare_for_submission(folder: Folder) -> CalcInfo: Create the input files for the `CalcJob`.
Input Required Valid types Description mlip_configtrue JanusConfigfileConfig file with parameters for training codefalse AbstractCode, NoneTypeThe `Code` to use for this job. This input is required, unless the `remote_folder` input is specified, which means an existing job is being imported and no code will actually be run. fine_tunefalse Bool, NoneTypeWhether fine-tuning a model foundation_modelfalse ModelData, NoneTypeModel to fine-tune metadatafalse monitorsfalse DictAdd monitoring functions that can inspect output files while the job is running and decide to prematurely terminate the job. remote_folderfalse RemoteData, NoneTypeRemote directory containing the results of an already completed calculation job without AiiDA. The inputs should be passed to the `CalcJob` as normal but instead of launching the actual job, the engine will recreate the input files and then proceed straight to the retrieve step where the files of this `RemoteData` will be retrieved as if it had been actually launched through AiiDA. If a parser is defined in the inputs, the results are parsed and attached as output nodes as usual. Output Required Valid types Description checkpointstrue FolderDatacompiled_modeltrue SinglefileDatalogstrue FolderDatamodeltrue ModelDataremote_foldertrue RemoteDataInput files necessary to run the process will be stored in this folder node. results_dicttrue DictThe `results_dict` output node of the training. retrievedtrue FolderDataFiles that are retrieved by the daemon will be stored in this node. By default the stdout and stderr of the scheduler will be added, but one can add more by specifying them in `CalcInfo.retrieve_list`. remote_stashfalse RemoteStashDataContents of the `stash.source_list` option are stored in this remote folder after job completion. Exit status Message 1 The process has failed with an unspecified error. 2 The process failed with legacy failure mode. 10 The process returned an invalid output. 11 The process did not register a required output. 100 The process did not have the required `retrieved` output. 110 The job ran out of memory. 120 The job ran out of walltime. 131 The specified account is invalid. 140 The node running the job failed. 150 {message} 160 {message} 305 Some output files missing or cannot be read
-
mlip.config
aiida_mlip.data.config:JanusConfigfile -
mlip.modeldata
aiida_mlip.data.model:ModelData
-
mlip.descriptors_parser
aiida_mlip.parsers.descriptors_parser:DescriptorsParser -
mlip.md_parser
aiida_mlip.parsers.md_parser:MDParser -
mlip.opt_parser
aiida_mlip.parsers.opt_parser:GeomOptParser -
mlip.sp_parser
aiida_mlip.parsers.sp_parser:SPParser -
mlip.train_parser
aiida_mlip.parsers.train_parser:TrainParser