Observed since 21 Oct, 10:56 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
AiiDA scheduler plugins that allow for `conda run`.
AiiDA scheduler plugins that allow for conda run.
Currently, as of aiida-core v2.0.1, it is impossible to set up a Computer + Code which can run, for example:
conda run --name myenv mpirun -np 4 pw.x -i input.in
since, (a) a code can only specify a remote_abs_path and (b) only a computer can specify the mpirun_command.
This is really the only way to run a code which is not in the Conda base environment, since conda activate myenv
(which could perhaps be added to prepend_text) fails when run in a script.
These scheduler plugins subclass the built-in scheduler subclasses, and overrides the _get_run_line method and:
NotImplementedError if len(codes_info) != 1 or codes_run_mode != CodeRunMode.SERIAL (i.e. only one code is supported).codes_info[0].code_uuid and retrieves its descriptionenv=myenvconda run --name myenv to the run line.pip install aiida_conda_scheduler
reentry scan # aiida v1.x only
Then the plugins should show in:
verdi plugin list aiida.schedulers
Use pipx to install the tox and pre-commit command tools.
git clone https://github.com/chrisjsewell/aiida-conda-scheduler .
cd aiida-conda-scheduler
pre-commit run --all
tox
For aiida-core v1, use e.g.
tox -e py38-v1
MIT
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0 | 20 Jul 2022 | 4 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 21 Oct, 10:56 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:09a282557971dbddd66b1d2e4d44799a612cf619a124cca52204c77d55453b91