Reply To: Multi-GPU usage issue
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Multi-GPU usage issue › Reply To: Multi-GPU usage issue
November 8, 2022 at 10:44 am
#6958
Adrian
Keymaster
Just to confirm: You used the config/gpu_openmpi.mk
example config?
How exactly did you launch the application and how did you assign each process a single GPU? (Following the comments from the example config)
Usage on a multi GPU system: (recommended when using MPI, use non-MPI version on single GPU systems)
– Run `mpirun -np 4 bash -c ‘export CUDA_VISIBLE_DEVICES=${OMPI_COMM_WORLD_LOCAL_RANK}; ./cavity3d’
(for a 4 GPU system, further process mapping advisable, consult cluster documentation)
- This reply was modified 1 year, 10 months ago by Adrian.