Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passing entire environment causes error with payu run numbering #227

Closed
aidanheerdegen opened this issue Feb 13, 2020 · 0 comments
Closed

Comments

@aidanheerdegen
Copy link
Collaborator

There were issues with porting payu to the new NCI HPC system gadi, as it uses a newer version of the module system, documented in #209 #211

One work-around was to export all the current environment to the PBS job by adding -V to qsub_flags.

This solved the immediate issue. Another user was having problems with payu trying to re-run the just completed run when invoked with -n. The error was sporadic and difficult to reproduce, but it turns out it was due to exporting the current environment to the next run. As payu uses environment variables to do inter-process communication of information like the current run number, exporting the entire environment to the PBS process was a bad idea.

I have made this issue to simply document the problem with this approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant