error installing OF4.1 on ubuntu 14.04
3 Attachment(s)
Hello foamers,
I am installing OF4.1 on ubuntu 14.04. I have installed it according to the OpenFoamWiki (https://openfoamwiki.net/index.php/I...u#Ubuntu_14.04) There is already OF3.0.1 on my computer. But I installed it using 'alias' to source each version. So the two versions should work separately. But when I compile OF using './Allwmake'. There is always an error: Code:
In file included from lnInclude/CGALTriangulation3Ddefs.H:44:0, Code:
======================================== |
Hello dupeng,
I have the same problem you had, but I am using openfoam 4.x version on ubuntu 14.04. Did you solve your problem? Regards, Lisandro Maders |
Lisandro Maders,
I haven't solved this problem yet. It seems that CGAL has been compiled for the previous version and it cannot be compiled again for the new version. Hope someone can help us! Regards, peng |
Hello,
I recently installed OpenFOAM v4.1 via https://openfoam.org/download/4-1-ubuntu/ on ubuntu 16.04 LTS. It worked like charm. Your and my ubuntu versions are not same, but I just wanted to post anyway. Good luck. |
OpenFOAM 4.x compilation error in Ubuntu 14.04
2 Attachment(s)
I hope so too Peng..
I will post my log.make files as well.. At a first view, no errors in the log.makeCM and in the log.makePV files, only in the log.make, in the OpenFOAM compilation. Looking forward for some answer, probably from Bruno Santos, who always save OF user's life haha. OBS: log.makePV was too large and I could not upload.. but it seems ok to me Regards, Lisandro Maders |
Greetings to all!
I've gotten Lisandro's PM and I've taken a look at the installation instructions. My apologies for this issue and for not being able to look into this sooner. According to the history records in the wiki page for 4.0, I unfortunately did not use a clean installation of Ubuntu 14.04, which had Ubuntu's CGAL installation already in it. Problem is that I still have to confirm if this was the case or not. Therefore, for the time being, please do the following commands and hopefully this will build almost all of OpenFOAM's 4.1 and 4.x stack, but it will not build the meshers foamyHexMesh and foamyQuadMesh: Code:
cd $WM_PROJECT_DIR I'll review and test again the instructions and fix them during next weekend, if all goes well. My apologies once again for this problem. This is one of my main expertises when it comes to OpenFOAM and somehow I missed this problem :( Best regards, Bruno |
1 Attachment(s)
Hello Bruno Santos,
Your solution works great. Although I still get the error but everything works fine after the compilation. Maybe other foamers can also try the "-k" option when encounter similar problems during the installation. It will ignore some errors but they may not influence the use of openfoam. I also attached the log file for you to target the problem. The original file is too large, I just deleted something in the middle. I have another problem about function object here: https://www.cfd-online.com/Forums/op...onobjects.html can you also take a look if possible? Thanks. Regards, Peng |
Hi Peng,
Thanks for log file. From what I can see, looks like it's just that CGAL was missing. OK, I've finished testing and revising the instructions for installing OpenFOAM 4.* on Ubuntu 14.04:
As for what exactly happened: from what I can vaguely remember, I only copied and adapted the instructions from OpenFOAM 3.0.* for Ubuntu 14.04 and didn't follow up with testing the build. This was likely because I didn't have enough time back then and ended up not testing later on :(. Best regards, Bruno |
Thanks Bruno,
Your solution works perfect. Regards, Peng |
Thanks a lot Bruno!!!!!
I used your instruction for an installation under Slackware, and it worked really well. Thanks! Quote:
|
All times are GMT -4. The time now is 14:09. |