fix(MPI): resolved cyclic inclusion and MPI issue
This commit is contained in:
parent
d3a2ab5e84
commit
77148b5a97
1 changed files with 246 additions and 248 deletions
|
|
@ -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.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue