1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 #ifndef AD_GPFS_INCLUDE
16 #define AD_GPFS_INCLUDE
17
18 #include <unistd.h>
19 #include <stdlib.h>
20 #include <sys/types.h>
21 #include <fcntl.h>
22 #include "adio.h"
23
24 #ifdef HAVE_SIGNAL_H
25 #include <signal.h>
26 #endif
27 #ifdef HAVE_AIO_LITE_H
28 #include <aio-lite.h>
29 #elif defined HAVE_AIO_H
30 #include <aio.h>
31 #endif
32
33
34 void ADIOI_GPFS_Open(ADIO_File fd, int *error_code);
35
36 void ADIOI_GPFS_Close(ADIO_File fd, int *error_code);
37
38 void ADIOI_GPFS_ReadContig(ADIO_File fd, void *buf, int count,
39 MPI_Datatype datatype, int file_ptr_type,
40 ADIO_Offset offset, ADIO_Status *status, int
41 *error_code);
42 void ADIOI_GPFS_WriteContig(ADIO_File fd, const void *buf, int count,
43 MPI_Datatype datatype, int file_ptr_type,
44 ADIO_Offset offset, ADIO_Status *status, int
45 *error_code);
46
47 void ADIOI_GPFS_SetInfo(ADIO_File fd, MPI_Info users_info, int *error_code);
48
49 void ADIOI_GPFS_WriteStrided(ADIO_File fd, const void *buf, int count,
50 MPI_Datatype datatype, int file_ptr_type,
51 ADIO_Offset offset, ADIO_Status *status, int
52 *error_code);
53 void ADIOI_GPFS_ReadStrided(ADIO_File fd, void *buf, int count,
54 MPI_Datatype datatype, int file_ptr_type,
55 ADIO_Offset offset, ADIO_Status *status, int
56 *error_code);
57
58 void ADIOI_GPFS_ReadStridedColl(ADIO_File fd, void *buf, int count,
59 MPI_Datatype datatype, int file_ptr_type,
60 ADIO_Offset offset, ADIO_Status *status, int
61 *error_code);
62
63 void ADIOI_GPFS_WriteStridedColl(ADIO_File fd, const void *buf, int count,
64 MPI_Datatype datatype, int file_ptr_type,
65 ADIO_Offset offset, ADIO_Status *status, int
66 *error_code);
67
68 void ADIOI_GPFS_Flush(ADIO_File fd, int *error_code);
69
70 #include "ad_gpfs_tuning.h"
71
72
73 #endif