You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -58,6 +58,9 @@ The config file contains the parameters in yaml format:
58
58
device: "cpu"
59
59
struct: "path/to/structure.cif"
60
60
model: "path/to/model.model"
61
+
calc_kwargs:
62
+
dispersion: True
63
+
61
64
62
65
And it is used as shown below. Note that some parameters, which are specific to AiiDA, need to be given individually.
63
66
@@ -101,8 +104,6 @@ In this case the structure used is going to be "path/to/structure2.xyz" rather
101
104
Refer to the API documentation for additional parameters that can be passed.
102
105
Some parameters are not required and don't have a default value set in aiida-mlip. In that case the default values will be the same as `janus <https://stfc.github.io/janus-core/>`_
103
106
The only default parameters defined in aiida-mlip are the names of the input and output files, as they do not affect the results of the calculation itself, and are needed in AiiDA to parse the results.
104
-
For example in the code above the parameter "precision" is never defined, neither in the config nor in the run_get_node function.
105
-
The parameter will default to the janus default, which is "float64"
106
107
107
108
108
109
Submission
@@ -120,7 +121,7 @@ They will be converted to AiiDA data types by the script itself.
120
121
121
122
.. code-block:: python
122
123
123
-
verdi run submit_singlepoint.py "janus@localhost"--structure "path/to/structure"--model "path/to/model"--precision "float64"--device "cpu"
124
+
verdi run submit_singlepoint.py "janus@localhost"--structure "path/to/structure"--model "path/to/model"--device "cpu"
124
125
125
126
The submit_using_config.py script can be used to facilitate submission using a config file.
126
127
@@ -157,7 +158,7 @@ They will be converted to AiiDA data types by the script itself.
157
158
158
159
.. code-block:: python
159
160
160
-
verdi run submit_geomopt.py "janus@localhost"--structure "path/to/structure"--model "path/to/model"--precision "float64"--device "cpu"
161
+
verdi run submit_geomopt.py "janus@localhost"--structure "path/to/structure"--model "path/to/model"--device "cpu"
0 commit comments