added mpi info stuff

This commit is contained in:
2025-08-14 12:31:57 +02:00
parent 711c030cae
commit ddfa5672df
3 changed files with 30 additions and 2 deletions
+4
View File
@@ -1,6 +1,7 @@
#ifndef MPI_COMMUNICATION_H
#define MPI_COMMUNICATION_H
#include "mpi.h"
class MpiCommunication {
public:
static int mpi_rank;
@@ -10,6 +11,9 @@ class MpiCommunication {
static int mpiSize();
static void init(int argc, char* argv[]);
static void create_mpi_info(MPI_Info* info);
static void finalize();
};