Skip to content

Commit 82f8052

Browse files
committed
In mpiuni, define some types needed by PIO when _NETCDF4 is defined
mpiuni builds on perlmutter were failing; this should fix the issue.
1 parent fda68a9 commit 82f8052

File tree

1 file changed

+3
-0
lines changed
  • src/Infrastructure/stubs/mpiuni

1 file changed

+3
-0
lines changed

src/Infrastructure/stubs/mpiuni/mpi.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,11 @@ extern int MPIUNI_Memcpy(void*,const void*,int,enum CheckForMPIInPlace_Flag);
136136
#define MPI_UNSIGNED sizeof(unsigned int)
137137
#define MPI_LOGICAL sizeof(int)
138138
#define MPI_LONG sizeof(long)
139+
#define MPI_LONG_LONG sizeof(long long)
139140
#define MPI_LONG_LONG_INT sizeof(long long int)
141+
#define MPI_UNSIGNED_LONG_LONG sizeof(unsigned long long)
140142
#define MPI_SHORT sizeof(short)
143+
#define MPI_UNSIGNED_SHORT sizeof(unsigned short)
141144
#define MPI_UB sizeof(long)
142145
#define MPI_FLOAT_INT (sizeof(float)+sizeof(int))
143146
#define MPI_DOUBLE_INT (sizeof(double)+sizeof(int))

0 commit comments

Comments
 (0)