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
Access to SIMIX data without resorting to a request (and thus do not rely specificall...
[simgrid.git]
/
include
/
smpi
/
smpif.h.in
diff --git
a/include/smpi/smpif.h.in
b/include/smpi/smpif.h.in
index
156c9ea
..
890712b
100644
(file)
--- a/
include/smpi/smpif.h.in
+++ b/
include/smpi/smpif.h.in
@@
-7,11
+7,18
@@
#ifndef SMPIF_H
#define SMPIF_H
#ifndef SMPIF_H
#define SMPIF_H
+#cmakedefine HAVE_F2C_H @HAVE_SMPI_F2C_H@
+
+#ifndef HAVE_F2C_H
+#error F2C is mandatory
+#endif
+
#include <xbt/misc.h>
#include <xbt/misc.h>
+#include <smpi/smpi.h>
+#include <f2c.h>
XBT_PUBLIC(int) smpi_process_argc(void);
XBT_PUBLIC(int) smpi_process_argc(void);
-XBT_PUBLIC(int) smpi_process_getarg(int* index, char* dst, size_t len);
-XBT_PUBLIC(int) smpi_global_rank(void);
+XBT_PUBLIC(int) smpi_process_getarg(integer* index, char* dst, ftnlen len);
XBT_PUBLIC(int) smpi_global_size(void);
#endif
XBT_PUBLIC(int) smpi_global_size(void);
#endif