View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001721 | OpenFOAM | Bug | public | 2015-05-30 01:51 | 2015-05-30 12:01 |
Reporter | Assigned To | henry | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | Linux | OS | RedHat | OS Version | 6.6 |
Summary | 0001721: install fails because boost header file not found | ||||
Description | Our system supports multiple versions of boost which are not installed in /usr/include, /usr/lib. Are there environment variables I can set to indicate where boost headers and libraries can be found? Here is a sample error: Making dependency list for source file SloanRenumber.C SOURCE=SloanRenumber.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I${OF_HOME}/ThirdParty-2.4.0/platforms/linux64Gcc/boost-system/include -I${OF_HOME}/OpenFOAM-2.4.0/src/meshTools/lnInclude -I${OF_HOME}/OpenFOAM-2.4.0/src/parallel/decompose/decompositionMethods/lnInclude -I${OF_HOME}/OpenFOAM-2.4.0/src/renumber/renumberMethods/lnInclude -IlnInclude -I. -I${OF_HOME}/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude -I${OF_HOME}/OpenFOAM-2.4.0/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/SloanRenumber.o SloanRenumber.C:34:28: fatal error: boost/config.hpp: No such file or directory compilation terminated. | ||||
Steps To Reproduce | Then run the install script: OpenFOAM-2.4.0/Allwmake | ||||
Additional Information | modified ThirdParty-2.4.0/makeCGAL to set correct boost info if [ -n "${BOOST_HOME}" ] ; then boostInc=${BOOST_HOME}/include boostLib=${BOOST_HOME}/lib fi # retrieve boost version: | ||||
Tags | No tags attached. | ||||
|
BOOST_ARCH_PATH is used to specify the location of the boost installation for CGAL and SloanRenumber, see etc/config/CGAL.* However, you would need to change it in those files as it is not currently override-able; I will look into this. Given that the Sloan renumbering method has not proved beneficial and brings with it a direct dependency on boost which is causing installation problems on several systems I am considering either moving it to ThirdParty, making compilation optional depending on the availability of boost or removing it altogether. |
|
BOOST_ARCH_PATH can be overridden in prefs.sh or pref.csh in the usual way. The prefs files may be located in any of the OpenFOAM etc directories which foamEtcFile -list will list for you. |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-05-30 01:51 |
|
New Issue | |
2015-05-30 11:08 | henry | Note Added: 0004850 | |
2015-05-30 12:01 | henry | Note Added: 0004851 | |
2015-05-30 12:01 | henry | Status | new => resolved |
2015-05-30 12:01 | henry | Resolution | open => no change required |
2015-05-30 12:01 | henry | Assigned To | => henry |