From 20cdb3d92942b4596c5e49a6ef65d21274ab48ca Mon Sep 17 00:00:00 2001 From: degomme Date: Thu, 16 Mar 2017 12:21:17 +0100 Subject: [PATCH] reverse alias type in config (reduce_scatter is the mpi name, not ours) --- src/simgrid/sg_config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/simgrid/sg_config.cpp b/src/simgrid/sg_config.cpp index 9f2d3d3ed0..e30c0fc95c 100644 --- a/src/simgrid/sg_config.cpp +++ b/src/simgrid/sg_config.cpp @@ -518,8 +518,8 @@ void sg_config_init(int *argc, char **argv) xbt_cfg_register_string("smpi/gather", nullptr, nullptr, "Which collective to use for gather"); xbt_cfg_register_string("smpi/allgather", nullptr, nullptr, "Which collective to use for allgather"); xbt_cfg_register_string("smpi/barrier", nullptr, nullptr, "Which collective to use for barrier"); - xbt_cfg_register_string("smpi/reduce-scatter",nullptr, nullptr, "Which collective to use for reduce_scatter"); - xbt_cfg_register_alias("smpi/reduce-scatter","smpi/reduce_scatter"); + xbt_cfg_register_string("smpi/reduce_scatter",nullptr, nullptr, "Which collective to use for reduce_scatter"); + xbt_cfg_register_alias("smpi/reduce_scatter","smpi/reduce-scatter"); xbt_cfg_register_string("smpi/scatter", nullptr, nullptr, "Which collective to use for scatter"); xbt_cfg_register_string("smpi/allgatherv", nullptr, nullptr, "Which collective to use for allgatherv"); xbt_cfg_register_string("smpi/allreduce", nullptr, nullptr, "Which collective to use for allreduce"); -- 2.20.1