Open SorooshMani-NOAA opened 1 year ago
One thing to note based on spack
documentation is that it's better usually to use HPC provided mpi
(see https://spack.readthedocs.io/en/latest/getting_started.html#mpi) which means binding system paths and libraries and building the image on each system separately. However that's not possible since building singularity images require sudo
access which we don't have on a normal HPC environment!
I was able to setup an empty (no schism yet) singularity
image with spack
installing compilers and ompi (still learning) following: https://spack.readthedocs.io/en/latest/containers.html
Specifically since different
openmpi
versions are installed on different machines, maybe it makes sense to use specific versions usingspack
instead of relying onapt
version ofopenmpi
.