* The CLM03 workstation model were dropped for simplicity because it
used the deprecated CM02 network model. Use default instead.
* Rename the TCP_gamma configuration option to network/TCP_gamma
+ * Rename the coordinates configuration option to
+ network/coordinates, and document it
* Use now crosstraffic keyword instead of the terribly missleading
fullduplex keyword. Use --cfg=network/crosstraffic:1. This is
activated by default now in the current default model.
void MC_assert(int prop);
\endverbatim
+\subsection options_model_network_coord Coordinated-based network models
+
+When you want to use network coordinates, as it happens when you use
+an \<AS\> in your platform file with \c Vivaldi as a routing, you must
+set the \b network/coordinates to \c yes so that all mandatory
+initialization are done in the simulator.
+
\subsection options_model_network_sendergap Simulating sender gap
(this variable is experimental and may change or disapear)
- \c maxmin/precision: \ref options_model_precision
- \c network/bandwidth_factor: \ref options_model_network_coefs
+- \c network/coordinates: \ref options_model_network_coord
- \c network/crosstraffic: \ref options_model_network_crosstraffic
- \c network/latency_factor: \ref options_model_network_coefs
- \c network/maxmin_selective_update: \ref options_model_optim
<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid.dtd">
<platform version="3">
<config id="General">
- <prop id="coordinates" value="yes"></prop>
+ <prop id="network/coordinates" value="yes"></prop>
</config>
<AS id="AS0" routing="Vivaldi">
<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid.dtd">
<platform version="3">
<config id="General">
- <prop id="coordinates" value="yes"></prop>
+ <prop id="network/coordinates" value="yes"></prop>
</config>
<AS id="AS0" routing="Vivaldi">
<platform version="3">
<config id="General">
- <prop id="coordinates" value="yes"></prop>
+ <prop id="network/coordinates" value="yes"></prop>
</config>
<AS id="AS0" routing="Vivaldi">
<platform version="3">
<config id="General">
- <prop id="coordinates" value="yes"></prop>
+ <prop id="network/coordinates" value="yes"></prop>
</config>
<AS id="AS0" routing="Vivaldi">
<platform version="3">
<config id="General">
- <prop id="coordinates" value="yes"></prop>
+ <prop id="network/coordinates" value="yes"></prop>
</config>
<AS id="AS0" routing="Vivaldi">
<platform version="3">
<config id="General">
- <prop id="coordinates" value="yes"></prop>
+ <prop id="network/coordinates" value="yes"></prop>
</config>
<AS id="AS0" routing="Vivaldi">
<host id="100030591" coordinates="25.5 9.4 1.4" power="1500000000.0" />
}
} else if (!strcmp(val, "no")) {
if (COORD_HOST_LEVEL)
- XBT_WARN("Setting of whether to use coordinate cannot be disabled once set.");
+ xbt_die("Setting of whether to use coordinate cannot be disabled once set.");
} else {
- XBT_WARN("Command line setting of whether to use coordinates must be either \"yes\" or \"no\"");
+ xbt_die("Command line setting of whether to use coordinates must be either \"yes\" or \"no\"");
}
}
_surf_cfg_cb_contexts_parallel_mode, NULL);
default_value = xbt_strdup("no");
- xbt_cfg_register(&_surf_cfg_set, "coordinates",
- "\"yes\" or \"no\" (FIXME: document)",
+ xbt_cfg_register(&_surf_cfg_set, "network/coordinates",
+ "\"yes\" or \"no\", specifying whether we use a coordinate-based routing (as Vivaldi)",
xbt_cfgelm_string, &default_value, 1, 1,
_surf_cfg_cb__surf_network_coordinates, NULL);
- xbt_cfg_setdefault_string(_surf_cfg_set, "coordinates", default_value);
+ xbt_cfg_setdefault_string(_surf_cfg_set, "network/coordinates", default_value);
default_value_int = 0;
xbt_cfg_register(&_surf_cfg_set, "network/crosstraffic",