+/* Copyright (c) 2013-2014. The SimGrid Team.
+ * All rights reserved. */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
#include "network_smpi.hpp"
#include "simgrid/sg_config.h"
radical_elements2 = xbt_str_split(value, ":");
if (xbt_dynar_length(radical_elements2) != 2)
- xbt_die("Malformed radical for smpi factor!");
+ surf_parse_error("Malformed radical for smpi factor!");
fact.factor = atol(xbt_dynar_get_as(radical_elements2, 0, char *));
fact.value = atof(xbt_dynar_get_as(radical_elements2, 1, char *));
xbt_dynar_push_as(smpi_factor, s_smpi_factor_t, fact);