File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -1392,7 +1392,7 @@ class LDASsetup:
13921392 MY_ENSEMBLE_FORCING = self .rqdExeInp .get ('ENSEMBLE_FORCING' , 'NO' ).upper (),
13931393 MY_ADAS_EXPDIR = self .adas_expdir ,
13941394 MY_EXPDIR = self .expdir ,
1395- DETECTED_MPI_STACK = MPI_STACK ,
1395+ DETECTED_MPI_STACK = DETECTED_MPI_STACK ,
13961396 BUILT_ON_SLES15 = BUILT_ON_SLES15
13971397 )
13981398
Original file line number Diff line number Diff line change 6363
6464source $GEOSBIN/g5_modules
6565
66+ setenv MPI_STACK {DETECTED_MPI_STACK}
67+
68+ if ( ${{MPI_STACK}} == "openmpi" ) then
69+
6670# OPENMPI flags
6771# Turn off warning about TMPDIR on NFS
6872setenv OMPI_MCA_shmem_mmap_enable_nfs_warning 0
8185# disable file locks
8286setenv OMPI_MCA_sharedfp "^lockedfile,individual"
8387
84- setenv BUILT_ON_SLES15 = {BUILT_ON_SLES15}
88+ else if ( ${{MPI_STACK}} == "intelmpi" ) then
89+
90+ setenv BUILT_ON_SLES15 {BUILT_ON_SLES15}
8591
8692if ( ${{BUILT_ON_SLES15}} == TRUE ) then
8793setenv I_MPI_FABRICS shm:ofi
8894setenv I_MPI_OFI_PROVIDER psm3
89- endif
95+ endif # BUILT_ON_SLES15
96+
97+ endif # MPI_STACK
9098
9199# By default, ensure 0-diff across processor architecture by limiting MKL's freedom to pick algorithms.
92100# As of June 2021, MKL_CBWR=AVX2 is fastest setting that works for both haswell and skylake at NCCS.
You can’t perform that action at this time.
0 commit comments