Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Yet another dlopen merge
[simgrid.git] / src / mc / remote / Client.cpp
index 7cc5127..9759c21 100644 (file)
@@ -232,7 +232,7 @@ void Client::declareStack(void* stack, size_t size, smx_actor_t process, ucontex
   region.size    = size;
   region.block   = ((char*)stack - (char*)heap->heapbase) / BLOCKSIZE + 1;
 #if HAVE_SMPI
-  if (smpi_privatize_global_variables && process)
+  if (smpi_privatize_global_variables == SMPI_PRIVATIZE_MMAP && process)
     region.process_index = smpi_process_index_of_smx_process(process);
   else
 #endif