Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
I finally understood what this function is good for
[simgrid.git] / include / smpi / smpif.h.in
index 915d13e..bbcb661 100644 (file)
@@ -17,7 +17,7 @@
 #include <smpi/smpi.h>
 #include <f2c.h>
 
-XBT_PUBLIC(int) smpi_current_rank;
+XBT_PUBLIC_DATA(__thread int) smpi_current_rank;
 
 XBT_PUBLIC(int) smpi_process_argc(void);
 XBT_PUBLIC(int) smpi_process_getarg(integer* index, char* dst, ftnlen len);