CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Error in linking header files (https://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

Xiaodong January 26, 2022 12:23

Quote:

Originally Posted by wyldckat (Post 452613)
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

Hi Bruno,

Thanks for your insights. These warnings indeed don't affect the computations. By the way, do you mind explaining how I should configure it to get rid of those warnings or why they appear?

Best regards,
Xiaodong


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