Spack-stack and UFS-SRW Installation on non-NOAA HPC Systems #1346
|
Hello All, We have been trying to build and install spack-stack and UFS-SRW app on our HPC system following the steps on the user guide's page. So far we haven't been able to install either of them. I also tried the container-based version of UFS-SRW, but that did not work as well. So, I was wondering if anyone here has successfully installed spack-stack and the UFS-SRW app on a non-NOAA HPC system. If so, would you mind sharing your experience with us? |
Replies: 9 comments 1 reply
|
The issue description is vague in that there's nothing specific or concrete with respect to "haven't been able to install" something. I'll only reference @cigdemakan, the following documentation is helpful:
Generally speaking, when creating a set of configuration files for a new host, I'll start with an existing host (see Afer that, it's trial and error with Create local environment to get a concretized environment and stack installation. Once you have a configuration that concretizes and installs, you Load the spack-stack environment and then build your application(s) against that stack. This process will require some patience as it will be repetitive; I would suggest that issues solely relating to |
|
Thank you very much for all the information and sorry for not being very specific. Here is a specific question, container-based UFS-SRW app: |
|
@cigdemakan There are several issues here. Firstly, the SRW App container includes spack-stack in it, last I knew, so there should be no need to build it separately. @EdwardSnyder-NOAA can perhaps confirm that. The modules are there; there's just some kind of disconnect in finding them, unless something has significantly changed with the containers recently. Secondly, the documentation for building the SRW App in a container is here. It includes instructions for what to do on Level 2-4 systems (i.e., non-NOAA systems). For example, you'll likely need to convert the container to a writable sandbox, and make sure that the topmost directory on your system is also added to the container. There may be additional changes required. As you said, you'd probably need to create a |
|
Hi @cigdemakan @gspetro-NOAA - I haven't tried installing the SRW via containers recently, but I have built the various components of the global-workflow, including the weather model, by externalizing the modules from the container and then just setting up my cluster as a new system. This is similar to the approach you would use if you had built spack-stack on your system and then tried to install the model (so not using the containerized version of the SRW-app) without the (severe) challenges of trying to build spack-stack directly. Looking at your original post, if you have found the places where you need to update the SRW config files to find the spack-stack modules on your system then I think that this approach will work for you. If you would like, I have some tutorial slides that I've put together for my own group that I'd be happy to share if you would like. |
|
@gspetro-NOAA thank you very much for the information! The link you shared is the one I was looking at and referring to, and one would definitely need to create a workflow_ file for a new system. @benjamin-cash the tutorial slides would be really helpful - thank you very much in advance! |
|
Here you go! This will take you up through installing the spack-stack modules. I'm afraid I haven't looked into modifying SRW to recognize when it is on a new system yet, but I will probably recognize some of the errors that will crop up when you do. When you inevitably run into an issue with these instructions because I left something out, just let me know what the error was and I will do my best to diagnose. :) |
|
Thank you for the assistance, everyone @gspetro-NOAA @benjamin-cash @rickgrubin-noaa. This discussion has been moved into the SRW repository. Please feel free to come back to this discussion with any updates/questions about your work, @cigdemakan. Any progress you make could definitely help others in the future! |
|
@benjamin-cash thank you very much! I really appreciate it. |
@cigdemakan There are several issues here. Firstly, the SRW App container includes spack-stack in it, last I knew, so there should be no need to build it separately. @EdwardSnyder-NOAA can perhaps confirm that. The modules are there; there's just some kind of disconnect in finding them, unless something has significantly changed with the containers recently. Secondly, the documentation for building the SRW App in a container is here. It includes instructions for what to do on Level 2-4 systems (i.e., non-NOAA systems). For example, you'll likely need to convert the container to a writable sandbox, and make sure that the topmost directory on your system is also added to the container. Ther…