Skip to content

Commit

Permalink
In mpiuni, define some types needed by PIO when _NETCDF4 is defined
Browse files Browse the repository at this point in the history
mpiuni builds on perlmutter were failing; this should fix the issue.
  • Loading branch information
billsacks committed Aug 28, 2024
1 parent fda68a9 commit 82f8052
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Infrastructure/stubs/mpiuni/mpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,11 @@ extern int MPIUNI_Memcpy(void*,const void*,int,enum CheckForMPIInPlace_Flag);
#define MPI_UNSIGNED sizeof(unsigned int)
#define MPI_LOGICAL sizeof(int)
#define MPI_LONG sizeof(long)
#define MPI_LONG_LONG sizeof(long long)
#define MPI_LONG_LONG_INT sizeof(long long int)
#define MPI_UNSIGNED_LONG_LONG sizeof(unsigned long long)
#define MPI_SHORT sizeof(short)
#define MPI_UNSIGNED_SHORT sizeof(unsigned short)
#define MPI_UB sizeof(long)
#define MPI_FLOAT_INT (sizeof(float)+sizeof(int))
#define MPI_DOUBLE_INT (sizeof(double)+sizeof(int))
Expand Down

0 comments on commit 82f8052

Please sign in to comment.