Commit b291407e authored by Giovanni Lacopo's avatar Giovanni Lacopo
Browse files

Avoid compile issues without -fopenmp

parent 7259201f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -80,7 +80,13 @@ int reduce_ring (int target_rank)

 #pragma omp parallel num_threads(2)
  {

   #ifdef _OPENMP
    int thid         = omp_get_thread_num();
   #else
    int thid         = 0;
   #endif
    
    int Ntasks_local = Me.Ntasks[Me.SHMEMl];
    
    if( thid == 1 )