CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Error in linking header files (http://www.cfd-online.com/Forums/openfoam-installation/123741-error-linking-header-files.html)

menonshyam September 19, 2013 16:02

Error in linking header files
 
Hello all,

I am trying to compile OpenFOAM with OPENMPI and having a bunch of errors since the compiler is unable to find the header files it needs. I have updated the settings.sh file in "/etc/bashrc/config" directory as well as the mplibINTELMPI file in "/wmake/rules/linux64Icc/" directory. Does anybody have experience with similar errors?

The following are some of the error messages:

Making dependency list for source file UOPwrite.C
could not open file omp.h for source file UOPwrite.C
could not open file ompi/mpi/cxx/pmpicxx.h for source file UOPwrite.C
could not open file ompi/mpi/cxx/constants.h for source file UOPwrite.C
could not open file ompi/mpi/cxx/functions.h for source file UOPwrite.C
could not open file ompi/mpi/cxx/datatype.h for source file UOPwrite.C
could not open file ompi/mpi/cxx/exception.h for source file UOPwrite.C
could not open file ompi/mpi/cxx/op.h for source file UOPwrite.C
could not open file ompi/mpi/cxx/status.h for source file UOPwrite.C

Thanks!

wyldckat September 19, 2013 18:56

Greetings menonshyam and welcome to the forum!

Actually, those specific errors you can ignore. More than that, if you check a few lines above, you'll see a message indicating that you should in fact ignore warnings about "mpicxx.h" or similar.

Best regards,
Bruno


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