fix(MPI): resolved cyclic inclusion and MPI issue

This commit is contained in:
Alessandro Sidero 2025-02-24 19:07:10 +01:00
commit 77148b5a97

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.
*