E3SM-Project / e3sm-unified

A metapackage for a unified anaconda environment for analyzing results from the Energy Exascale Earth System Model (E3SM).
BSD 3-Clause "New" or "Revised" License
8 stars 8 forks source link

Adds singularity definition file #43

Closed sterlingbaldwin closed 5 years ago

sterlingbaldwin commented 5 years ago

This is a Singularity definition file to create a container image with conda and install most of the e3sm-unified packages.

xylar commented 5 years ago

@sterlingbaldwin, can you give me some instructions on how I would test this on my laptop? If that's even possible? Or maybe on one of the E3SM supported machines?

sterlingbaldwin commented 5 years ago

I was running this from a centOS VM on my laptop, but havent tried it yet from any "real" machine yet. The next version of Singularity is supposed to have osx support, but for the time being its linux only. Im not sure which centers support Singularity but Im told that it should be possible to run on blues at lcrc.

I was thinking that I could just come up with a definition file for each flavor of container since there seams to be no consensus between the LCFs on what they want to support. Ideally there can be some CI build system that will rebuild the images when the definition files change.

rljacob commented 5 years ago

Singularity is on anvil, ALCF and OLCF machines.

xylar commented 5 years ago

Thanks @sterlingbaldwin and @rljacob. I'm unfamiliar enough with singularity that I'd prefer not to install it on my laptop (though it's linux, so presumably possible). But once you have step-by-step testing instructions for anvil or wherever you suggest I test, please post them here.

xylar commented 5 years ago

@sterlingbaldwin and @rpwagner, was this PR made obsolete by #48?