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