Commit 7eef4072 authored by Vít Hanousek's avatar Vít Hanousek
Browse files

Fix build without MPI

parent e7a399b9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -295,6 +295,7 @@ class MpiCommunicator

      static void selectGPU(void)
      {
#ifdef HAVE_MPI
    #ifdef HAVE_CUDA
        	int count,rank, gpuCount, gpuNumber;
            MPI_Comm_size(MPI_COMM_WORLD,&count);
@@ -329,6 +330,7 @@ class MpiCommunicator

            //std::cout<<"Node: " << rank << " gpu: " << gpuNumber << std::endl;
 
    #endif
#endif
      }