Skip to content

Commit 7445276

Browse files
Merge pull request #2 from stephenmsachs/load_impi_late
I_MPI_OFI_LIBRARY_INTERNAL is read during `module load impi`
2 parents 6a24745 + b16026e commit 7445276

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

apps/StarCCM/STARCCM_Submit_Server.sbatch

100644100755
+2-2
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
# with libfabric in the install location that uses.
2626

2727

28-
module load intelmpi
2928
# Tell Intel MPI to use external libfabric version with:
3029
export I_MPI_OFI_LIBRARY_INTERNAL=0
30+
module load intelmpi
3131
export I_MPI_FABRICS=shm:ofi
3232
export I_MPI_OFI_PROVIDER=efa
3333
# This is to ensure the correct EFA fabrics are used.
@@ -59,4 +59,4 @@ LICENSEOPTS="-power -podkey ${PODLIC} -licpath [email protected]"
5959
-xsystemlibfabric -ldlibpath /opt/amazon/efa/lib64 \
6060
-fabric OFI \
6161
-server \
62-
${starccm_sim_file} > "${starccm_sim_file%.*}.log" 2>&1
62+
${starccm_sim_file} > "${starccm_sim_file%.*}.log" 2>&1

apps/StarCCM/STARCCM_Submit_Simple.sbatch

100644100755
+2-2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
# with libfabric in the install location that uses.
1919

2020

21-
module load intelmpi
2221
# Tell Intel MPI to use external libfabric version with:
2322
export I_MPI_OFI_LIBRARY_INTERNAL=0
23+
module load intelmpi
2424
export I_MPI_FABRICS=shm:ofi
2525
export I_MPI_OFI_PROVIDER=efa
2626
# This is to ensure the correct EFA fabrics are used.
@@ -52,4 +52,4 @@ LICENSEOPTS="-power -podkey ${PODLIC} -licpath [email protected]"
5252
-xsystemlibfabric -ldlibpath /opt/amazon/efa/lib64 \
5353
-fabric OFI \
5454
-batch ${MACRO} \
55-
${starccm_sim_file} > "${starccm_sim_file%.*}.log" 2>&1
55+
${starccm_sim_file} > "${starccm_sim_file%.*}.log" 2>&1

apps/StarCCM/gpu/STARCCM_GPGPU_Submit.sbatch

100644100755
+2-2
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
# with libfabric in the install location that uses.
2323

2424

25-
module load intelmpi
2625
# Tell Intel MPI to use external libfabric version with:
2726
export I_MPI_OFI_LIBRARY_INTERNAL=0
27+
module load intelmpi
2828
export I_MPI_FABRICS=shm:ofi
2929
export I_MPI_OFI_PROVIDER=efa
3030
# This is to ensure the correct EFA fabrics are used.
@@ -86,4 +86,4 @@ echo Start Time: `date`
8686

8787

8888
echo ========================
89-
echo Finish Time: `date`
89+
echo Finish Time: `date`

0 commit comments

Comments
 (0)