How do we build a serial application using ADIOS2 combined MPI/no-MPI library?
Created by: pnorbert
I am trying to build visit with the combined library, but it does not compile. It is using g++ without any MPI links. Including adios2.h, however, leads to including mpi.h, which is not found. Do we have a serial code test that shows how to build it with adios?
[ 93%] Building CXX object databases/ADIOS2/CMakeFiles/MADIOS2Database.dir/avtADIOS2FileFormat.C.o
cd /work/adios/visit3/build/databases/ADIOS2 &&
/usr/bin/g++ ... -c /work/adios/visit3/visit/src/databases/ADIOS2/avtADIOS2FileFormat.C
In file included from /opt/adios2/include/adios2/cxx11/ADIOS.h:18:0,
from /opt/adios2/include/adios2.h:18,
from /work/adios/visit3/visit/src/databases/ADIOS2/avtADIOS2BaseFileFormat.h:49,
from /work/adios/visit3/visit/src/databases/ADIOS2/avtADIOS2FileFormat.C:48:
/opt/adios2/include/adios2/cxx11/IO.h:20:17: fatal error: mpi.h: No such file or directory
Adding -UADIOS2_HAVE_MPI to the compile line did not help with this issue.