Skip to content

Commit c39dabf

Browse files
committed
Don't explicitly map MPI rank to GPU
1 parent 2772a60 commit c39dabf

File tree

4 files changed

+0
-37
lines changed

4 files changed

+0
-37
lines changed

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,6 @@ Running
241241
-------
242242
No extra run-time options are needed to run the GPU enabled ecWam. Please note that this means that if ecWam is built
243243
using the `--with-loki` and `--with-acc` bundle arguments, it will necessarily be offloaded for GPU execution.
244-
For multi-GPU runs, the number of GPUs maps to the number of MPI ranks. Thus multiple GPUs can be requested by
245-
launching with multiple MPI ranks. The mapping of MPI ranks to GPUs assumes at most 4 GPUs per host node.
246244

247245
Environment variables
248246
---------------------

src/ecwam/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ list( APPEND ecwam_srcs
269269
w_mode_st.F90
270270
w_pdf.F90
271271
w_pmax.F90
272-
wam_init_gpu_mod.F90
273272
wam_multio_mod.F90
274273
wam_nproma.F90
275274
wam_sorti.F90

src/ecwam/wam_init_gpu_mod.F90

-30
This file was deleted.

src/ecwam/wvwaminit.F90

-4
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,6 @@ SUBROUTINE WVWAMINIT (LLCOUPLED, IULOG, LLRNL, &
8989
IRANK = MPL_MYRANK()
9090
NPROC = MPL_NPROC()
9191

92-
#if defined(WAM_GPU)
93-
CALL WAM_INIT_GPU(IRANK)
94-
#endif
95-
9692
! STANDARD OUTPUT UNIT
9793
! --------------------
9894

0 commit comments

Comments
 (0)