X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/81e2987ceb9329c50f0ac8109504aa5c784071e2..9057629f7aba48aee7f7c2530a90b61d7514584f:/src/smpi/smpi_bench.c diff --git a/src/smpi/smpi_bench.c b/src/smpi/smpi_bench.c index 76bc4382b7..5193693ab4 100644 --- a/src/smpi/smpi_bench.c +++ b/src/smpi/smpi_bench.c @@ -622,7 +622,7 @@ void smpi_really_switch_data_segment(int dest) { #ifdef HAVE_PRIVATIZATION int i; if(smpi_loaded_page==-1){//initial switch, do the copy from the real page here - for (i=0; i< SIMIX_process_count(); i++){ + for (i=0; i< smpi_process_count(); i++){ memcpy(smpi_privatisation_regions[i].address, TOPAGE(smpi_start_data_exe), smpi_size_data_exe); } @@ -665,7 +665,7 @@ void smpi_initialize_global_memory_segments(){ smpi_privatisation_regions = (smpi_privatisation_region_t) malloc( smpi_process_count() * sizeof(struct s_smpi_privatisation_region)); - for (i=0; i< SIMIX_process_count(); i++){ + for (i=0; i< smpi_process_count(); i++){ //create SIMIX_process_count() mappings of this size with the same data inside void *address = NULL; char path[] = "/dev/shm/my-buffer-XXXXXX";