pio.h 352 Bytes
Newer Older
Deike Kleberg's avatar
Deike Kleberg committed
1
2
3
4
5
6
7
8
9
10
#ifndef _PIO_H
#define _PIO_H

#ifndef NOMPI
#include <stdlib.h>
#include "mpi.h"

typedef struct{
  int type;
  MPI_Comm comm;
11
  int color;
Deike Kleberg's avatar
Deike Kleberg committed
12
13
14
15
16
17
18
19
20
21
22
23
  int size;
  int rank;
  int specialRank;
  MPI_Comm collectorComm;
}pioInfo; 

int pioFileOpenW ( const char* );
int pioFileClose ( int );
size_t pioFileWrite ( int, int, const void*, size_t );

#endif
#endif