- CUDA-Aware MPI
$ ompi_info --parsable --all | grep mpi_built_with_cuda_support:value
It should return true
$ ompi_info --all | grep btl_openib_have_cuda_gdr
$ ompi_info --all | grep btl_openib_have_driver_gdr
It should return true
$ mpirun -n 2 --allow-run-as-root ./cuda_mpi_sendrecv
OR:
$ mpirun -n 2 --mca btl_openib_want_cuda_gdr 1 ./cuda_mpi_sendrecv