MikeDacre / fyrd

Submit functions and shell scripts to torque and slurm clusters or local machines using python.
https://fyrd.science
MIT License
22 stars 8 forks source link

Add possiblility to set path to slurm executables #65

Closed mke21 closed 7 years ago

mke21 commented 7 years ago

Fyrd supposes that the slurm tools (sbatch etc.) are on the system PATH. If they are not, fyrd goes into the local mode. But sometimes this is not the case, f.i. if you are using fyrd in a daemon script (systemd), the path is maybe not already set correctly. It would be nice to set the path to the executables in the config if possible instead of relying on the PATH environment variable.

MikeDacre commented 7 years ago

That seems reasonable, I will add this in the next few days. Thanks

MikeDacre commented 7 years ago

This is now fixed in dev, I will push the changes to master later, but you can go ahead and use the dev branch now, it is stable, I never work on new features on that branch, it only contains tested edits.

mke21 commented 7 years ago

Thanks!