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 MET #29

Open
rbeucher opened this issue Jul 19, 2023 · 9 comments
Open

Spack Package for MET #29

rbeucher opened this issue Jul 19, 2023 · 9 comments
Assignees

Comments

@rbeucher
Copy link
Member

I need to install METPlus which is a wrapper on MET. MET needs to be installed on NCI Gadi and I was wondering if someone could have a look at that.

See ACCESS-NRI/METPlus-workflow#1

Thanks!

Romain

@rbeucher
Copy link
Member Author

rbeucher commented Jul 20, 2023

@harshula would you have time to get me through a SPACK crash course so I can see how much work is needed there?

@rbeucher
Copy link
Member Author

After a discussion with @aidanheerdegen, I think having someone from MED pair up with someone from the release team on this would be good. @max-anu ?

Here is the link to the MET documentation. METPlus is the python wrapper that we will use to call MET.

@harshula
Copy link
Collaborator

Had a chat about this last week. Looks like the dependencies are already in Spack. If the METPlus build system is good, a simple SPD should be sufficient.

@rbeucher
Copy link
Member Author

Thanks @harshula, Would be great if you could show @max-anu how it is done.

@harshula
Copy link
Collaborator

Hi @max-anu ,

  • The quickest way to get a feel for Spack is to build access-om2. The instructions are: Develop Spack build infrastructure ACCESS-OM2#6 (comment)
  • Then, have a look at the spack_packages git repository that was cloned in the aforementioned instructions. In particular have a look at libaccessom2 and oasis3-mct. They represent two extremes of what needs to be done if the source tarball has a good vs bad build system.
  • Make sure you understand the source tarball built system well before starting to work on the Spack Package Definition (SPD). AKA package.py.

@aidanheerdegen
Copy link
Member

We should also check this hasn't already been done by the Bureau. @ScottWales have you built METplus with spack already?

@ScottWales
Copy link
Contributor

Yes, there's a recipe in the spack-environments repository, and a container available on Gadi - https://forum.access-hive.org.au/t/metplus-5-0-available-at-nci/810

@aidanheerdegen
Copy link
Member

Thanks @ScottWales

@rbeucher
Copy link
Member Author

Thanks @ScottWales.

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

5 participants