Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
SMPI: Pass the rank from smpirun to processes through their command line in deploymen...
[simgrid.git] / src / smpi / smpi_mpi.c
index 672b2ca..5fa4121 100644 (file)
@@ -5,7 +5,7 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_mpi, smpi,
 
 int SMPI_MPI_Init(int *argc, char ***argv)
 {
-  smpi_init_process();
+  smpi_process_init(argc,argv);
   smpi_bench_begin();
   return MPI_SUCCESS;
 }
@@ -13,12 +13,12 @@ int SMPI_MPI_Init(int *argc, char ***argv)
 int SMPI_MPI_Finalize()
 {
   smpi_bench_end();
-  smpi_mpi_finalize();
+  smpi_process_finalize();
   return MPI_SUCCESS;
 }
 
 // right now this just exits the current node, should send abort signal to all
-// hosts in the communicator;
+// hosts in the communicator (TODO)
 int SMPI_MPI_Abort(MPI_Comm comm, int errorcode)
 {
   smpi_exit(errorcode);