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
>&2 echo "Conda environment {conda_env_str} is not present on the compute node. "\
"Please create the environment and try again."
exit 99
fi
Because of this line, there is currently no way to use the plugin if you aren't using conda. There are many situations in which the user may not want to use an Anaconda environment. For instance, maybe the user is loading an HPC-hosted Python module, which they've installed packages with via pip. They would have to load the module in their prerun_commands but otherwise shouldn't be required to use conda.
How can we reproduce the issue?
Submit a job without conda in the PATH.
What should happen?
Covalent should support running with Python in the PATH but not necessarily relying on Conda.
Any suggestions?
Only add the conda-related lines if conda_env is not False.
The text was updated successfully, but these errors were encountered:
@arosen93 thank you for this ! this is an side effect of initial versions of covalent being only installable from conda due to few non python dependencies. But that's not the case now, I assume everything should work sans conda check. @wjcunningham7 can you confirm this?
Environment
What is happening?
Note: this one is motivated by some "getting started" snags by a colleague of mine, @rwexler.
covalent-slurm-plugin/covalent_slurm_plugin/slurm.py
Lines 337 to 346 in bcf2049
Because of this line, there is currently no way to use the plugin if you aren't using conda. There are many situations in which the user may not want to use an Anaconda environment. For instance, maybe the user is loading an HPC-hosted Python module, which they've installed packages with via pip. They would have to load the module in their
prerun_commands
but otherwise shouldn't be required to use conda.How can we reproduce the issue?
Submit a job without conda in the PATH.
What should happen?
Covalent should support running with Python in the PATH but not necessarily relying on Conda.
Any suggestions?
Only add the conda-related lines if
conda_env
is not False.The text was updated successfully, but these errors were encountered: