Mr Hermann Schwärzler,
We use srun and spack for running our Fortran based hydro models.
We discovered mpirun would run the model, but found it really slow.
So we used srun. To get srun to work with Intel-Mpi, we had to tell spack via
compilers.yaml where the spack libmpi libraries are located. After
this, we installed the intel-mpi packages and the other dependancies.
YAML: lines 13-18
environment:
prepend_path:
LD_LIBRARY_PATH: '/opt/intel/oneapi/compiler/2022.1.0/linux/compiler/lib/intel64_lin'
set:
I_MPI_PMI_LIBRARY: '/opt/slurm/lib/libpmi.so'
Here is a reference:
https://github.com/NOAA-EMC/spack-stack/blob/develop/configs/sites/aws-pcluster/compilers.yaml
--
Theodore Knab
Annapolis Linux Users Group
Nearby Annapolis, Maryland United States of America
--------------
Life is like riding a unicycle. To keep your balance you must keep moving.