00001 // "node.h" 00002 00003 // (c) OPAC Team, LIFL, August 2005 00004 00005 /* 00006 Contact: paradiseo-help@lists.gforge.inria.fr 00007 */ 00008 00009 #ifndef __node_h 00010 #define __node_h 00011 00012 #include <string> 00013 #include <cassert> 00014 00015 extern int getNodeRank (); /* It gives the rank of the calling process */ 00016 00017 extern int getNumberOfNodes (); /* It gives the size of the environment (Total number of nodes) */ 00018 00019 extern int getRankFromName (const std :: string & __name); /* It gives the rank of the process 00020 expressed by its name */ 00021 00022 extern void initNode (int * __argc, char * * * __argv); 00023 00024 #endif