-
Notifications
You must be signed in to change notification settings - Fork 26
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
Work with Environment Modules 4 on Gadi #209
Comments
The proximate cause of this issue is that the module environment variables are not consistent with how they're configured on On raijin the following environment variables are set:
on
Without a code change the above issue is solved by setting
I think this should be the first fix, but a code fix to extract |
Once the above issue was solved another error occurred:
This is due to
Presumably the solution is to recompile on |
Not sure if this is helpful or a distraction, but much of this code was based on an init script provided by the package:
It looks like the new script is here:
If you can get that path sorted out, say |
In
when I got the error reported above. I am running again to double check. My
|
|
Hi @penguian, That error suggests there is no model: access-om2 line in your https://github.com/COSIMA/1deg_jra55_ryf/blob/master/config.yaml#L12 I guess you know you're running |
I tried again, and now the result is
|
I have managed to successfully run an @penguian can you try altering your |
The result is:
Perhaps I have misconfigured? |
That code branch is only called if Line 40 in 89375e9
Can you set this and try again?
|
The result is:
|
In the |
Yep, but Line 25 in 89375e9
|
No, that is |
You're right, sorry. So you don't have |
It is because |
On Raijin, the script |
Looging in to Gadi, I see:
That is |
I succeeded in starting the model by setting:
in
See (FYI, but not relevant to payu: I also copied |
This fix only worked for Paul's work-around
ensures the environment is fully populated, so it works in that case. This needs a another fix to properly populate the PBS environment with module environment variables. |
Today I tried running on Gadi. Building succeeded. Unfortunately, I was unable to run the 1deg_jra55_ryf experiment. The error in payu/envmod.py line 40 is
This error is essentially because payu is written for Environment Modules version 3.2.6 on Rajin, and the version of Environment Modules on Gadi is 4.3.0. This version of Environment Modules is backwards incompatible with version 3.2.6. See https://modules.readthedocs.io/en/latest/diff_v3_v4.html
Therefore payu needs to be changed to be compatible with Environment Modules version 4, in particular the current configuration on Gadi. It may also be possible that the configuration of Environment Modules on Gadi could change.
See also pull request #128 and issue #200.
The text was updated successfully, but these errors were encountered: