hi everybody
I have just d
hi everybody
I have just downloaded from the powerlab the new OpenFOAM-1.5-dev version and the Thirdy Party software in the same folder. Also i have downloaded the gcc-4.3.2 and putted it in the folder /OpenFOAM/linux as explained in the wiki page. I have setted up correctly the bashrc file and added the line so everything is fine up to now. The wiki then said to compile the src directory only (without applications). but how? what is and what is not a row related to the applications? may someone post a list of how to in order to guide me?? thank very much antonio |
Hi Antonio,
yesterday I com
Hi Antonio,
yesterday I compiled the whole OpenFOAM-1.5-dev version without trouble. My system is Ubuntu 8.10 (standard installation). Before I can start to compile I need some additional packets: "apt-get install ..." flex++ g++ binutils binutils-dev cmake qt4 in the folder OpenFOAM-1.5-dev I only run: "./Allrun". I hope it helps a little bit. Bye Thomas |
Actually i have compiled that
Actually i have compiled that file and afterward i have compiled again the src, applications and applications/utilities as was proposed in the wiki. now everything works so thanks very much for the support :-)
|
Hi Antonio,
you are welcome
Hi Antonio,
you are welcome. Can you do favor to me? Can you try the tutorial: sloshingTank3D3DoF? I always got a error: Cannot read control cacheAgglomeration file: from 0 line to 0. From function void lduMatrix::solver::readControl { const dictionary& dict, T& control, const word& controlName } in file lnInclude/lduMatrixTemplate.C line 57. Thanks! Bye Thomas |
yes i tried and got the same
yes i tried and got the same error... maybe there is something odd!
sorry, i have no idea. |
i am trying to install again o
i am trying to install again openfoam-1.5-dev but still i got some error in the newest version 020209. May someone post me a list of the things to do (expecially regarding the setup of the compiler) since the wiki is slightly old.
thanks in advance |
Hi,
Antonio, try to use the
Hi,
Antonio, try to use the OpenFOAM compiler (ThirdParty) not the system g++ compiler for the newest version 020209. Bye Thomas |
Thanks for the advise thomas b
Thanks for the advise thomas but i don't get what you mean. :-( what am I supposed to do to compile? I'm not an expert in programming
|
Hi,
yeah, my english is not
Hi,
yeah, my english is not so well :-) I mean, change in /etc/settings.sh: # Select compiler installation # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # compilerInstall = OpenFOAM | System # compilerInstall=OpenFOAM compilerInstall=System Try it out. Bye Thomas |
I have changed the settings.sh
I have changed the settings.sh in this way:
# Select compiler installation # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # compilerInstall = OpenFOAM | System compilerInstall=OpenFOAM #compilerInstall=System but when i start the bashrc again it says: cfduser-dev@antonio-desktop:~/OpenFOAM/ThirdParty$ . ~/.bashrc Warning in /home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/etc/settings.sh: Cannot find /home/cfduser-dev/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux installation. Please install this compiler version or if you wish to use the system compiler, change the 'compilerInstall' setting to 'System' in this file and if I go to the ThirdParty dir at the command ls there is no gcc folder cfduser-dev@antonio-desktop:~/OpenFOAM/ThirdParty$ ls Allwmake libccmio-2.6.1 openmpi-1.2.6 ParMetis-3.1 wmakeFiles AllwmakeLibccmio malloc paraview-2.4.4 ParMGridGen-1.0 zlib-1.2.3 lam-7.1.4 metis-5.0pre2 ParaView3.3-cvs README |
Hi Antonio
I have compiled
Hi Antonio
I have compiled 1.5-dev recently, where I used the ThirdParty-components downloaded from opencfd's homepage. That does at least include the correct gcc-version. After that you should not have any problems, except that you might need to install "flex". I would recommend you to go to OpenFOAM-1.5-dev/src and execute Allwmake from there first, and after that compile all the applications. If you do that you can verify that all libraries are compiled successfully before you compile the apps, which need the libraries. Good luck, Niels |
Hi all.
I have successfully
Hi all.
I have successfully compiled the version 1.5-dev from powerlab using both, the system compiler (4.2.1) and the Third Party compiler (4.3.1). It works fine on openSuSE 10.3 64-bit. There are two issues that I found: 1) In building Paraview3, there is probably a misprint in the file ~/OpenFOAM/OpenFOAM-1.5-dev/etc/apps/paraview3/bashrc. The the path should be written as follows (not containing the line between ParaView and $): export ParaView_INST_DIR=$WM_THIRD_PARTY_DIR/ParaView$ParaView_VERSION. 2) I have troubles running the interDyMFoam tutorial damBreakWithObstacle. I have posted it under: Error: OF-1.5-dev interDyMFoam: keyword agglomerator is undefined in dictionary "" It seems that the subdictionary for pdFinal cannot be read. I have changed the solvers in fvSolution, but then there is an error in reading the settings for pcorr. Maybe some issue with the solvers. Any help would be appreciated. Best Regards, Edin. |
hi guys
i have successfully
hi guys
i have successfully compiled OpenFoam 1.5-dev,too. Here there is what I did for someone else in the same troubles: 1) as suggested by Tian, Install the following packages: sudo apt-get install flex++ g++ binutils binutils-dev cmake 2) download openFoam from the powerlab website. Then download the thirdparty software from the official openFoam website. Extract the three packages (1 openFoam + 2 thirdParty) in a directory in the home called openFOAM. 3) Add the following line to the .bashrc in the home directory: . ~/OpenFOAM/OpenFOAM-1.5-dev/etc/bashrc or something that point at that bashrc file. Do: . ~/.bashrc 4) change the solver settings in OpenFOAM-1.5-dev/etc/settings.sh from: # Select compiler installation # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # compilerInstall = OpenFOAM | System # compilerInstall=OpenFOAM compilerInstall=System to # Select compiler installation # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # compilerInstall = OpenFOAM | System compilerInstall=OpenFOAM #compilerInstall=System 5)compile the ThirdParty folder running ./Allwmake 6) compile OpenFoam running ./Allwmake et voilà! everything should work. Thanks to everybody of you guys!!! |
Hi All,
I compiled the 1.5-
Hi All,
I compiled the 1.5-dev and tryed to use it with ThirdParty binaries. paraFoam didn't work even after recompiling paraview and parafoam. the error message I got was sth. like: paraview: command not found After that I searched a little bit and found out, that the foam/etc/apps/paraview3/bashrc differs from the one in original 1.5 release: The line here is: export Paraview_INST_DIR=$WM_THIRD_PARTY_DIR/ParaView-$ParaView_VERSION compared to the original one: export Paraview_INST_DIR=$WM_THIRD_PARTY_DIR/ParaView$ParaView_VERSION that lead to the wrong environmental variables. Maybe this helps someone or someone could explain why it is defined differently. Marco |
Hi Marco,
I have also seen it
Hi Marco,
I have also seen it a couple of weeks ago and posted it here (see above). Simply change the line (not containing the mid line), it will work. Regards, edin. |
hi, foamers,
I need informa
hi, foamers,
I need information , what's the difference between the OF-1.5 available in the web page of openfoam, and the OF-1.5-dev? Thanks for answer. |
Hi Hamdi
OF-1.5 on webpage
Hi Hamdi
OF-1.5 on webpage is the original version. It (possibly) has some bugs. To improve upon this released version various patches are released using GIT by OpenCFD. http://repo.or.cz/w/OpenFOAM-1.5.x.git Then there is the a development version(OF-1.5.dev) which has these patches and some other stuff which is being developed. So to put the message in one line: Install GIT on your system http://git-scm.com/download ; then get the patched version and compile it. Refer to this old message for clarification from the expert. http://www.cfd-online.com/cgi-bin/Op...2745#POST32745 best regards, Rishi |
another good source to clarify
|
Quote:
i just installed OpenFOAM-1.5-dev into another user/second user (not administrator user) and succeed to run OpenFOAM-1.5-dev in my administrator user i installed OpenFOAM-1.5, and was succeed by using Jure Installation Script for OpenFOAM 1.5 including it's Paraview on ThirdParty Package), i tries several ways to install paraview in second user (OpenFOAM-1.5-dev), but didnt help 1. by using ThirdParty.General_2008-12-11.tgz, from http://powerlab.fsb.hr/ped/kturbo/OpenFOAM/release/ , ./Allwmake not help 2. download the ThirdParty from Official OpenFOAM website, doesnt help, install manually , 1) unpack openfoam-1.5-dev, openfoam-1.5-linuxGccDPOpt, thirdparty.general, thirdparty.linuxGcc 3. using Jure installation script for the paraview installation , http://www.cfd-online.com/Forums/ope...-script-3.html 4. follow this thread http://www.cfd-online.com/Forums/ope...d-regions.html, and http://www.cfd-online.com/Forums/ope...foam15dev.html In building Paraview3, there is probably a misprint in the file ~/OpenFOAM/OpenFOAM-1.5-dev/etc/apps/paraview3/bashrc. The the path should be written as follows (not containing the line between ParaView and $): export ParaView_INST_DIR=$WM_THIRD_PARTY_DIR/ParaView$ParaView_VERSION. and so on do you know, how to solve this problem? this is the error message: simulation15@user-laptop:~/OpenFOAM/simulation15-1.5-dev/run/tutorials/icoFoam/cavity$ paraFoam /home/simulation15/OpenFOAM/OpenFOAM-1.5-dev/bin/paraFoam: 103: paraview: not found simulation15@user-laptop:~/OpenFOAM/simulation15-1.5-dev/run/tutorials/icoFoam/cavity$ paraview The program 'paraview' is currently not installed. To run 'paraview' please ask your administrator to install the package 'paraview' bash: paraview: command not found simulation15@user-laptop:~/OpenFOAM/simulation15-1.5-dev/run/tutorials/icoFoam/cavity$ could anyone help me how to install paraview in second linux (ubuntu 8.10) user? |
i succeed to change set the second user as a administrator group, by using System --> Administration --> user and group in my Ubuntu 8.10
now, im installing paraview, hopefully it will work. |
OpenFOAM-1.5-dev compiling problem
Hi,:eek::cool::confused:
I have downloaded the 1.5-dev version from http://powerlab.fsb.hr/ped/kturbo/OpenFOAM/release/ , but I have difficulty compiling it. Here is the exact process that I have done: cd /home/ad/OpenFOAM 1-I did : tar -xzf OpenFOAM-1.5-dev.General_2009-04-11.tgz 2-I did : tar -xzf ThirdParty.General_2008-12-11.tgz 3-cd etc/ 4-source bashrc 5-cd ~ 6-vi .bashrc 7-I added . /home/ad/OpenFOAM/OpenFOAM-1.5-dev/etc/bashrc to the end of .bashrc in home directory, then I did source .bashrc (no error sofar) 9-when I start compileing it by typing ./Allwamke after almost one hour of compiling it returns me the following error (the src files are compiled with no errors, but neither of applications are compiled, they all come with Error 1 or Error 2): make[3]: *** [/home/ad/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linux64GccDPOpt/makeFaMesh] Error 1 make[2]: *** [makeFaMesh] Error 2 Making dependency list for source file curvedEdges/curvedEdge.C Making dependency list for source file curvedEdges/lineEdge.C g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/home/ad/OpenFOAM/OpenFOAM-1.5-dev/src/decompositionAgglomeration/decompositionMethods/lnInclude -I/home/ad/OpenFOAM/OpenFOAM-1.5-dev/src/autoMesh/lnInclude -I/home/ad/OpenFOAM/OpenFOAM-1.5-dev/src/meshTools/lnInclude -I/home/ad/OpenFOAM/OpenFOAM-1.5-dev/src/triSurface/lnInclude -I/home/ad/OpenFOAM/OpenFOAM-1.5-dev/src/dynamicMesh/lnInclude -I/home/ad/OpenFOAM/OpenFOAM-1.5-dev/src/edgeMesh/lnInclude -I/home/ad/OpenFOAM/OpenFOAM-1.5-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/ad/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude -I/home/ad/OpenFOAM/OpenFOAM-1.5-dev/src/OSspecific/Unix/lnInclude -fPIC Make/linux64GccDPOpt/snappyHexMesh.o -L/home/ad/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt \ -L/home/ad/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/openmpi-1.2.6 -lparMetisDecompositionMethod -lfiniteVolume -ldecompositionMethods -ldynamicMesh -lmeshTools -lautoMesh -lOpenFOAM -liberty -ldl -lm -o /home/ad/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linux64GccDPOpt/snappyHexMesh /usr/bin/ld: cannot find -lfiniteVolume collect2: ld returned 1 exit status make[3]: *** [/home/ad/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linux64GccDPOpt/snappyHexMesh] Error 1 make[2]: *** [snappyHexMesh] Error 2 or linux64GccDPOpt \ -lmeshTools -lfiniteVolume -ldynamicMesh -lOpenFOAM -liberty -ldl -lm -o /home/ad/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linux64GccDPOpt/blockMesh /usr/bin/ld: cannot find -lmeshTools collect2: ld returned 1 exit status make[3]: *** [/home/ad/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linux64GccDPOpt/blockMesh] Error 1 make[2]: *** [blockMesh] Error 2 make[2]: Target `application' not remade because of errors. make[1]: *** [generation] Error 2 make[1]: Target `application' not remade because of errors. make: *** [mesh] Error 2 make: Target `application' not remade because of errors. + '[' '' = doc ']' [ad@fluent-srv4 OpenFOAM-1.5-dev]$ 10-It did have no have no affect if I use the binary version of the Third party or the developed version I am getting with both the same error. Can anyone help me? Am I doing something Wrong?:confused::confused::confused: (should I do it as root??) |
Hi,
I received a similar error, which should be no problem for the professionals. The build process of 1.5-dev on my OpenSuse 11.0 was successful until the solvers came: ... + cd solvers + wmake all Making dependency list for source file coodles.C Making dependency list for source file sixDOFSolver.C SOURCE=sixDOFSolver.C ; g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/home/marco/OpenFOAM/OpenFOAM-1.5-dev/src/meshTools/lnInclude -I/home/marco/OpenFOAM/OpenFOAM-1.5-dev/src/ODE/lnInclude -IlnInclude-I. -I/home/marco/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude -I/home/marco/OpenFOAM/OpenFOAM-1.5-dev/src/OSspecific/Unix/lnInclude -fPIC -c $SOURCE-o Make/linux64GccDPOpt/sixDOFSolver.o SOURCE=coodles.C ; g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/home/marco/OpenFOAM/OpenFOAM-1.5-dev/src/finiteVolume/lnInclude -I/home/marco/OpenFOAM/OpenFOAM-1.5-dev/src/thermophysicalModels/specie/lnInclude -I/home/marco/OpenFOAM/OpenFOAM-1.5-dev/src/thermophysicalModels/basic/lnInclude -I/home/marco/OpenFOAM/OpenFOAM-1.5-dev/src/turbulenceModels/LES-I/home/marco/OpenFOAM/OpenFOAM-1.5-dev/src/turbulenceModels/LES/LESdeltas/lnInclude -IlnInclude -I. -I/home/marco/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude -I/home/marco/OpenFOAM/OpenFOAM-1.5-dev/src/OSspecific/Unix/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/coodles.o g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/home/marco/OpenFOAM/OpenFOAM-1.5-dev/src/meshTools/lnInclude -I/home/marco/OpenFOAM/OpenFOAM-1.5-dev/src/ODE/lnInclude -IlnInclude -I. -I/home/marco/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude -I/home/marco/OpenFOAM/OpenFOAM-1.5-dev/src/OSspecific/Unix/lnInclude -fPIC Make/linux64GccDPOpt/sixDOFSolver.o-L/home/marco/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt \ -lmeshTools -lODE -lOpenFOAM -liberty -ldl -lm -o /home/marco/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linux64GccDPOpt/sixDOFSolver /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -liberty collect2: ld returned 1 exit status ... So, does anyone know why this appears? As I said, before there were no errors! Thank you Marco |
What should be the end of Allwmake in OF1.5-dev?
Hi,
I would like to install OF1.5-dev correctly on my Ubuntu 8.04. The "foamSystemCheck" is ok. The foamInstallationTest is ok too but the following error occured during the ./Allwmake in OpenFOAM1.5-dev/: make[4]: make[4]: make[4]: Rien à faire pour « application ». [: 191: ==: unexpected operator make[4]: Rien à faire pour « application ». make[2]: « /home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linuxGccDPOpt/patchSummary » est à jour. make[2]: « /home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linuxGccDPOpt/expandDictionary » est à jour. g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -IlnInclude -I. -I/home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude -I/home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/src/OSspecific/Unix/lnInclude -fPIC -pthread Make/linuxGccDPOpt/foamDebugSwitches.o -L/home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/lib/linuxGccDPOpt \ -lbasicThermophysicalModels -lchemistryModel -lcombustionThermophysicalModels -lcompressibleLESModels -lcompressibleRASModels -ldecompositionMethods -ldieselSpray -ldynamicFvMesh -ldynamicMesh -ledgeMesh -lengine -lerrorEstimation -lfiniteVolume -lforces -lfvMotionSolver -lincompressibleLESModels -lincompressibleTransportModels -lincompressibleRASModels -linterfaceProperties -llagrangianIntermediate -llagrangian -llaminarFlameSpeedModels -lLESdeltas -lLESfilters -lliquidMixture -lliquids -lmeshTools -lODE -lOpenFOAM -lpdf -lphaseModel -lradiation -lrandomProcesses -lsampling -lsolidMixture -lsolids -lspecie -lthermophysicalFunctions -ltopoChangerFvMesh -ltriSurface -lOpenFOAM -ldl -lm -o /home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linuxGccDPOpt/foamDebugSwitches make[3]: « /home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linuxGccDPOpt/wallGradU » est à jour. make[3]: « /home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linuxGccDPOpt/yPlusRAS » est à jour. /home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/lib/linuxGccDPOpt/liberrorEstimation.so: undefined reference to `Foam::undoableMeshCutter::setRefinement(Foam::cel lCuts const&, Foam::polyTopoChange&)' /home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/lib/linuxGccDPOpt/liberrorEstimation.so: undefined reference to `Foam::undoableMeshCutter::removeSplitFaces(Foam:: List<int> const&, Foam::polyTopoChange&)' collect2: ld returned 1 exit status make[2]: *** [/home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linuxGccDPOpt/foamDebugSwitches] Erreur 1 make[1]: *** [foamDebugSwitches] Erreur 2 make[3]: « /home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linuxGccDPOpt/wallHeatFlux » est à jour. [: 191: ==: unexpected operator make[2]: « /home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linuxGccDPOpt/foamInfoExec » est à jour. make[3]: « /home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linuxGccDPOpt/streamFunction » est à jour. make[2]: « /home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linuxGccDPOpt/findRoot » est à jour. [: 191: ==: unexpected operator [: 191: ==: unexpected operator make[3]: Rien à faire pour « application ». [: 191: ==: unexpected operator [: 191: ==: unexpected operator make[4]: Rien à faire pour « application ». [: 191: ==: unexpected operator make[4]: Rien à faire pour « application ». [: 191: ==: unexpected operator make[4]: Rien à faire pour « application ». [: 191: ==: unexpected operator make[3]: Rien à faire pour « application ». [: 191: ==: unexpected operator make[3]: Rien à faire pour « application ». make[3]: « /home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linuxGccDPOpt/Pe » est à jour. make[3]: « /home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linuxGccDPOpt/flowType » est à jour. make[2]: « /home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linuxGccDPOpt/foamFormatConvert » est à jour. make[1]: La cible « application » n'a pas pu être refabriquée à cause d'erreurs. make: *** [miscellaneous] Erreur 2 [: 191: ==: unexpected operator [: 191: ==: unexpected operator + wmake libso extrudeModel '/home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/lib/linuxGccDPOpt/libextrudeModel.so' is up to date. + wmake … … … make[4]: Rien à faire pour « application ». [: 191: ==: unexpected operator make[4]: Rien à faire pour « application ». [: 191: ==: unexpected operator make[4]: Rien à faire pour « application ». [: 191: ==: unexpected operator make[3]: « /home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linuxGccDPOpt/insideCells » est à jour. make[3]: Rien à faire pour « application ». [: 191: ==: unexpected operator make[3]: Rien à faire pour « application ». make[3]: « /home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linuxGccDPOpt/cellSet » est à jour. make[2]: « /home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linuxGccDPOpt/surfaceCoarsen » est à jour. make[2]: « /home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linuxGccDPOpt/surfaceConvert » est à jour. make[2]: « /home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linuxGccDPOpt/surfaceOrient » est à jour. make[3]: « /home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linuxGccDPOpt/deformedTetFemGeom » est à jour. make[2]: « /home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linuxGccDPOpt/surfaceMeshTriangulate » est à jour. make[3]: « /home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linuxGccDPOpt/zipUpMesh » est à jour. make[2]: « /home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linuxGccDPOpt/surfaceTransformPoints » est à jour. make[3]: « /home/sylvain/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linuxGccDPOpt/renumberMesh » est à jour. make: La cible « application » n'a pas pu être refabriquée à cause d'erreurs. + [ = doc ] sylvain@sylvain-laptop:~/OpenFOAM/OpenFOAM-1.5-dev$ I would like to know if all is ok since when I try to compile PV3FoamReader module I got nothing: : sylvain@sylvain-laptop:~/OpenFOAM/OpenFOAM-1.5-dev/applications/utilities/postProcessing/graphics/PV3FoamReader$ ./Allwclean + rm -r PV3FoamReader/Make rm: ne peut enlever `PV3FoamReader/Make': Aucun fichier ou dossier de ce type + wclean libso vtkPV3Foam wclean vtkPV3Foam sylvain@sylvain-laptop:~/OpenFOAM/OpenFOAM-1.5-dev/applications/utilities/postProcessing/graphics/PV3FoamReader$ ./Allwmake + [ -d /home/sylvain/OpenFOAM/ThirdParty/ParaView-3.3-cvs/platforms/linuxGcc -a -r /home/sylvain/OpenFOAM/ThirdParty/ParaView-3.3-cvs/platforms/linuxGcc ] sylvain@sylvain-laptop:~/OpenFOAM/OpenFOAM-1.5-dev/applications/utilities/postProcessing/graphics/PV3FoamReader$ sylvain@sylvain-laptop:~/OpenFOAM/OpenFOAM-1.5-dev/applications/utilities/postProcessing/graphics/PV3FoamReader$ What should be the output of this compiling PV3FoamReader? Thanks... |
ParaView 3.4 was the solution
Hi, I finaly install OpenFOAM-1.5-dev with paraFoam. All is OK now. I solved the problem by installing paraview 3.4 and by modifying buildParaView3.3-cvs to have a buildParaView-3.4.0 (in bin and bin/tools), pointing to that and the bashrc of paraview (in etc/apps/paraview3) to point the correct version on paraview to install.
I use Ubuntu 8.04 with Qmake 4.3.4 and gcc 4.3.1. |
Quote:
|
All is OK?
I Julian,
Let me know if you succeed or not. SM |
Hi Sylvain,
unfortunately I did not succeed :(. Here is what I did: - I downloaded the source file of Paraview3.4 - unzipped it into the ThirdParty directory - created a buildParaView3.4.0 in bin and bin/tools - in settings.sh I set the following: compilerInstall=OpenFOAM - corrected the file buildParaViewFunctions with the original file from OF-1.5 - then the following command: rm -rf ParaView3.4.0/platforms- the compilation succeed - then: cd $FOAM_UTILITIES/post-processing/graphics/PV3FoamReaderwhich gave me the following output: Code:
+ [ -d /home/ofdevel/OpenFOAM/ThirdParty/ParaView-3.4.0/platforms/linux64Gcc -a -r /home/ofdevel/OpenFOAM/ThirdParty/ParaView-3.4.0/platforms/linux64Gcc ] - then I tried to start paraFoam: paraFoam &and got this output: Code:
/home/ofdevel/OpenFOAM/OpenFOAM-1.5-dev/bin/paraFoam: 103: paraview: not found Somehow, my shell doesn't know the command: paraview |
Dear Julian,
your problem with the dash sounds faimilar. See here for discussion: http://www.cfd-online.com/Forums/ope...s-1-5-dev.html Henrik |
Hi Julian,
When you unzip ParaView 3.4.0, The true directory name is ParaView-3.4.0. You have to keep it like this because the installation files are linked to this one. So Clean your ThirdParty folder with removing the ParaView3.4 and unzip it again. Go to OpenFOAM-1.5-dev/bin and copy and paste the buildParaView3.3-cvs and rename it buildParaView-3.4.0. Open it and change de paraview SRC and MAJOR_VERSION: PARAVIEW_SRC="ParaView-3.4.0" PARAVIEW_MAJOR_VERSION="3.4.0" Go to OpenFOAM-1.5-dev/bin/tools and copy and paste the buildParaView3.3 and rename it buildParaView-3.4.0. Open it and change: PARAVIEW_SRC=ParaView-3.4.0 PARAVIEW_MAJOR_VERSION=3.4.0 Go to OpenFOAM-1.5-dev/etc/apps/paraview3 and open bashrc. Change the version by replacing 3.3-cvs by 3.4.0. Go to OpenFOAM-1.5-dev/etc and set the compiler installation setting to OpenFOAM in settings.csh and in settings.sh (compilerInstall=OpenFOAM) After this, go to your OpenFOAM-1.5-dev folder in a terminal and type ./Allwmake. if you don't have error during the process, all should be OK since paraview should be installed during this process. As you saw, my version of OpenFOAM is the development version 1.5-dev. |
Hey Sylvain,
thank you very much for the explicit description! I'm just compiling ParaView-3.4.0 separately. I tried to compile OpenFOAM-1.5-dev, but my system stopped the process after 2 minutes, saying that all files are up-to-date. Still, ParaView didn't work. Anyway, the system is comiling ParaView separately - I'll post the result when it's done. |
So, compiling just finished.
Now, after compiling the PV3FoamReader, paraview and paraFoam is working properly. Thank you! |
OpenFOAM-1.5-extend - Installtion
1 Attachment(s)
Hi,
I attached a short tutorial, that I wrote based on my experiences, which should explain how to install OpenFOAM-1.5-extend (OpenFOAM-1.5-dev). Does someone have any suggestions or corrections to it? |
Hi,
How can I see the installation instructions? I have unzziped the file but I can not see anything. Is there any installation script for OpenFoam 1.5-dev? |
Hi,
I have installed OpenFoam 1.5-dev succesfully with the instruction of Julian but with the details of smart about settings.csh and settings.sh. I have noticed an important detail for me. With I untar the package, several execution files do not have execution permission. So, for example, I can not do ./Allwmake because of permission. With sudo ./Allwmake, the command was not known. So the solution for my case was to change the permission to all OpenFoam folder with chmod -R 777 OpenFoam ( maybe 755 would be enough but ....). I have checked the installation and all is ok, paraFoam and ParaView too. Any idea why I had to do that? Any other possibility? |
Installation of openfoam-1.5-dev on Ubuntu 8.10 or 9.10
2 Attachment(s)
I have collected the instructions about the compilation of openfoam-1.5-dev, which have been published in the openfoam user community. With some painful trial, I have successfully compiled openfoam-1.5-dev to both 64-bit Ubuntu 8.10 and 9.10 machines recently. The procedures are summarized in the following two files, respectively. I wish that my efforts can give you some boost in the compilation of openfoam in the relevant OS.
Both ParaView-3.4.0 and 3.6.1 are tested and instructions for their compilation can be found in the attached doc also. Please note that I cannot gurantee that the links to the respective packages provided in the attached files are correct. If not, user need necessarily to justify it. Cheers!:):) |
All times are GMT -4. The time now is 19:39. |