endif(enable_gtnets)
if(enable_smpi)
include(FindF2c)
- if(HAVE_F2C_H)
- SET(HAVE_SMPI 1)
- endif(HAVE_F2C_H)
+ SET(HAVE_SMPI 1)
endif(enable_smpi)
if(enable_lua)
include(FindLua51Simgrid)
message(STATUS "Looking for lib f2c - not found")
endif(HAVE_F2C_LIB)
+message(STATUS "Looking for bin f2c")
if(F2C_EXE)
message(STATUS "Found F2C: ${F2C_EXE}")
+else(F2C_EXE)
+ message(STATUS "Looking for bin f2c - not found")
endif(F2C_EXE)
mark_as_advanced(HAVE_F2C_H)
set(SMPI_F2C 0)
if(HAVE_F2C_H AND F2C_EXE AND HAVE_F2C_LIB)
set(SMPI_F2C 1)
-endif(HAVE_F2C_H AND F2C_EXE AND HAVE_F2C_LIB)
\ No newline at end of file
+endif(HAVE_F2C_H AND F2C_EXE AND HAVE_F2C_LIB)
message(" NS-3 path ...........: ${ns3_path}")
endif(NOT APPLE AND NOT WIN32)
message(" Compile Lua .........: ${HAVE_LUA}")
-message(" Compile Smpi ........: ${enable_smpi}")
+message(" Compile Smpi ........: ${HAVE_SMPI}")
+message(" Compile Smpi f77 ....: ${SMPI_F2C}")
message(" Compile Static ......: ${enable_lib_static}")
message("")
message(" Maintainer mode .....: ${enable_maintainer_mode}")
#ifndef SMPIF_H
#define SMPIF_H
-#cmakedefine HAVE_F2C_H @HAVE_SMPI_F2C_H@
+#cmakedefine SMPI_F2C @SMPI_F2C@
-#ifndef HAVE_F2C_H
-#error F2C is mandatory
-#endif
+#ifdef SMPI_F2C
#include <xbt/misc.h>
#include <smpi/smpi.h>
#endif
+
+#endif // SMPI_F2C
#include "xbt/xbt_os_time.h"
#include "simgrid/simix.h"
#include "smpi/smpi.h"
-#ifdef SMPI_F2C
#include "smpi/smpif.h"
-#endif
#include "smpi/smpi_cocci.h"
#include "instr/instr_private.h"
int size;
} s_dyn_light_t, *dyn_light_t;
-XBT_PUBLIC(double) sg_maxmin_precision = 0.00001;
+XBT_EXPORT_NO_IMPORT(double) sg_maxmin_precision = 0.00001;
static void *lmm_variable_mallocator_new_f(void);
static void lmm_variable_mallocator_free_f(void *var);