Uh oh!
There was an error while loading. Please reload this page.
Don't export the user's environment to the job - #159
Conversation
coveralls
commented
Feb 10, 2017
bartvm
commented
Feb 10, 2017
@mgermain Test away. |
bartvm
commented
Feb 17, 2017
@mgermain Ping. |
mgermain
commented
Feb 17, 2017
@bartvm working on one cluster, not working on the other. Haven't had the time to investigate why yet. |
bartvm
commented
Feb 17, 2017
Do you get an error? Or does it just not restart? |
mgermain
commented
Feb 22, 2017
Without the -V on Mammouth some part of the environment is not loaded. |
bartvm
commented
Feb 22, 2017
That's the entire point of the flag, no? But smart-dispatch shouldn't rely on the environment as set outside of the job. What environment variable does it try to access? |
mgermain
commented
Feb 23, 2017
No, the point of the flag is to not copy the current environment. It does not try to access anything, I just saw that some modules are missing when -V is used. I have to investigate why. |
bartvm
commented
Feb 23, 2017
That sounds weird... |
Fixes#157.
Currently the user's entire environment is exported. This is bad
practice because it makes jobs hard to reproduce and debug, and in some
cases it can even cause errors. The only variable that needs to be
exported is
PBS_FILENAME, which is used by the auto-resume script.