CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

Error in linking header files

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 2 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 19, 2013, 17:02
Default Error in linking header files
  #1
New Member
 
Join Date: Sep 2013
Posts: 9
Rep Power: 13
menonshyam is on a distinguished road
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!
menonshyam is offline   Reply With Quote

Old   September 19, 2013, 19:56
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
Hypersonichen and sharonyue like this.
__________________
wyldckat is offline   Reply With Quote

Old   January 26, 2022, 13:23
Default
  #3
New Member
 
Join Date: Jul 2021
Posts: 1
Rep Power: 0
Xiaodong is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
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
Xiaodong is offline   Reply With Quote

Reply

Tags
icc, openfoam, openmpi

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF issue MASOUD Fluent UDF and Scheme Programming 14 December 6, 2012 14:39
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 04:01
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 14:43
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 08:21
OpenFOAM with Cygwin kitchener OpenFOAM Installation 6 April 25, 2006 00:09


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