aiida-siesta
A plugin for Siesta's basic functionality within the AiiDA framework.
General information
Registry checks
Plugins provided
Entry points
-
siesta.siesta
class:aiida_siesta.calculations.siesta:SiestaCalculationSiesta calculator class for AiiDA.
Input Required Valid types Description codetrue CodeInput code parameterstrue DictInput parameters structuretrue StructureDataInput structure bandskpointsfalse KpointsData, NoneTypeInput kpoints for bands basisfalse Dict, NoneTypeInput basis ionsfalse IonDataInput ion file kpointsfalse KpointsData, NoneTypeInput kpoints luafalse Script and files for the Lua engine metadatafalse monitorsfalse DictAdd monitoring functions that can inspect output files while the job is running and decide to prematurely terminate the job. opticalfalse Dict, NoneTypeSpecifications for optical properties parent_calc_folderfalse RemoteData, NoneTypeParent folder pseudosfalse PsfData, PsmlDataInput pseudo potentials 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, NoneTypeInput settings Output Required Valid types Description output_parameterstrue DictThe calculation results remote_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`. bandsfalse BandsDataOptional band structure forces_and_stressfalse ArrayDataOptional forces and stress ion_filesfalse IonDataoptical_eps2false ArrayDataOptional eps2 optical data output_structurefalse StructureDataOptional relaxed 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} 350 Statement "Job completed" not detected, unknown error 448 Problems in the polarization of a basis element 449 Split_norm parameter too small 450 Calculation did not reach scf convergence! 451 Calculation did not reach geometry convergence! 452 Bands analysis was requested, but file is not present 453 Failure while parsing the bands file 454 Optical calculation requested, but file is not present -
siesta.stm
class:aiida_siesta.calculations.stm:STMCalculationPlugin for the "plstm" program in the Siesta distribution. The "plstm" program takes the .LDOS file and generates a plot file with a simulated STM image. It supports both the old "plstm" versions (inputs in a files) and the new ones (inputs in the command line). Spin options are supported only in recent "plstm" versions, therefore ignored otherwise.
Input Required Valid types Description codetrue CodeInput code ldos_foldertrue RemoteDataParent folder modetrue StrAllowed values are "constant-height" or "constant-current" valuetrue FloatValue of height in Ang or value of current in e/bohr**3 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. settingsfalse Dict, NoneTypeInput settings spin_optionfalse StrSpin option follows plstm sintax: "q" no spin, "s" total spin, "x","y","z" the three spin components Output Required Valid types Description output_parameterstrue DictFor the moment only parser version and name of .STM file remote_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`. stm_arraytrue ArrayDataThe contour data for the STM image 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 retrieved folder data node could not be accessed. 101 The retrieved folder does not contain a CH.STM file 102 The .STM file can not be read 102 The array containing the STM data can not be produced 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}
-
siesta.parser
aiida_siesta.parsers.siesta:SiestaParser -
siesta.stm
aiida_siesta.parsers.stm:STMParser
-
siesta.base
class:aiida_siesta.workflows.base:SiestaBaseWorkChainBase Workchain to launch a total energy calculation via Siesta.
Input Required Valid types Description codetrue CodeInput code optionstrue Dictparameterstrue DictInput parameters structuretrue StructureDataInput structure bandskpointsfalse KpointsData, NoneTypeInput kpoints for bands basisfalse Dict, NoneTypeInput basis clean_workdirfalse BoolIf `True`, work directories of all called calculation jobs will be cleaned at the end of execution. 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. ionsfalse IonDataInput ion file kpointsfalse KpointsData, NoneTypeInput kpoints luafalse Script and files for the Lua engine max_iterationsfalse IntMaximum number of iterations the work chain will restart the process to finish successfully. metadatafalse monitorsfalse DictAdd monitoring functions that can inspect output files while the job is running and decide to prematurely terminate the job. opticalfalse Dict, NoneTypeSpecifications for optical properties parent_calc_folderfalse RemoteData, NoneTypeParent folder pseudo_familyfalse Str, NoneTypepseudosfalse PsfData, PsmlDataInput pseudo potentials 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, NoneTypeInput settings Output Required Valid types Description output_parameterstrue DictThe calculation results remote_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`. bandsfalse BandsDataOptional band structure forces_and_stressfalse ArrayDataOptional forces and stress ion_filesfalse IonDataoptical_eps2false ArrayDataOptional eps2 optical data output_structurefalse StructureDataOptional relaxed 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. 403 Basis polarization problem. 404 Error in the parsing of bands -
siesta.eos
class:aiida_siesta.workflows.eos:EqOfStateFixedCellShapeWorkChain to calculate the equation of state of a solid. The cell shape is fixed, only the volume is rescaled. In particular the volumes considered are 7 equidistant volumes around a starting volume. The starting volume is an optional input of the WorkChain (called volume_per_atom). If not specified, the input structure volume is used with no modifications. All the SiestaBaseWorkChain inputs are other inputs of the workchain. This WorkChain also tries to perform a Birch_Murnaghan fit on the calculatad E(V) data.
Input Required Valid types Description codetrue CodeInput code optionstrue Dictparameterstrue DictInput parameters structuretrue StructureDataInput structure bandskpointsfalse KpointsData, NoneTypeInput kpoints for bands basisfalse Dict, NoneTypeInput basis batch_sizefalse IntThe maximum number of simulations that should run at the same time. You can set this to a very large number to make sure that all simulations run in one single batch if you want. clean_workdirfalse BoolIf `True`, work directories of all called calculation jobs will be cleaned at the end of execution. 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. ionsfalse IonDataInput ion file iterate_modefalse StrIndicates the way the parameters should be iterated. Currently allowed values are: - 'zip': zips all the parameters together (all parameters should have the same number of values!) - 'product': performs a cartesian product of the parameters. That is, all possible combinations of parameters and values are explored. kpointsfalse KpointsData, NoneTypeInput kpoints luafalse Script and files for the Lua engine max_iterationsfalse IntMaximum number of iterations the work chain will restart the process to finish successfully. metadatafalse monitorsfalse DictAdd monitoring functions that can inspect output files while the job is running and decide to prematurely terminate the job. opticalfalse Dict, NoneTypeSpecifications for optical properties parent_calc_folderfalse RemoteData, NoneTypeParent folder pseudo_familyfalse Str, NoneTypepseudosfalse PsfData, PsmlDataInput pseudo potentials 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. scalesfalse Factors by which the structure should be scaled. settingsfalse Dict, NoneTypeInput settings volume_per_atomfalse Float, NoneTypeVolume per atom around which to perform the EqOfState Output Required Valid types Description results_dicttrue DictContaining the calculated E(V) data and, if the fit is sucessfull, the resulting fit parameters equilibrium_structurefalse StructureDataEquilibrium volume structure. Returned only if the fit is succesfull 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. -
siesta.bandgap
class:aiida_siesta.workflows.bandgap:BandgapWorkChainWorkchain to obtain the bands and bandgap of a structure through Siesta. If "bandskpoints" are set in inputs, it behaves like `SiestaBaseWorkChain` adding just the bandgap calculation at the end. If no bandskpoints was specified, the bands are computed anyway on a kpoints path automatically assigned using seekpath and the input (output) structure of the single-point (relaxation/md) calculation.
Input Required Valid types Description codetrue CodeInput code optionstrue Dictparameterstrue DictInput parameters structuretrue StructureDataInput structure bandskpointsfalse KpointsData, NoneTypeInput kpoints for bands basisfalse Dict, NoneTypeInput basis clean_workdirfalse BoolIf `True`, work directories of all called calculation jobs will be cleaned at the end of execution. 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. ionsfalse IonDataInput ion file kpointsfalse KpointsData, NoneTypeInput kpoints luafalse Script and files for the Lua engine max_iterationsfalse IntMaximum number of iterations the work chain will restart the process to finish successfully. metadatafalse monitorsfalse DictAdd monitoring functions that can inspect output files while the job is running and decide to prematurely terminate the job. opticalfalse Dict, NoneTypeSpecifications for optical properties parent_calc_folderfalse RemoteData, NoneTypeParent folder pseudo_familyfalse Str, NoneTypepseudosfalse PsfData, PsmlDataInput pseudo potentials 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. seekpath_dictfalse Dictdictionary of seekpath parameters that are pased to `get_explicit_kpoints_path` settingsfalse Dict, NoneTypeInput settings Output Required Valid types Description output_parameterstrue DictThe calculation results remote_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`. band_gap_infofalse Dictbandsfalse BandsDataOptional band structure forces_and_stressfalse ArrayDataOptional forces and stress ion_filesfalse IonDataoptical_eps2false ArrayDataOptional eps2 optical data output_structurefalse StructureDataOptional relaxed 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. 200 The main SiestaBaseWorkChain failed 201 The SiestaBaseWorkChain to obtain the bands failed -
siesta.stm
class:aiida_siesta.workflows.stm:SiestaSTMWorkChainSTM Workchain. This workchain runs a DFT calculation with siesta, calculates the local density of states in an energy window specified by the user (stored in a .LDOS file) and post-process it in order to produce simulated STM images.
Input Required Valid types Description codetrue CodeInput code emaxtrue FloatHigher boundary energy (in eV respect to Ef) for LDOS calculation emintrue FloatLower boundary energy (in eV respect to Ef) for LDOS calculation optionstrue Dictparameterstrue DictInput parameters stm_codetrue CodeSTM plstm code stm_modetrue StrAllowed values are "constant-height" or "constant-current" stm_spintrue StrAllowed values are "none", "collinear" or "non-collinear" stm_valuetrue FloatValue of height in Ang or value of current in e/bohr**3 structuretrue StructureDataInput structure bandskpointsfalse KpointsData, NoneTypeInput kpoints for bands basisfalse Dict, NoneTypeInput basis clean_workdirfalse BoolIf `True`, work directories of all called calculation jobs will be cleaned at the end of execution. 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. ionsfalse IonDataInput ion file kpointsfalse KpointsData, NoneTypeInput kpoints luafalse Script and files for the Lua engine max_iterationsfalse IntMaximum number of iterations the work chain will restart the process to finish successfully. metadatafalse monitorsfalse DictAdd monitoring functions that can inspect output files while the job is running and decide to prematurely terminate the job. opticalfalse Dict, NoneTypeSpecifications for optical properties parent_calc_folderfalse RemoteData, NoneTypeParent folder pseudo_familyfalse Str, NoneTypepseudosfalse PsfData, PsmlDataInput pseudo potentials 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, NoneTypeInput settings stm_optionsfalse Dict, NoneTypeSTM plstm code resources and options Output Required Valid types Description stm_arraytrue ArrayDataoutput_structurefalse StructureDataExit 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. 200 The main SiestaBaseWorkChain failed 201 The SiestaBaseWorkChain to obtain the .LDOS file failed 202 The STM post-process failed -
siesta.baseneb
class:aiida_siesta.workflows.neb_base:SiestaBaseNEBWorkChainWorkchain to run a NEB MEP optimization starting from a guessed path. In theory, such task can be accomplished using directly the SiestaCalculation and passing the guessed path as xyz files in lua.input_files input (see `examples/plugins/siesta/example_neb.py`). Here, instead, the guessed path must be specified as a set of structures in a `TrajectoryData` object. The structures in `TrajectoryData` are then transformed in xyz files and placed in a directory that is the passed to lua.input_files when the SiestaCalculation is called. This better preserves the provenance. Moreover allows cleaner use of ghost (often necessaries) Finally, we have a dedicated output containing all the NEB quantities. This workchain can also become the place where to deal with possible errors due to the lua features.
Input Required Valid types Description codetrue CodeInput code neb_scripttrue SinglefileDataLua script for NEB engine optionstrue DictOptions parameterstrue DictInput parameters starting_pathtrue TrajectoryDataStarting Path bandskpointsfalse KpointsData, NoneTypeInput kpoints for bands basisfalse Dict, NoneTypeInput basis ionsfalse IonDataInput ion file kpointsfalse KpointsData, NoneTypeInput kpoints metadatafalse monitorsfalse DictAdd monitoring functions that can inspect output files while the job is running and decide to prematurely terminate the job. opticalfalse Dict, NoneTypeSpecifications for optical properties parent_calc_folderfalse RemoteData, NoneTypeParent folder pseudosfalse PsfData, PsmlDataInput pseudo potentials 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, NoneTypeInput settings spring_constantfalse FloatOutput Required Valid types Description neb_output_packagetrue TrajectoryDataExit 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. 201 The NEB calculation failed 202 The .xyz files or the NEB.results file could not be retrieved -
siesta.epsilon
class:aiida_siesta.workflows.epsilon:EpsilonWorkChainWorkchain to obtain the electronic contribution to the static dielectric constant using Siesta.
Input Required Valid types Description codetrue CodeInput code opticaltrue Dict, NoneTypeSpecifications for optical properties optionstrue Dictparameterstrue DictInput parameters structuretrue StructureDataInput structure bandskpointsfalse KpointsData, NoneTypeInput kpoints for bands basisfalse Dict, NoneTypeInput basis clean_workdirfalse BoolIf `True`, work directories of all called calculation jobs will be cleaned at the end of execution. 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. ionsfalse IonDataInput ion file kpointsfalse KpointsData, NoneTypeInput kpoints luafalse Script and files for the Lua engine max_iterationsfalse IntMaximum number of iterations the work chain will restart the process to finish successfully. metadatafalse monitorsfalse DictAdd monitoring functions that can inspect output files while the job is running and decide to prematurely terminate the job. parent_calc_folderfalse RemoteData, NoneTypeParent folder pseudo_familyfalse Str, NoneTypepseudosfalse PsfData, PsmlDataInput pseudo potentials 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, NoneTypeInput settings Output Required Valid types Description output_parameterstrue DictThe calculation results remote_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`. bandsfalse BandsDataOptional band structure epsilonfalse FloatLow-frequency dielectric constant forces_and_stressfalse ArrayDataOptional forces and stress ion_filesfalse IonDataoptical_eps2false ArrayDataOptional eps2 optical data output_structurefalse StructureDataOptional relaxed 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. 403 Basis polarization problem. 404 Error in the parsing of bands -
siesta.iterator
class:aiida_siesta.workflows.iterate:SiestaIteratorIterator for the SietaBaseWorkChain. The iterator is extended to iterate over any Siesta keyword. WARNING: if a keyword not recognized by Siesta is used in `iterate_over`, the iterator will not complain. It will just add the keyword to the parameters dict and run the calculation!
Input Required Valid types Description iterate_overtrue DictA dictionary where each key is the name of a parameter we want to iterate over (str) and each value is a list with all the values to iterate over for that parameter. Each value in the list can be either a node (unstored or stored) or a simple python object (str, float, int, bool). Note that each subclass might parse this keys and values differently, so you should know how they do it. bandskpointsfalse KpointsData, NoneTypeInput kpoints for bands basisfalse Dict, NoneTypeInput basis batch_sizefalse IntThe maximum number of simulations that should run at the same time. You can set this to a very large number to make sure that all simulations run in one single batch if you want. clean_workdirfalse BoolIf `True`, work directories of all called calculation jobs will be cleaned at the end of execution. codefalse CodeInput code 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. ionsfalse IonDataInput ion file iterate_modefalse StrIndicates the way the parameters should be iterated. Currently allowed values are: - 'zip': zips all the parameters together (all parameters should have the same number of values!) - 'product': performs a cartesian product of the parameters. That is, all possible combinations of parameters and values are explored. kpointsfalse KpointsData, NoneTypeInput kpoints luafalse Script and files for the Lua engine max_iterationsfalse IntMaximum number of iterations the work chain will restart the process to finish successfully. metadatafalse monitorsfalse DictAdd monitoring functions that can inspect output files while the job is running and decide to prematurely terminate the job. opticalfalse Dict, NoneTypeSpecifications for optical properties optionsfalse Dictparametersfalse DictInput parameters parent_calc_folderfalse RemoteData, NoneTypeParent folder pseudo_familyfalse Str, NoneTypepseudosfalse PsfData, PsmlDataInput pseudo potentials 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, NoneTypeInput settings structurefalse StructureDataInput structure 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. -
siesta.converger
class:aiida_siesta.workflows.converge:SiestaConvergerOnly connects the two parent classes.
Input Required Valid types Description iterate_overtrue DictA dictionary where each key is the name of a parameter we want to iterate over (str) and each value is a list with all the values to iterate over for that parameter. Each value in the list can be either a node (unstored or stored) or a simple python object (str, float, int, bool). Note that each subclass might parse this keys and values differently, so you should know how they do it. bandskpointsfalse KpointsData, NoneTypeInput kpoints for bands basisfalse Dict, NoneTypeInput basis batch_sizefalse IntThe maximum number of simulations that should run at the same time. You can set this to a very large number to make sure that all simulations run in one single batch if you want. clean_workdirfalse BoolIf `True`, work directories of all called calculation jobs will be cleaned at the end of execution. codefalse CodeInput code 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. ionsfalse IonDataInput ion file iterate_modefalse StrIndicates the way the parameters should be iterated. Currently allowed values are: - 'zip': zips all the parameters together (all parameters should have the same number of values!) - 'product': performs a cartesian product of the parameters. That is, all possible combinations of parameters and values are explored. kpointsfalse KpointsData, NoneTypeInput kpoints luafalse Script and files for the Lua engine max_iterationsfalse IntMaximum number of iterations the work chain will restart the process to finish successfully. metadatafalse monitorsfalse DictAdd monitoring functions that can inspect output files while the job is running and decide to prematurely terminate the job. opticalfalse Dict, NoneTypeSpecifications for optical properties optionsfalse Dictparametersfalse DictInput parameters parent_calc_folderfalse RemoteData, NoneTypeParent folder pseudo_familyfalse Str, NoneTypepseudosfalse PsfData, PsmlDataInput pseudo potentials 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, NoneTypeInput settings structurefalse StructureDataInput structure targetfalse Str, NoneTypeThe parameter that you want to track. thresholdfalse Int, FloatThe maximum difference between two consecutive steps to consider that convergence is reached Output Required Valid types Description convergedtrue Whether the target has converged converged_parametersfalse The values for the parameters that was enough to achieve convergence. If converged is not achieved, it won't be returned converged_target_valuefalse The value of the target with convergence reached. 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. -
siesta.sequential_converger
class:aiida_siesta.workflows.converge:SiestaSequentialConvergerAn iterator of convergers.
Input Required Valid types Description converger_inputstrue Dataiterate_overtrue ListA dictionary where each key is the name of a parameter we want to iterate over (str) and each value is a list with all the values to iterate over for that parameter. Each value in the list can be either a node (unstored or stored) or a simple python object (str, float, int, bool). Note that each subclass might parse this keys and values differently, so you should know how they do it. batch_sizefalse IntThe maximum number of simulations that should run at the same time. You can set this to a very large number to make sure that all simulations run in one single batch if you want. iterate_modefalse StrIndicates the way the parameters should be iterated. Currently allowed values are: - 'zip': zips all the parameters together (all parameters should have the same number of values!) - 'product': performs a cartesian product of the parameters. That is, all possible combinations of parameters and values are explored. metadatafalse Output Required Valid types Description converged_parameterstrue The values for the parameters that was enough to achieve convergence. If convergence is not achieved, it will be an empty dictionary converged_target_valuefalse The value of the target with convergence reached. unconverged_parametersfalse The list of unconverged parameters. 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. -
siesta.forbasisopt
class:aiida_siesta.workflows._for_optimization:ForBasisOptWorkChainWrapper of SiestaBaseWorkChain. Class wrapping the SiestaBaseWorkChain with the scope of assigning the variables of the optimization process to the right input of the SiestaBaseWorkChain.
Input Required Valid types Description lower_boundstrue Listout_nametrue Strsiesta_basetrue Datathe_namestrue Listthe_valuestrue Listupper_boundstrue Listmetadatafalse Output Required Valid types Description enetrue FloatExit 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. -
siesta.simplex_basis
class:aiida_siesta.workflows.simplex_basis:SimplexBasisOptimizationWorkchain running a simple NelderMead optimization (simplex) varing variables defined in the basis dictionaries.
Input Required Valid types Description siesta_basetrue Datasimplextrue metadatafalse Output Required Valid types Description last_simplextrue Listoptimal_process_outputtrue Output value of the optimal evaluation process. optimal_process_uuidtrue UUID of the optimal evaluation process. optimal_process_inputfalse Input value of the optimal evaluation process. 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. 200 The OptimizationWorkChain did not finished -
siesta.two_step_basis_opt
class:aiida_siesta.workflows.two_steps_optimization:TwoStepsBasisOptOptimization that is more similar to the simplex code in the siesta utils. The optimization has two levels, a "marcrostep" that consists in the restart of a simplex with gradual reduction of the dimention of the initial simplex.
Input Required Valid types Description macrosteptrue siesta_basetrue Datasimplextrue metadatafalse Output Required Valid types Description last_simplextrue Listoptimal_process_outputtrue Output value of the optimal evaluation process. optimal_process_uuidtrue UUID of the optimal evaluation process. optimal_process_inputfalse Input value of the optimal evaluation process. 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. -
siesta.basis_optimization
class:aiida_siesta.workflows.basis_optimization:BasisOptimizationWorkChainWorkChain for basis optimization.
Input Required Valid types Description optimization_schematrue siesta_basetrue Datasimplextrue add_orbitalfalse Dict, NoneTypebasis_sizesfalse Listmetadatafalse sizes_monitored_quantityfalse StrOutput Required Valid types Description optimal_basis_blocktrue DictExit 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. 200 The SiestaIterator running pao sizes failed 201 The basis optimization failed, probably not sufficient steps 202 The basis optimization failed, probably not sufficient steps
-
siesta.ion
aiida_siesta.data.ion:IonData
-
siesta.atomic_orbital
aiida_siesta.data.atomic_orbitals:SislAtomicOrbital