Skip to content

Commit e9ece39

Browse files
committed
Crusher: Use GPU buffers in MPI.
Now that Lustre is active on Crusher, try GPU buffers again. Temporarily disable ADIOS because there appears to be a conflict between the current ADIOS libs and module craype-accel-amd-gfx90a that manifests as a link error in the SCORPIO build phase.
1 parent 61b77c2 commit e9ece39

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

cime_config/machines/cmake_macros/crayclang-scream_crusher-scream-gpu.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ endif()
77

88
string(APPEND SLIBS " -L$ENV{PNETCDF_PATH}/lib -lpnetcdf")
99
if (NOT MPILIB STREQUAL mpi-serial)
10-
string(APPEND SLIBS " -L$ENV{ADIOS2_DIR}/lib64 -ladios2_c_mpi -ladios2_c -ladios2_core_mpi -ladios2_core -ladios2_evpath -ladios2_ffs -ladios2_dill -ladios2_atl -ladios2_enet")
10+
#string(APPEND SLIBS " -L$ENV{ADIOS2_DIR}/lib64 -ladios2_c_mpi -ladios2_c -ladios2_core_mpi -ladios2_core -ladios2_evpath -ladios2_ffs -ladios2_dill -ladios2_atl -ladios2_enet")
1111
endif()
1212
set(NETCDF_PATH "$ENV{NETCDF_DIR}")
1313
set(PNETCDF_PATH "$ENV{PNETCDF_DIR}")
@@ -32,4 +32,4 @@ endif()
3232

3333
string(APPEND CPPDEFS " -DCPRCRAY")
3434

35-
set(SCREAM_MPI_ON_DEVICE OFF CACHE STRING "See SCREAM issue #2080.")
35+
#set(SCREAM_MPI_ON_DEVICE OFF CACHE STRING "See SCREAM issue #2080.")

cime_config/machines/config_machines.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@
855855
<command name="reset"></command>
856856
<command name="load">PrgEnv-cray</command>
857857
<!-- See SCREAM issue #2080. -->
858-
<!--command name="load">craype-accel-amd-gfx90a</command-->
858+
<command name="load">craype-accel-amd-gfx90a</command>
859859
<command name="load">rocm/5.1.0</command>
860860
</modules>
861861
<modules>
@@ -879,7 +879,7 @@
879879
<env name="PNETCDF_PATH">$ENV{PNETCDF_DIR}</env>
880880
<env name="MPIR_CVAR_GPU_EAGER_DEVICE_MEM">0</env>
881881
<!-- See SCREAM issue #2080. -->
882-
<env name="MPICH_GPU_SUPPORT_ENABLED">0</env>
882+
<env name="MPICH_GPU_SUPPORT_ENABLED">1</env>
883883
<env name="PNETCDF_HINTS">romio_cb_read=disable</env>
884884
</environment_variables>
885885

@@ -888,9 +888,9 @@
888888
<env name="OMP_PROC_BIND">spread</env>
889889
<env name="OMP_PLACES">threads</env>
890890
</environment_variables>
891-
<environment_variables compiler="crayclang-scream" mpilib="mpich">
891+
<!--environment_variables compiler="crayclang-scream" mpilib="mpich">
892892
<env name="ADIOS2_DIR">/lustre/orion/cli133/world-shared/3rdparty/adios2/2.8.3.patch/cray-mpich-8.1.17/crayclang-14.0.2</env>
893-
</environment_variables>
893+
</environment_variables-->
894894
</machine>
895895

896896

0 commit comments

Comments
 (0)