-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release/1.5.1: update site config for Hercules (gnu+mvapich2) (#849)
* Switch Hercules gnu MPI library to mvapich2 * Update doc/source/PreConfiguredSites.rst for release 1.5.1 on Hercules
- Loading branch information
Showing
4 changed files
with
59 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ packages: | |
all: | ||
compiler:: [[email protected], [email protected]] | ||
providers: | ||
mpi:: [[email protected], [email protected]] | ||
mpi:: [[email protected], [email protected]] | ||
|
||
### MPI, Python, MKL | ||
mpi: | ||
|
@@ -13,13 +13,13 @@ packages: | |
prefix: /apps/spack-managed/oneapi-2023.1.0/intel-oneapi-mpi-2021.9.0-a66eaipzsnyrdgaqzxmqmqz64qzvhkse | ||
modules: | ||
- intel-oneapi-mpi/2021.9.0 | ||
openmpi: | ||
mvapich2: | ||
externals: | ||
- spec: [email protected]%[email protected]~cuda~cxx~cxx_exceptions~java~memchecker+pmi~static~wrapper-rpath | ||
fabrics=ucx schedulers=slurm | ||
prefix: /work/noaa/epic/role-epic/spack-stack/hercules/openmpi-4.1.5/gcc-11.3.1 | ||
- spec: [email protected]%[email protected]~cuda~debug~regcache~wrapperrpath process_managers=slurm | ||
prefix: /work/noaa/epic/role-epic/spack-stack/hercules/mvapich2-2.3.7/gcc-11.3.1 | ||
modules: | ||
- openmpi/4.1.5 | ||
- slurm/22.05.8 | ||
- mvapich2/2.3.7 | ||
|
||
### Modifications of common packages | ||
# Version 2.0.8 doesn't compile on Hercules | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#%Module1.0 | ||
|
||
module-whatis "Provides an mvapich2-2.3.7 installation for use with spack and gcc-13.3.1." | ||
|
||
conflict openmpi | ||
conflict mvapich2 | ||
conflict mpi | ||
conflict intel-mpi | ||
conflict intel-oneapi-mpi | ||
|
||
proc ModulesHelp { } { | ||
puts stderr "Provides an mvapich2-2.3.7 installation for use with spack and gcc-13.3.1." | ||
} | ||
|
||
if { [ module-info mode load ] && ![ is-loaded slurm/22.05.8 ] } { | ||
module load slurm/22.05.8 | ||
} | ||
#if { [ module-info mode load ] && ![ is-loaded ucx/1.13.1 ] } { | ||
# module load ucx/1.13.1 | ||
#`} | ||
|
||
# Set this value | ||
set MPICH_PATH "/work/noaa/epic/role-epic/spack-stack/hercules/mvapich2-2.3.7/gcc-11.3.1" | ||
|
||
prepend-path PATH "${MPICH_PATH}/bin" | ||
prepend-path LD_LIBRARY_PATH "${MPICH_PATH}/lib" | ||
prepend-path LIBRARY_PATH "${MPICH_PATH}/lib" | ||
prepend-path CPATH "${MPICH_PATH}/include" | ||
prepend-path CMAKE_PREFIX_PATH "${MPICH_PATH}" | ||
prepend-path MANPATH "${MPICH_PATH}/share/man" | ||
|
||
# Settings specific for Hercules | ||
setenv MPI_ROOT ${MPICH_PATH} | ||
setenv SLURM_MPI_TYPE "pmi2" | ||
setenv MV2_HOMOGENEOUS_CLUSTER "1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters