Open aidanheerdegen opened 2 years ago
Hello @aidanheerdegen! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
payu/envmod.py
:Line 106:5: E722 do not use bare 'except'
payu/experiment.py
:Line 785:80: E501 line too long (83 > 79 characters)
payu/schedulers/slurm.py
:Line 50:80: E501 line too long (83 > 79 characters)
This is a place-holder to make it easier to find and focus attention on what is required to port to magnus @ pawsey. Some of the changes are only to get it working, and aren't intended to be merged into master
.
Wrap ldd in try/except as executables on pawsey seem to be statically linked. Also for the same reason don't assume LD_LIBRARY_PATH is set.
Commented out call to load_modules. Pawsey has a lot of default modules that it relies on, so can't reliably monkey with that.
Removed a couple of the bespoke flags Marshall added to the slurm scheduler, and also explicitly pass through the PAYU environment variables. Also set in the current environment, but that didn't seem to make it through to the submitted job.
Closes #323