|
[Sponsors] |
[OpenFOAM.org] CGAL/Delaunay_triangulation_2.h |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 29, 2015, 11:48 |
CGAL/Delaunay_triangulation_2.h
|
#1 |
New Member
emanuele lombardi
Join Date: Jul 2015
Posts: 3
Rep Power: 10 |
I'm new to OpenFOAM and I'm trying to install version 2.4.0 on my SLES11SP3 machine.
I followed the instructions found at https://openfoamwiki.net/index.php/I...nux_Enterprise I first run Allwmake in ThirdParty-2.4.0 and then in OpenFOAM-2.4.0 The first Allwmake went went smoothly without any problem, but the Allwmake in OpenFOAM-2.4.0 is faulty. Errors are like the following one: Code:
In file included from CGALTriangulation2Ddefs.H:44:0, from CV2D.H:120, from insertBoundaryConformPointPairs.C:26: CGALTriangulation2DKernel.H:36:43: fatal error: CGAL/Delaunay_triangulation_2.h: No such file or directory Code:
find . -name Delaunay_triangulation_2.h ./ThirdParty-2.4.0/CGAL-4.6/include/CGAL/Kinetic/Delaunay_triangulation_2.h ./ThirdParty-2.4.0/CGAL-4.6/include/CGAL/Delaunay_triangulation_2.h thankk you from Italy, Lele Last edited by wyldckat; August 2, 2015 at 15:38. Reason: Added [CODE][/CODE] markers and removed text formatting, the font was too small. |
|
August 2, 2015, 15:40 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Lele and welcome to the forum!
Please run the following commands: Code:
cd $WM_THIRD_PARTY_DIR ./Allwmake > make.log 2>&1 gzip < make.log > make.log.gz pwd I need this file for diagnosing the problem. Best regards, Bruno
__________________
|
|
August 3, 2015, 03:38 |
|
#3 |
New Member
emanuele lombardi
Join Date: Jul 2015
Posts: 3
Rep Power: 10 |
Dear Bruno,
thanks for your help. Please find the log of my Allwmake in ThirdParty. It is the original log, the one I got when I compiled OpenFOAM. I don't succeed in attaching the log of OpenFOAM compilation because it's too large. Please note that I'm using gcc5.2 (since my gcc was too old and I had to build a newer one, I decided to build the latest) Ciao, Emanuele |
|
August 4, 2015, 17:50 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Emanuele,
Unfortunately I haven't had to the opportunity to test building OpenFOAM in SLE 11, which is why the instructions aren't on the wiki yet. This to say that the instructions that are meant for SLE 12 rely on the system's Boost toolbox, but the one in SLE 11 is too old to be used for building CGAL. Nonetheless, there are some bits and pieces that you can use from these instructions: https://openfoamwiki.net/index.php/I...EL#CentOS_5.11 - namely:
Bruno
__________________
|
|
August 5, 2015, 07:43 |
|
#5 |
New Member
emanuele lombardi
Join Date: Jul 2015
Posts: 3
Rep Power: 10 |
Hi Bruno,
thanks to your help now I have a running system! Since my gcc5.2 is in /usr/local I had to add /usr/local/lib64 in $LD_LIBRARY_PATH to let the installation test run. Dear Bruno, thanks a lot, Emanuele Executing /usr/local/src/OpenFOAM/OpenFOAM-2.4.0/bin/foamInstallationTest: Checking basic setup... ------------------------------------------------------------------------------- Shell: tcsh Host: giotto OS: Linux version 3.0.101-0.47.55-default ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /usr/local/src/OpenFOAM yes yes $WM_PROJECT_USER_DIR /root/OpenFOAM/root-2.4.0 yes no $WM_THIRD_PARTY_DIR /usr/local/src/OpenFOAM/ThirdParty-2.4.0 yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $WM_PROJECT_DIR /usr/local/src/OpenFOAM/OpenFOAM-2.4.0 yes yes yes $FOAM_APPBIN ...-2.4.0/platforms/linux64GccDPOpt/bin yes yes yes $FOAM_SITE_APPBIN .../2.4.0/platforms/linux64GccDPOpt/bin no no $FOAM_USER_APPBIN ...-2.4.0/platforms/linux64GccDPOpt/bin no no $WM_DIR ...al/src/OpenFOAM/OpenFOAM-2.4.0/wmake yes yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $FOAM_LIBBIN ...-2.4.0/platforms/linux64GccDPOpt/lib yes yes yes $FOAM_SITE_LIBBIN .../2.4.0/platforms/linux64GccDPOpt/lib no no $FOAM_USER_LIBBIN ...-2.4.0/platforms/linux64GccDPOpt/lib no no $MPI_ARCH_PATH ...0/platforms/linux64Gcc/openmpi-1.8.5 yes yes yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- flex 2.5.35 /usr/bin/flex gcc 5.2.0 /usr/local/bin/gcc g++ 5.2.0 /usr/local/bin/g++ gzip 1.3.12 /bin/gzip tar 1.26 /bin/tar icoFoam 2.4.0 ...M/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/bin/icoFoam ------------------------------------------------------------------------------- Summary ------------------------------------------------------------------------------- Base configuration ok. Critical systems ok. Done |
|
|
|