Merge pull request #78 from Alessandro624/fix-mpi-ale

fix(MPI): resolved cyclic inclusion and MPI issue
This commit is contained in:
Johann Dreo 2025-03-21 09:05:54 +01:00 committed by GitHub
commit 3dc2058400
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,7 @@ Authors:
#ifndef __EO_IMPL_MPI_HPP__ #ifndef __EO_IMPL_MPI_HPP__
#define __EO_IMPL_MPI_HPP__ #define __EO_IMPL_MPI_HPP__
#include "eoMpi.h" #include <mpi.h>
#include "../serial/eoSerial.h" #include "../serial/eoSerial.h"
/** /**
@ -69,7 +69,6 @@ namespace mpi
class environment class environment
{ {
public: public:
/** /**
* @brief Inits MPI context. * @brief Inits MPI context.
* *
@ -84,13 +83,14 @@ namespace mpi
~environment(); ~environment();
}; };
struct MPI_Status { /* struct MPI_Status
{
int count; int count;
int cancelled; int cancelled;
int MPI_SOURCE; int MPI_SOURCE;
int MPI_TAG; int MPI_TAG;
int MPI_ERROR; int MPI_ERROR;
}; }; */
/** /**
* @brief Wrapper class for MPI_Status * @brief Wrapper class for MPI_Status
@ -100,7 +100,6 @@ namespace mpi
class status class status
{ {
public: public:
/** /**
* @brief Converts a MPI_Status into a status. * @brief Converts a MPI_Status into a status.
*/ */
@ -134,7 +133,6 @@ namespace mpi
class communicator class communicator
{ {
public: public:
/** /**
* Creates the communicator, using the whole world as a MPI_Comm. * Creates the communicator, using the whole world as a MPI_Comm.
* *