NCAR / ParallelIO

A high-level Parallel I/O Library for structured grid applications
Apache License 2.0
134 stars 52 forks source link

configure needs to add -D_MPISERIAL when building with mpi-serial library #1900

Open jedwards4b opened 2 years ago

jedwards4b commented 2 years ago

Otherwise you get an error: pioc_support.c(831): error: identifier "MPI_SIGNED_CHAR" is undefined my_mpi_type = MPI_SIGNED_CHAR;

jedwards4b commented 2 years ago

Another issue - pio_rearr_opts.F90:858:19: 858 | USE mpi, only : mpi_abort, mpi_comm_world | 1 Error: Symbol ‘mpi_abort’ referenced at (1) not found in module ‘mpi’ Makefile:736: recipe for target 'pio_rearr_opts.o' failed

Note that the mpi-serial build works correctly when using cmake.