Problem with mpi.h in CGNS installation
Posted: Mon May 14, 2012 8:09 am
Hello,
I try to install code_saturne on Ubuntu 12.04 64-bits and I get some issues in the installation of CGNS :
cd /home/user/Downloads/installer-2.2.1/cgnslib_3.1.3.build/src && /usr/bin/gcc -Dcgns_shared_EXPORTS -DBUILD_HDF5 -O3 -DNDEBUG -fPIC -I/home/user/Downloads/installer-2.2.1/cgnslib_3.1.3/src/. -I/home/user/saturne/hdf5-1.8.8/include -I/home/user/Downloads/installer-2.2.1/cgnslib_3.1.3.build/src -o CMakeFiles/cgns_shared.dir/cgnslib.c.o -c /home/user/Downloads/installer-2.2.1/cgnslib_3.1.3/src/cgnslib.c
In file included from /usr/include/hdf5.h:24:0,
from /home/user/Downloads/installer-2.2.1/cgnslib_3.1.3/src/cgnslib.c:57:
/usr/include/H5public.h:57:20: fatal error: mpi.h: No such file or directory
compilation terminated.
I got a similar problem just before with hdf5.h, so I installed libhdf5, and now I have this issue with mpi.h. mpi.h is though present in my folder /usr/lib/openmpi/include/ so it seems to be more a library issue.
I get the same error for CS 2.0 and 2.2 installation. I attached the full log file.
Thank you
Alexandre
I try to install code_saturne on Ubuntu 12.04 64-bits and I get some issues in the installation of CGNS :
cd /home/user/Downloads/installer-2.2.1/cgnslib_3.1.3.build/src && /usr/bin/gcc -Dcgns_shared_EXPORTS -DBUILD_HDF5 -O3 -DNDEBUG -fPIC -I/home/user/Downloads/installer-2.2.1/cgnslib_3.1.3/src/. -I/home/user/saturne/hdf5-1.8.8/include -I/home/user/Downloads/installer-2.2.1/cgnslib_3.1.3.build/src -o CMakeFiles/cgns_shared.dir/cgnslib.c.o -c /home/user/Downloads/installer-2.2.1/cgnslib_3.1.3/src/cgnslib.c
In file included from /usr/include/hdf5.h:24:0,
from /home/user/Downloads/installer-2.2.1/cgnslib_3.1.3/src/cgnslib.c:57:
/usr/include/H5public.h:57:20: fatal error: mpi.h: No such file or directory
compilation terminated.
I got a similar problem just before with hdf5.h, so I installed libhdf5, and now I have this issue with mpi.h. mpi.h is though present in my folder /usr/lib/openmpi/include/ so it seems to be more a library issue.
I get the same error for CS 2.0 and 2.2 installation. I attached the full log file.
Thank you
Alexandre