All plugins
CalcJobs and calculation functions aiida.calculations CalcJob parsers aiida.parsers WorkChains and work functions aiida.workflows
aiida-inq
The official AiiDA plugin for INQ.
status beta
AiiDA
>=2.0,<3.0
General information
Registry checks
All checks passed
Plugins provided
Calculations 2 Parsers 1 Workflows 3
Entry points
-
inq.create_kpoints_from_distance
class:aiida_inq.calculations.functions.create_kpoints_from_distance:create_kpoints_from_distanceGenerate a kpoint mesh for a given structure. :param structure: StructureData to which the mesh will be applied. :param kspacing: Spacing between kpoints in reciprocal space. :returns: KpointsData object with mesh.
Input Required Valid types Description kspacingtrue DataSpacing between kpoints in reciprocal space. structuretrue DataStructureData to which the mesh will be applied. metadatafalse 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. -
inq.inq
class:aiida_inq.calculations.inq:InqCalculationBase calculation class for the INQ code.
Input Required Valid types Description parameterstrue DictInput parameters for the input file. structuretrue StructureDataThe input structure. 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. metadatafalse monitorsfalse DictAdd monitoring functions that can inspect output files while the job is running and decide to prematurely terminate the job. parent_folderfalse RemoteData, NoneTypeOptional working directory of a previous calculation to restart from. 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. settingsfalse Dict, NoneTypeOptional parameters to affect the way the calculation job is performed. Output Required Valid types Description output_parameterstrue Dictremote_foldertrue RemoteDataInput files necessary to run the process will be stored in this folder node. 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`. output_structurefalse StructureDataThe relaxed output structure. 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} 201 At minimum the energy cutoff must be specified. 202 No run type was specified in the input parameters. 203 Input parameter was not specified for this result.
-
inq.inq
aiida_inq.parsers.inq:InqParser
-
inq.base
class:aiida_inq.workflows.base:InqBaseWorkChainWorkchain to run an Inq calculation with automated error handling and restarts.
Input Required Valid types Description inqtrue Datastructuretrue StructureDataThe input structure. clean_workdirfalse BoolWhether to clean all related work folders. handler_overridesfalse Dict, NoneTypeMapping where keys are process handler names and the values are a dictionary, where each dictionary can define the ``enabled`` and ``priority`` key, which can be used to toggle the values set on the original process handler declaration. kpointsfalse KpointsData, NoneTypeKpoint grid. kpoints_spacingfalse Float, NoneTypeThe spacing between kpoints in reciprocal space. max_iterationsfalse IntMaximum number of iterations the work chain will restart the process to finish successfully. metadatafalse Output Required Valid types Description output_parameterstrue Dictremote_foldertrue RemoteDataInput files necessary to run the process will be stored in this folder node. 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`. output_structurefalse StructureDataThe relaxed output structure. 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. 301 The sub process excepted. 302 The sub process was killed. 401 The maximum number of iterations was exceeded. 402 The process failed for an unknown reason, twice in a row. -
inq.convergence
class:aiida_inq.workflows.convergence:InqConvergenceWorkChainWorkchain to run convergence tests using the Inq calculator.
Input Required Valid types Description clean_workdirtrue BoolIf `True`, work directories of all called calculations will be cleaned at the end of the workflow. convtrue DataInputs for the INQ Base Workchain. structuretrue StructureDataThe starting structure energy_deltafalse Float, NoneTypeThe value used to check if the total energy has converged. Since the parser returns values in eV, make sure to scale the value accordingly. energy_startfalse Int, NoneTypeIf provided, will use this energy cutoff as a starting point. Otherwise, the suggested energy cutoffs will be used from the pseudos.yaml protocol file. Units are considered to be Ha. energy_stepfalse Int, NoneTypeDefault value for increasing the energy cutoff value. Units considered to be in Ha. kspacing_startfalse Float, NoneTypeStarting kspacing value for convergence testing. kspacing_stepfalse Float, NoneTypeStep value for reducing kspacing value. max_iterfalse Int, NoneTypeMaximum number of iterations to perform for both energy and kspacing calculations. metadatafalse Output Required Valid types Description output_parameterstrue Dictremote_foldertrue RemoteDataInput files necessary to run the process will be stored in this folder node. 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`. suggestedtrue DictSuggested values for energy cutoff and kspacing. output_structurefalse StructureDataThe relaxed output structure. 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. 401 An INQ calculation failed. 402 Reached the maximum number of iterations for the workchain. -
inq.tddft
class:aiida_inq.workflows.tddft:InqTDDFTWorkChainWorkchain to run convergence tests using the Inq calculator.
Input Required Valid types Description clean_workdirtrue BoolIf `True`, work directories of all called calculations will be cleaned at the end of the workflow. gstrue DataInputs for the Ground State calculation. structuretrue StructureDataThe starting structure. tddfttrue DataInputs for the TDDFT calculation. metadatafalse Output Required Valid types Description output_parameterstrue Dictremote_foldertrue RemoteDataInput files necessary to run the process will be stored in this folder node. 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`. output_structurefalse StructureDataThe relaxed output structure. 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. 401 An INQ calculation failed.