-/* Copyright (c) 2010-2020. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2010-2021. 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. */
*ierr = MPI_Comm_dup(simgrid::smpi::Comm::f2c(*comm), &tmp);
if(*ierr == MPI_SUCCESS) {
- *newcomm = tmp->add_f();
+ *newcomm = tmp->c2f();
}
}
MPI_Comm tmp;
*ierr = MPI_Comm_create(simgrid::smpi::Comm::f2c(*comm),simgrid::smpi::Group::f2c(*group), &tmp);
if(*ierr == MPI_SUCCESS) {
- *newcomm = tmp->add_f();
+ *newcomm = tmp->c2f();
}
}
*ierr = MPI_Comm_split(simgrid::smpi::Comm::f2c(*comm), *color, *key, &tmp);
if(*ierr == MPI_SUCCESS) {
- *comm_out = tmp->add_f();
+ *comm_out = tmp->c2f();
}
}
MPI_Comm tmp;
*ierr = MPI_Comm_dup_with_info(simgrid::smpi::Comm::f2c(*comm), simgrid::smpi::Info::f2c(*info),&tmp);
if(*ierr == MPI_SUCCESS) {
- *newcomm = tmp->add_f();
+ *newcomm = tmp->c2f();
}
}
MPI_Comm tmp;
*ierr = MPI_Comm_split_type(simgrid::smpi::Comm::f2c(*comm), *split_type, *key, simgrid::smpi::Info::f2c(*info), &tmp);
if(*ierr == MPI_SUCCESS) {
- *newcomm = tmp->add_f();
+ *newcomm = tmp->c2f();
}
}
MPI_Comm tmp;
*ierr = MPI_Comm_connect( port_name, simgrid::smpi::Info::f2c(*info), *root, simgrid::smpi::Comm::f2c(*comm), &tmp);
if(*ierr == MPI_SUCCESS) {
- *newcomm = tmp->add_f();
+ *newcomm = tmp->c2f();
}
}
MPI_Comm tmp;
*ierr = MPI_Comm_join( *fd, &tmp);
if(*ierr == MPI_SUCCESS) {
- *intercomm = tmp->add_f();
+ *intercomm = tmp->c2f();
}
}
MPI_Comm tmp;
*ierr = MPI_Comm_accept( port_name, simgrid::smpi::Info::f2c(*info), *root, simgrid::smpi::Comm::f2c(*comm), &tmp);
if(*ierr == MPI_SUCCESS) {
- *newcomm = tmp->add_f();
+ *newcomm = tmp->c2f();
}
}
*ierr = MPI_Comm_spawn( command, &argv, *maxprocs, simgrid::smpi::Info::f2c(*info), *root, simgrid::smpi::Comm::f2c(*comm), &tmp,
array_of_errcodes);
if(*ierr == MPI_SUCCESS) {
- *intercomm = tmp->add_f();
+ *intercomm = tmp->c2f();
}
}
*ierr = MPI_Comm_spawn_multiple(* count, &array_of_commands, &array_of_argv, array_of_maxprocs,
reinterpret_cast<MPI_Info*>(array_of_info), *root, simgrid::smpi::Comm::f2c(*comm), &tmp, array_of_errcodes);
if(*ierr == MPI_SUCCESS) {
- *intercomm = tmp->add_f();
+ *intercomm = tmp->c2f();
}
}