X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/afa5e4f04e0a44b38ff45f846264d43da33fc40f..daf533bcb25008af1fe9992c3a924121e56a8328:/src/smpi/smpif2c.in diff --git a/src/smpi/smpif2c.in b/src/smpi/smpif2c.in index 296ca198b0..1d6c4d0703 100755 --- a/src/smpi/smpif2c.in +++ b/src/smpi/smpif2c.in @@ -30,7 +30,7 @@ foreach my $fortran (@ARGV) { if(/^} (.*?);/) { $_ = "}* __attribute__((weak)) $1 = NULL;\n"; } elsif(/^#define\s*(\S*)\s*\(?([^.]*)(\..*?)?\)?$/) { - $_ = "#define $1 $2\[smpi_global_rank()\]"; + $_ = "#define $1 $2\[smpi_process_index()\]"; if(defined $3) { $_ .= $3; }