JCSDA / spack-stack

Creative Commons Zero v1.0 Universal
27 stars 46 forks source link

cannot find `mpiifort` and `mpiicpc` after loading spack-stack-1.6.0 on Gaea #1308

Closed guoqing-noaa closed 4 weeks ago

guoqing-noaa commented 1 month ago

Describe the bug After loading the spack-stack-1.6.0 on Gaea (either C5 or C6), we can not find mpiifort and mpiicpc

To Reproduce

module use /ncrc/proj/epic/spack-stack/spack-stack-1.6.0/envs/unified-env/install/modulefiles/Core
module load stack-intel/2023.1.0
module use stack-cray-mpich/8.1.25
which mpiifort

Expected behavior we should be able to find mpiifort and mpiicpc using the which command

System: Gaea C5 or C6

Additional context It looks like spack-stack-1.6.0 on Gaea is using intel-classic/2023.1.0 not intel-oneapi

RatkoVasic-NOAA commented 1 month ago

I'll take a look into this.

RatkoVasic-NOAA commented 1 month ago

@guoqing-noaa , cray's MPI wrapper is called mpifort not mpiifort. Also you have mpicc and mpicxx.

guoqing-noaa commented 1 month ago

Thanks @RatkoVasic-NOAA! I will make changes and try to build my app and then update here.

guoqing-noaa commented 4 weeks ago

Problem sovled and close the issue. Thanks!