Skip to content

Commit

Permalink
Don't explicitly map MPI rank to GPU
Browse files Browse the repository at this point in the history
  • Loading branch information
awnawab committed Sep 16, 2024
1 parent 2772a60 commit 08d3afd
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 38 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,6 @@ Running
-------
No extra run-time options are needed to run the GPU enabled ecWam. Please note that this means that if ecWam is built
using the `--with-loki` and `--with-acc` bundle arguments, it will necessarily be offloaded for GPU execution.
For multi-GPU runs, the number of GPUs maps to the number of MPI ranks. Thus multiple GPUs can be requested by
launching with multiple MPI ranks. The mapping of MPI ranks to GPUs assumes at most 4 GPUs per host node.

Environment variables
---------------------
Expand Down
1 change: 0 additions & 1 deletion src/ecwam/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,6 @@ list( APPEND ecwam_srcs
w_mode_st.F90
w_pdf.F90
w_pmax.F90
wam_init_gpu_mod.F90
wam_multio_mod.F90
wam_nproma.F90
wam_sorti.F90
Expand Down
30 changes: 0 additions & 30 deletions src/ecwam/wam_init_gpu_mod.F90

This file was deleted.

5 changes: 0 additions & 5 deletions src/ecwam/wvwaminit.F90
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ SUBROUTINE WVWAMINIT (LLCOUPLED, IULOG, LLRNL, &

USE MPL_MODULE, ONLY : MPL_MYRANK, MPL_NPROC
USE YOMHOOK , ONLY : LHOOK, DR_HOOK, JPHOOK
USE WAM_INIT_GPU_MOD, ONLY : WAM_INIT_GPU

! ----------------------------------------------------------------------
IMPLICIT NONE
Expand Down Expand Up @@ -89,10 +88,6 @@ SUBROUTINE WVWAMINIT (LLCOUPLED, IULOG, LLRNL, &
IRANK = MPL_MYRANK()
NPROC = MPL_NPROC()

#if defined(WAM_GPU)
CALL WAM_INIT_GPU(IRANK)
#endif

! STANDARD OUTPUT UNIT
! --------------------

Expand Down

0 comments on commit 08d3afd

Please sign in to comment.