Installing OpenFOAM 2.1 and enGrid
Hello everyone,
I would like to know how I could install openfoam, paraview and engrid and not crashing my ubuntu 11.10. I tried to install engrid last week and couldn't open it. If I tried the command 'engrid' it said the executable was not found, if I tried to run 'engridFoam' it was complaining about some VTK in the ThirdParty directory (which I had not installed). After trying a few things, paraview stopped working. I managed to uninstall each of those softwares, installed them back again and still nothing worked. Even Gmsh didn't work properly. Everything related with display. To make things short, my system got corrupted and I've had to reinstall ubuntu again. So, Could someone help me installing openfoam, paraview, engrid, and a good geometry generation program to mesh with the latter, from scratch and noticing that I would like to installed the newst openfoam version (2.1.0), either from ubuntu deb compiled files or from sources. Thanks! |
I installed engrid 2 days ago and everything keeps working fine. I haven't teste foamToEngrid though…
|
Greetings to all!
@aerospain: I don't have much time to go into detail, so here's the summary:
Bruno |
Hi lovecraft22,
Glad to hear it worked for you! |
Hi wyldckat,
I will try your suggestions tomorrow, I forgot to open ssh connectivity at work before leaving and cannot do anything from home :-( I have a question at this point. With which sources should I start following the steps for the SuperBuild. Let's assume I install OpenFOAM with the 'official' deb packages. Thanks! |
Hi aerospain,
Quote:
Quote:
Quote:
The reasoning is simple: if you install the OpenFOAM deb packages, means that all of the source code and binaries that come with OpenFOAM will be placed in "/opt", which is only editable by the "root" user. This means that if you do one wrong step, you could completely damage your entire Ubuntu installation... which you've already done once!!! Therefore: DO NOT use the OpenFOAM deb packages!!! If you use either the Source Pack or the Repository Release, if things go wrong, you'll only damage your own user folder, not your entire installation! And if that happens, you only have to create a new user name for yourself and start once more to install OpenFOAM. If you want to provide your personal OpenFOAM build to everyone that uses your machine, then it's just a matter of properly copying the resulting build to the suitable folders and simply edit one or two files to make things work in the copied version. If this is the case, let us know! Best regards, Bruno |
Hello wyldckat,
Unfortunately, it hasn't worked for me. I got one error during make which I thought meant I had to repeat the make process a few times, as you recommend in your post. But, in the end, I got the following error message: >>>>> CMake Error at Silo-prefix/src/Silo-stamp/download-Silo.cmake:6 (file): file DOWNLOAD MD5 mismatch for file: [/opt/ThirdParty-2.1.x/build/linux64Gcc/SuperBuild/silo-4.8-bsd.tar.gz] expected MD5 sum: [040d99a7b55be4e2e0bb765560d3137c] actual MD5 sum: [03e27c977f34dc6e9a5f3864153c24fe] make[2]: *** [Silo-prefix/src/Silo-stamp/Silo-download] Error 1 make[1]: *** [CMakeFiles/Silo.dir/all] Error 2 make: *** [all] Error 2 ^C[1]+ Exit 2 sudo make -j 8 > make.log 2>&1 <<<<< Thanks for your help |
Hi aerospain,
Sorry for the delay, but I wasn't able to look into this sooner. The fix should be as follows:
Best regards, Bruno |
All times are GMT -4. The time now is 14:23. |