X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/879d8b9db2bb799b0013ec9740ed10067505f7f4..939476f1fc7630eb237535b07ed0deef77ce1b24:/src/smpi/bindings/smpi_f77.cpp diff --git a/src/smpi/bindings/smpi_f77.cpp b/src/smpi/bindings/smpi_f77.cpp index ac716095c0..47d296a2f9 100644 --- a/src/smpi/bindings/smpi_f77.cpp +++ b/src/smpi/bindings/smpi_f77.cpp @@ -1,19 +1,19 @@ -/* Copyright (c) 2010-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2010-2018. 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 "private.h" +#include "private.hpp" #include "smpi_comm.hpp" #include "smpi_datatype.hpp" #include "smpi_op.hpp" -#include "smpi_process.hpp" #include "smpi_request.hpp" #include "smpi_win.hpp" +#include "src/smpi/include/smpi_actor.hpp" static int running_processes = 0; -static void smpi_init_fortran_types(){ +void smpi_init_fortran_types(){ if(simgrid::smpi::F2C::lookup() == nullptr){ MPI_COMM_WORLD->add_f(); MPI_BYTE->add_f();//MPI_BYTE @@ -79,9 +79,6 @@ void mpi_init_(int* ierr) { void mpi_finalize_(int* ierr) { *ierr = MPI_Finalize(); running_processes--; - if(running_processes==0){ - simgrid::smpi::F2C::delete_lookup(); - } } void mpi_abort_(int* comm, int* errorcode, int* ierr) {