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

Update configurations to module load the model #142

Open
jo-basevi opened this issue Sep 25, 2024 · 1 comment
Open

Update configurations to module load the model #142

jo-basevi opened this issue Sep 25, 2024 · 1 comment

Comments

@jo-basevi
Copy link
Collaborator

Currently the payu configuration executables use a full path:

exe: /g/data/vk83/apps/spack/0.20/release/linux-rocky8-x86_64/intel-19.0.5.281/libaccessom2-git.2023.10.26=2023.10.26-ltfg7jcn6t4cefotvj3kjnyu5nru26xo/bin/yatm.exe

Payu now supports finding model executables from loaded model modules. In access-esm1.5-configs configurations have already set this up (see https://github.com/ACCESS-NRI/access-esm1.5-configs/blob/475e222cd37aa3e0bdec384058cf2684e632dd7b/config.yaml#L24-L29)

For example the config.yaml might look something like the following:

# Modules for loading model executables
modules:
  use:
      - /g/data/vk83/modules
  load:
      - access-om2/2024.03.0

The fullpath executables would be just the filename, e.g.:

exe: yatm.exe

The QA tests were updated to check the executable paths (ACCESS-NRI/model-config-tests#18) so the version of model-config-tests will need to be updated in CI configuration file:

"model-config-tests-version": "0.0.1",

@harshula
Copy link

Hi @atteggiani ^

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

2 participants