payu-org / payu

A workflow management tool for numerical models on the NCI computing systems
Apache License 2.0
19 stars 26 forks source link

Problematic hardcoded relative path to modulescmd executable #329

Open micaeljtoliveira opened 2 years ago

micaeljtoliveira commented 2 years ago

While running the regression tests locally on my laptop, one test fails because payu assumes that the modulescmd executable is located in $MODULESHOME/bin, which is not the case for all the linux distros (e.g., Debian and Ubuntu). Obviously not a problem when running on Gadi, but could be annoying for someone else trying to use payu in a different machine.

PS: The CI does not see the problem because no environment modules are installed in the Ubuntu image being used.

aidanheerdegen commented 2 years ago

Thanks @micaeljtoliveira

There are a couple of other issues related to porting to other machines so I've made a specific label for that as it is highly desirable.

Having said which, running payu on a laptop is nothing something I ever imagined, so good to have my mind expanded.