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

Spack package for ACCESS-ESM1.5 #59

Closed
penguian opened this issue Jan 23, 2024 · 5 comments
Closed

Spack package for ACCESS-ESM1.5 #59

penguian opened this issue Jan 23, 2024 · 5 comments
Assignees

Comments

@penguian
Copy link
Contributor

Create a Spack package for ACCESS-ESM1.5 loosely based on the Makefile in https://github.com/penguian/access-esm-build-gadi . That Makefile uses the following repositories on GitHub:

as well as the following NCI modules:

  • intel-compiler/2019.3.199
  • intel-mkl/2019.3.199
  • netcdf/4.7.1
  • openmpi/4.0.2

and the following modules from ~access/modules:

  • fcm/2019.09.0
  • um

The ACCESS-NRI/cice4, ACCESS-NRI/GCOM, and ACCESS-NRI/UM_v7 repositories are new and are subject to change.

@harshula
Copy link
Collaborator

@penguian
Copy link
Contributor Author

penguian commented Feb 13, 2024

The gcom package build is sufficiently different from the build needed for ESM1.5 that I think that there should be a gcom4 package:

@penguian
Copy link
Contributor Author

Is there any requirement for the ACCESS-ESM1.5 Spack package to build with the gcc compilers? Specifically, the gcom4 package build at version 4.5 does not support gcc. See also Issue #85

@harshula
Copy link
Collaborator

harshula commented May 8, 2024

Naming of the SBD/SPD is constrained by:
https://spack.readthedocs.io/en/latest/packaging_guide.html#package-names
Spack uses the directory name as the package name in order to give packagers more freedom in naming their packages. Package names can contain letters, numbers, and dashes.

https://spack.readthedocs.io/en/latest/packaging_guide.html#package-class-names
Spack loads package.py files dynamically, and it needs to find a special class name in the file for the load to succeed. The class name (Libelf in our example) is formed by converting words separated by - in the file name to CamelCase. If the name starts with a number, we prefix the class name with _.

@harshula
Copy link
Collaborator

@github-project-automation github-project-automation bot moved this from In Progress to Done in ACCESS-ESM1.5 Spack May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants