Now that we’ve built a cluster, let’s install MPAS:
We’re going to install MPAS on the HeadNode, we’re able to do this as the architecture of the HeadNode instance type,
c6a.2xlarge, matches the compute nodes so Spack does the correct microarchitecture detection. In most other cases it makes sense to install on compute nodes.
spack install -j $(nproc) mpas-model%intel^intel-oneapi-mpi+external-libfabric^parallelio+pnetcdf
spack install -j $(nproc) mpas%intel^intel-oneapi-mpi+external-libfabric^parallelio+pnetcdf tells Spack to install MPAS using the latest version in the Spack recipe. It passes some build flags:
||Compile with all cores on the instance.|
||Specify the Intel Compiler (icc) we installed in e. Install Intel Compilers.|
||Uses Intel MPI which we added in e. Install Intel MPI|
||Build and use Parallel IO with PnetCDF support|
This will take about 3 minutes to install. While that’s installing feel free to advance to the next step and pull down the supercell test case.