MetOffice / ngmo-environments

Next Generation Environments for Momentum®
BSD 3-Clause "New" or "Revised" License
7 stars 4 forks source link

Add sanity check #10

Open hiker opened 6 days ago

hiker commented 6 days ago

While admittedly the documentation contained all the details, when installing this on different machines I ran into some issues that a top level script could pick up early:

I also noticed that some unnecessary(?) packages got compiled by spack, e.g. subversion?

Maybe we could trigger the bootstrap script automatically (or combine this), e.g. if no conda, install conda, if no spack, install spack, check spack version and (not sure what to do if the version is wrong ... install correct version??), ...

hiker commented 5 days ago

Given #9 , we should likely also require that a compiler is specified with version number (i.e. not only gcc, but gcc@13.2).