Skip to content

Reply To: Multi-GPU usage issue

#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, 4 months ago by Adrian.