|
[Sponsors] |
[OpenFOAM.com] v1806 Installing/Compilling error |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 17, 2018, 13:05 |
v1806 Installing/Compilling error
|
#1 | ||
New Member
Lucas Pousa
Join Date: Sep 2018
Location: Rio de Janeiro, Brasil
Posts: 1
Rep Power: 0 |
Hello there,
I'm trying to install the OF 1806 version on Ubuntu 16.04 and in the middle of the compilling process I'm getting this error: Quote:
Quote:
http://https://www.openfoam.com/code/build-guide.php. Installing these packages: Code:
sudo apt-get install build-essential flex bison cmake zlib1g-dev libboost-system-dev libboost-thread-dev libopenmpi-dev openmpi-bin gnuplot libreadline-dev libncurses-dev libxt-dev sudo apt install qt5-default libqt5x11extras5-dev libqt5help5 qtdeclarative5-dev qttools5-dev libqtwebkit-dev freeglut3-dev libqt5opengl5-dev texinfo sudo apt-get install libscotch-dev libcgal-dev This is my first thread here and i'm new to Ubuntu and OF, can anyone help me? |
|||
September 18, 2018, 02:46 |
Possible Compiler Error??
|
#2 |
Member
Peter Brady
Join Date: Apr 2014
Location: Sydney, NSW, Australia
Posts: 54
Rep Power: 12 |
Hi,
Can you try a different compiler version? Although you've already tried that with 18.x verses 16.x. Are you locked into Ubuntu? Does foamSystemCheck return all fine? The error message seems to be indicating a possible compiler error rather than an OpenFOAM source error per se. I'm currently running 1806+ on CentOS 7 no problems. I do compile my own version of GCC (8.1.x series) and MPI (3.1.x series) though rather than the older versions shipped with C7. See where you go there and I can try a Ubuntu VM and see if I can reproduce. Hope that helps, -pete |
|
September 19, 2018, 20:00 |
|
#3 |
New Member
Chen Shen
Join Date: Sep 2018
Posts: 14
Rep Power: 8 |
I have ran into that problem. I found it was because I used ./Allmake -j 10 while there are only 4 cores on my laptop. But that might not be in your case.
This is an compiler internal error so the code in the openFoam package should be fine. Try: 1. ./Allmake without specify number of cores. 2. Delete src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/liquidViscosity/liquidViscosity.o to enforce the compiler to compile that again. 3. If the error is still there, I will try to update the gcc and g++ to the latest version. 4. If the error is there after 1-3, I will reinstall ubuntu. Chen |
|
Tags |
compile issue, icofoam problem, installation, openfoam 1806 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries | NickG | OpenFOAM Installation | 3 | December 30, 2019 01:21 |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 10:00 |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 19:00 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |