Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
43a1f9bb9727e4d795ee7fe09d94b1b16eaea204
[simgrid.git] / include / smpi / smpif.h
1 /* Copyright (c) 2007, 2008, 2009, 2010. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #ifndef SMPIF_H
8 #define SMPIF_H
9
10 #include "gras_config.h" //For HAVE_SMPI_F2C_H
11
12 #ifdef HAVE_SMPI_F2C_H
13         #undef min //Need because first def in xbt.h
14         #undef max //Need because first def in xbt.h
15         #include <f2c.h>
16 #endif
17
18 #include <xbt/misc.h>
19
20 XBT_PUBLIC(int) smpi_process_argc(void);
21 XBT_PUBLIC(int) smpi_process_getarg(integer* index, char* dst, ftnlen len);
22 XBT_PUBLIC(int) smpi_global_rank(void);
23 XBT_PUBLIC(int) smpi_global_size(void);
24
25 #endif