A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
functional implementation of trace replay on top of SMPI.
[simgrid.git]
/
src
/
smpi
/
smpif2c.in
diff --git
a/src/smpi/smpif2c.in
b/src/smpi/smpif2c.in
index 67ebfc3814e12ca319b6840ce1d74a5c8138fbde..bdcbe867e2f81e610a8f6cb78ab7896a77cdd3f4 100755
(executable)
--- a/
src/smpi/smpif2c.in
+++ b/
src/smpi/smpif2c.in
@@
-31,7
+31,7
@@
foreach my $fortran (@ARGV) {
if(/^} (.*?);/) {
$_ = "}* __attribute__((weak)) $1 = NULL;\n";
} elsif(/^#define\s*(\S*)\s*\(?([^.]*)(\..*?)?\)?$/) {
- $_ = "#define $1 $2\[smpi_
process_index()
\]";
+ $_ = "#define $1 $2\[smpi_
current_rank
\]";
if(defined $3) {
$_ .= $3;
}