X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fb5dcd3589886a5f3845bbdd77fab5edbb82a842..1b026ccb35d517964a3c60f31cf2297b5c75b4c0:/src/smpi/plugins/ampi/ampi.cpp diff --git a/src/smpi/plugins/ampi/ampi.cpp b/src/smpi/plugins/ampi/ampi.cpp index ee73975b60..40bab092d8 100644 --- a/src/smpi/plugins/ampi/ampi.cpp +++ b/src/smpi/plugins/ampi/ampi.cpp @@ -30,7 +30,7 @@ extern "C" void* _sampi_malloc(size_t size) extern "C" void _sampi_free(void* ptr) { size_t alloc_size = alloc_table.at(ptr); - int my_proc_id = simgrid::s4u::this_actor::get_pid(); + aid_t my_proc_id = simgrid::s4u::this_actor::get_pid(); memory_size[my_proc_id] -= alloc_size; xbt_free(ptr); } @@ -91,7 +91,7 @@ int APMPI_Iteration_out(MPI_Comm comm) void APMPI_Migrate(MPI_Comm comm) { smpi_bench_end(); - int my_proc_id = simgrid::s4u::this_actor::get_pid(); + aid_t my_proc_id = simgrid::s4u::this_actor::get_pid(); TRACE_migration_call(comm->rank() + 1, new simgrid::instr::AmpiMigrateTIData(memory_size[my_proc_id])); smpi_bench_begin(); }