Skip to content

Commit

Permalink
Fix gnu make on Crusher for mpi_gtl_hsa (AMReX-Codes#2857)
Browse files Browse the repository at this point in the history
Update environment variable at OLCF for mpi_gtl_hsa.
  • Loading branch information
jrood-nrel committed Jun 28, 2022
1 parent 21fe4b3 commit d2cb546
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tools/GNUMake/sites/Make.olcf
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ ifeq ($(which_computer),spock)
endif
# for gpu aware mpi
ifeq ($(USE_HIP),TRUE)
LIBRARIES += $(PE_MPICH_GTL_DIR_gfx908) -lmpi_gtl_hsa
LIBRARIES += $(PE_MPICH_GTL_DIR_amd_gfx908) -lmpi_gtl_hsa
endif
endif
endif
Expand All @@ -80,7 +80,7 @@ ifeq ($(which_computer),crusher)
endif
# for gpu aware mpi
ifeq ($(USE_HIP),TRUE)
LIBRARIES += -lmpi_gtl_hsa
LIBRARIES += $(PE_MPICH_GTL_DIR_amd_gfx90a) -lmpi_gtl_hsa
endif
endif
endif

0 comments on commit d2cb546

Please sign in to comment.