Skip to content

Running GCHP in a container, but still editing the source code? #531

@sjacker2

Description

@sjacker2

Your name

Summer Acker

Your affiliation

University of Illinois Urbana-Champaign

Please provide a clear and concise description of your question or discussion topic.

Hi! My research group (Hannah Horowitz's group) tried to get GCHP running on our campus cluster a couple of years ago, but were having some troubles with spack. See the issue here for reference:

#320

Given that it's been a couple of years, I decided to try again and ran into similar issues, even with an updated spack. I was able to get GCHP to build and compile this time, but once I ran it, it would hang or fail due to incompatibility between the spack OpenMPI and the campus cluster slurm. I then tried creating a new spack environment which used the OpenMPI from the campus cluster and building other necessary modules (i.e. netcdf) off of that in the hopes of it being more compatible. After much other debugging, I'm now at a point where it keeps seg faulting, saying "Program received signal SIGSEGV: Segmentation fault - invalid memory reference." I think there are still some problems with the campus cluster and my environment not agreeing on resource allocation or something similar. We're starting to come to the conclusion that GCHP just isn't compatible with our compute environment still.

I was wondering if anyone had any suggestions for getting GCHP running on a different campus cluster (outside of Harvard or WashU). I know that using singularity is an option, but I heard that it might not be possible to edit the source code of the model while using a container, which my study may require. Has anyone ever had success with editing the source code within a container? Also, is there a specific image that has proved to work well for others (even if not editing source code)?

Any suggestions and guidance would be extremely helpful.

Thank you so much for your advice!

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions