X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/171293b2177631594dafc0a8449ee370aebdd305..ebc355d0c96552d0bc2aa301d90723490337bca3:/src/surf/network_smpi.cpp diff --git a/src/surf/network_smpi.cpp b/src/surf/network_smpi.cpp index dedb8cdbe6..9a14001b65 100644 --- a/src/surf/network_smpi.cpp +++ b/src/surf/network_smpi.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2013-2019. 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. */ @@ -34,7 +34,6 @@ void surf_network_model_init_SMPI() if (surf_network_model) return; surf_network_model = new simgrid::kernel::resource::NetworkSmpiModel(); - all_existing_models->push_back(surf_network_model); simgrid::config::set_default("network/weight-S", 8775); } @@ -45,6 +44,7 @@ namespace resource { NetworkSmpiModel::NetworkSmpiModel() : NetworkCm02Model() { + /* Do not add this into all_existing_models: our ancestor already does so */ } NetworkSmpiModel::~NetworkSmpiModel() = default;