CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 Installation (https://www.cfd-online.com/Forums/su2-installation/)
-   -   how to locate mpi.h using ./configure (https://www.cfd-online.com/Forums/su2-installation/141808-how-locate-mpi-h-using-configure.html)

momo_sjx September 16, 2014 16:47

how to locate mpi.h using ./configure
 
I am working on a server.
I found mpicxx and mpi.h are not in standard library.
When I use /configure --prefix=/home/user/SU2 --with-MPI=/usr/mpi/bin/mpicxx
then make, it returns
../src/../include/config_structure.hpp:27:17: error: mpi.h: No such file or directory
The mpi.h is located in /usr/mpi/include.

How to solve this problem?

Thank you in advance.

Bachduong September 22, 2014 08:18

Perhap, you may find folder, which contain mpicxx. In my case it locate in usr/bin.
Good luck

Doriris September 22, 2014 09:47

I have had the same issue on my machine, which had MPI pre-installed. I suggest you simply rebuild OpenMPI or any other on your machine/server, such that the MPI.H file is in the correct folder.

Jeffrey


All times are GMT -4. The time now is 11:11.