#include "private.h"
#include "xbt.h"
-
//TODO : remove all this.
static xbt_dict_t comm_lookup = nullptr;
static xbt_dict_t group_lookup = nullptr;
return smpi_f2c<type>(id, name##_lookup);\
}
+extern "C" { // This should really use the C linkage to be usable from Fortran
+
SMPI_F2C_C2F(MPI_Comm, comm)
SMPI_F2C_C2F(MPI_Group, group)
SMPI_F2C_C2F(MPI_Request, request)
*ierr= MPI_File_write(reinterpret_cast<MPI_File>(*fh), buf, *count, smpi_type_f2c(*datatype), status);
}
+} // extern "C"