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

[OpenFOAM.org] SloanRenumber, compilation error.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2015, 08:14
Default SloanRenumber, compilation error.
  #1
New Member
 
anton
Join Date: Apr 2015
Posts: 7
Rep Power: 11
echo.motd is on a distinguished road
Hello,
I have got this error. Please advise.

Making dependency list for source file SloanRenumber.C
g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/usr/local/OpenFOAM/ThirdParty-3.0.x/platforms/linux64Gcc/boost-system/include -I/usr/local/OpenFOAM/OpenFOAM-3.0.x/src/meshTools/lnInclude -I/usr/local/OpenFOAM/OpenFOAM-3.0.x/src/parallel/decompose/decompositionMethods/lnInclude -I/usr/local/OpenFOAM/OpenFOAM-3.0.x/src/renumber/renumberMethods/lnInclude -IlnInclude -I. -I/usr/local/OpenFOAM/OpenFOAM-3.0.x/src/OpenFOAM/lnInclude -I/usr/local/OpenFOAM/OpenFOAM-3.0.x/src/OSspecific/POSIX/lnInclude -fPIC -c SloanRenumber.C -o /usr/local/OpenFOAM/OpenFOAM-3.0.x/platforms/linux64GccDPInt32Opt/src/renumber/SloanRenumber/SloanRenumber.o
SloanRenumber.C:34:28: fatal error: boost/config.hpp: No such file or directory
compilation terminated.

Thanks
echo.motd is offline   Reply With Quote

Old   November 21, 2015, 09:26
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

Since SloanRenumber depends on boost, you have to set BOOST_ARCH_PATH environment variable to the path where boost is installed (so $(BOOST_ARCH_PATH)/include contains boost folder with header files and $(BOOST_ARCH_PATH)/lib contains libraries). By default it points to

Code:
export BOOST_ARCH_PATH=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$boost_version
If you install boost using package manager usually it is safe to set BOOST_ARCH_PATH to /usr (though on RHEL clones you need to correct src/renumber/SloanRenumber/Make/options, since libraries are stored in /usr/lib64).

You can follow installation guide here:

https://openfoamwiki.net/index.php/I...CentOS_SL_RHEL

or here

https://openfoamwiki.net/index.php/I...M-3.0.x/Ubuntu

Though they both assume that you ADORE building third-party software from sources.
alexeym is offline   Reply With Quote

Old   November 21, 2015, 16:10
Default boost and boost libraries missed
  #3
New Member
 
anton
Join Date: Apr 2015
Posts: 7
Rep Power: 11
echo.motd is on a distinguished road
Hello Alexey,
Thank you for replay.

I have just compiled OpenFOAM. I did not install all dependences. After your post I had realised that I do not have boost and boost libraries since it is not mentioned at Arch Linux OpenFOAM Wiki.

Kind Regards
echo.motd is offline   Reply With Quote

Reply


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
Pressure outlet boundary condition rolando OpenFOAM Running, Solving & CFD 62 September 18, 2017 06:45
DPM udf error haghshenasfard FLUENT 0 April 13, 2016 06:35
[OpenFOAM] Native ParaView Reader Bugs tj22 ParaView 270 January 4, 2016 11:39
Compiling problems with hello worldC fw407 OpenFOAM Installation 21 January 6, 2008 17:38
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


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