Python Environment Carrying Over to Jobs

Viewed 38

I am trying to run a software package developed that has some dependencies such as numpy on a cluster. My issue seems to be with the python environment. I have set up the environment correctly for myself locally two ways, one just with the standard python for the cluster, and then another within a virtualenv.

If I run python on the cluster, I can immediately import the required modules for the code to run, however as soon as I try to run this via a jobfile, the import issues arise. I have even sourced the virtualenv, and called which python in the jobfile to make sure it's the right environment, and it is, however import issues still arise. Does anyone have any clue if there is something I am missing?

FWIW for other people on the cluster it is working just fine, and I have even tried copying/sourcing exactly all of their environment variables, but it is not working for me. Any advice or things to check on would be greatly appreciated!

0 Answers
Related