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
I retracted back to the original code for the number of cuboids, however, the number of cuboids is set to one after running the code.
const int noOfCuboids = 2*singleton::mpi().getSize();
#else // ifdef PARALLEL_MODE_MPI
const int noOfCuboids = 1;
#endif // ifdef PARALLEL_MODE_MPI
Also, the command #SBATCH –tasks-per-node=8 was added to the SLURM script. It didn’t make any difference.
I observe that the issue stems from the mpi process. There is something not syncing between the mpi process or ranks with the Slurm script. I would appreciate your feedback.