{nullptr, nullptr, nullptr} /* this array must be nullptr terminated */
};
+#if ! HAVE_SMPI
+void surf_network_model_init_SMPI() {
+ xbt_die("Please activate SMPI support in cmake to use the SMPI network model.");
+}
+void surf_network_model_init_IB() {
+ xbt_die("Please activate SMPI support in cmake to use the IB network model.");
+}
+#endif
+
s_surf_model_description_t surf_cpu_model_description[] = {
{"Cas01", "Simplistic CPU model (time=size/power).", surf_cpu_model_init_Cas01},
{nullptr, nullptr, nullptr} /* this array must be nullptr terminated */
src/smpi/smpi_topo.cpp
src/smpi/smpi_utils.cpp
src/smpi/smpi_f77.cpp
+
+ src/surf/network_smpi.cpp
+ src/surf/network_ib.cpp
)
set(XBT_SRC
src/surf/network_cm02.cpp
src/surf/network_constant.cpp
src/surf/network_interface.cpp
- src/surf/network_smpi.cpp
- src/surf/network_ib.cpp
src/surf/plugins/energy.cpp
src/surf/PropertyHolder.cpp
src/surf/sg_platf.cpp