kubuntu 12.04 - error during compiling OpenFoam
Hi,
i updated my kubuntu to version 12.04. before i had a running version of OpenFoam 2.1.x on my machine. Now i get problems during compiling/linking openFOAM with the icc: These are the first lines of my console output... Code:
ld: Make/linux64IccDPOpt/applyBoundaryLayer.o: undefined reference to symbol '_ZN4Foam14incompressible15turbulenceModel8typeNameE' Has anybody an idea how to fix this??? thanks a lot. rupert |
Greetings fisch,
For rebuilding OpenFOAM: Code:
foam Best regards, Bruno |
Hi,
I used kubuntu 11.10 (oneiric) before For OpenFOAM i used the intel icc 12.1 compiler (which i still try to use) The error occured during updating openfoam (because i changed something) and then during a complete new installation. 1) i tried your instruction and reinstalled openFOAM. i think i maybe forgot one step. Now the first error message sounds: Code:
icpc -std=c++0x -Dlinux64 -DWM_DP -wd327,654,819,1125,1476,1505,1572 -xHost -O3 -no-prec-div -DNoRepository -I/home/rupert/software/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -I/home/rupert/software/OpenFOAM/OpenFOAM-2.1.x/src/dynamicMesh/lnInclude -I/home/rupert/software/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/rupert/software/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/home/rupert/software/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC Make/linux64IccDPOpt/PDRMesh.o -L/home/rupert/software/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64IccDPOpt/lib \ Any idea?? thanks |
Hi fisch,
It's weird a bit strange that I/we didn't pick up on this before on Ubuntu 11.10, but here is a likely solution:
Best regards, Bruno |
Hi again,
thanks Bruno for your help. The two mentioned errors vanished; cheers. Now the following error was left: Code:
make[3]: Entering directory `/home/rupert/software/OpenFOAM/OpenFOAM-2.1.x/applications/utilities/mesh/manipulation/setSet' therefor i just installed the ncurses package with Code:
sudo apt-get install libncurses5-dev Now it's compiling nicely... |
I encountered a similar issue and this resolved it completely. Thanks!
Quote:
|
All times are GMT -4. The time now is 21:31. |