Compile Thirdparty-2.3.0
Hello. After posting here : http://www.cfd-online.com/Forums/ope...oam-block.html I've decided to compile OpenFOAM from source. I followed : http://www.openfoam.org/download/source.php and succesfully compiled OpenFOAM-2.3.0. However, when I try to install Thridparty programs ./makeParaView4 give me an error :
Code:
[jils@archlinux:ThirdParty-2.3.0]$ ./makeParaView4 Code:
source /opt/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc Code:
bash: /home/jils/OpenFOAM/OpenFOAM-2.3.0/bin/foamEtcFile: No such file or directory Code:
[jils@archlinux:ThirdParty-2.3.0]$ $WM_THIRD_PARTY_DIR I put packages in /opt/OpenFOAM, untared and installed. seav |
Your source tree is in /opt/OpenFOAM/, while it is looking for /home/jils/OpenFOAM. Please check /opt/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc, and check all references and variables for consistensy to where you have put it.
|
Thank you for your reply, it helped. However, I got an error during the compilation :
Code:
Linking CXX static library libNPICAdaptor.a Code:
[jils@archlinux:~]$ paraFoam --help Code:
[jils@archlinux:PV4Readers]$ ./Allwmake Code:
export ParaView_DIR=/opt/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc/ParaView-4.1.0 Code:
export ParaView_DIR=/opt/OpenFOAM/ThirdParty-2.3.0/build/linux64Gcc/ParaView-4.1.0 seav |
Ok. I succesfuly compiled OpenFOAM(..again) and ParaView. But I got error when I try to compile Readers.
Code:
cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers Code:
SOURCE=vtkPV4Foam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-2.3.0/src/meshTools/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.3.0/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.3.0/src/lagrangian/basic/lnInclude -I../../vtkPV4Readers/lnInclude -I../PV4FoamReader -I/opt/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc/ParaView-4.1.0/include/paraview-4.1 -UHAS_VTK_POLYHEDRON -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.3.0/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.3.0/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/vtkPV4Foam.o |
Greetings to all!
@seav: OK, I'm a bit lost on how exactly you've reach to this point, but from what I can figure out:
Do you know if Manjaro is similar enough to ArchLinux? Because if it is, then I can try to give it a try and write build instructions for it. Best regards, Bruno |
Hello Bruno, nice to see you here :).
Quote:
After that I got an error when I tried to use paraFoam. I've got this message: Code:
cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers Code:
cd $FOAM_TUTORIALS/incompressible/icoFoam/cavity Code:
---> FOAM FATAL ERROR: Code:
Executing ./foamInstallationTest: seav |
OK, two details:
Code:
which paraview |
As root the error is the same :
Code:
[root@archlinux:PV4Readers]# ./Allwmake Code:
[root@archlinux:PV4Readers]# which paraview |
Hi seav,
I don't know what it is, but something is not right with the installation of ParaView. Knowing the details of how you built ParaView 4.1.0 would be helpful. Anyway, let's try this - as root:
Best regards, Bruno |
Thank you for your replies. It was very useful and helpful.
After moment without an idea I decided to install previous version. And I have found what I`ve missed in paraview4.1.0. Code:
cd $WM_THIRD_PARTY_DIR I have installed OF-2.2.2 since its work and everything is fine including paraFoam -block option. Thank you once again Bruno. seav |
All times are GMT -4. The time now is 09:30. |