radical-cybertools / radical.saga

A Light-Weight Access Layer for Distributed Computing Infrastructure and Reference Implementation of the SAGA Python Language Bindings.
http://radical-cybertools.github.io/saga-python/
Other
83 stars 34 forks source link

Question about virtualenvs #837

Open marcoooo opened 3 years ago

marcoooo commented 3 years ago

Hi there, we are currently integrating your tool within Ensembl production processing at EBI and we were wondering if it's possible per configuration to enable a remote python virtual environment before we run our job command. Currently we are thinking of activating it by default in the remote user's home. But may be there is a simple way to do that from saga side?

Thanks for this great tool!

Marc

andre-merzky commented 3 years ago

Hi Marc, you should be able to use the pre_exec attribute in the job description to load the virtualenv. This is currently not documented as it is not implemented for all backends. Please let us know what backend (batch system) you are using, and we make sure that it gets supported quickly.

Best, Andre.