From ea93a556b38ebac9028f9f0015683ec28aa748dc Mon Sep 17 00:00:00 2001 From: Miikka Vaisala Date: Thu, 20 Aug 2020 13:47:09 +0800 Subject: [PATCH] Updated a working mpirun instruction to the readme. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8c970f7..9329a6e 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ Can I use the code even if I don't make my changes public? How do I compile with MPI support? -> Ensure that your MPI implementation has been built with CUDA support and invoke CMake with `cmake -DMPI_ENABLED=ON -DBUILD_SAMPLES=ON ..`. Otherwise the build steps are the same. Assign exactly one process per GPU and run with, for example, `srun --gres=gpu:v100: --ntasks-per-socket= -n -N ./mpitest` or equivalent `mpirun` command. +> Ensure that your MPI implementation has been built with CUDA support and invoke CMake with `cmake -DMPI_ENABLED=ON -DBUILD_SAMPLES=ON ..`. Otherwise the build steps are the same. Assign exactly one process per GPU and run with, for example, `srun --gres=gpu:v100: --ntasks-per-socket= -n -N ./mpitest` or for `mpirun` the command `mpirun -np ./mpitest` works (at least on a GPU node). How do I contribute?