CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   To install OF-1.7.x on Scientific Linux (https://www.cfd-online.com/Forums/openfoam-installation/113947-install-1-7-x-scientific-linux.html)

Gitesh P March 1, 2013 07:41

To install OF-1.7.x on Scientific Linux
 
Hello,

Can anyone suggest me how to install OF-1.7.x on Scientific Linux 6.3 (It's based on Red Hat Enterprise Linux) ?

Thank you in advanced!

With regards,
GP



wyldckat March 2, 2013 10:13

Greetings Gitesh,

Does it have to be OpenFOAM 1.7.x?
Anyway, currently I'm not aware of any set of instructions that explain how to install 1.7.x on SL 6.3, but I'm guessing that you can do the following:
  1. Do step #1 from here: http://openfoamwiki.net/index.php/In...HEL#CentOS_6.3
  2. Then follow these instructions: http://www.openfoam.org/archive/1.7.1/download/git.php
  3. When it comes to building ParaView, don't. Instead, add the EPEL repositories and install the ParaView version that is supplied in that repository.
  4. Then edit the file "$WM_PROJECT_DIR/bin/paraFoam" and replace the file extensions ".OpenFOAM" to ".foam" and save.
Best regards,
Bruno

Gitesh P March 4, 2013 03:37

Hello Bruno,

Thank you for your help.

I am not getting exactly what are the last two steps (3rd and 4th one) suggest by you ?

With regards,
GP

wyldckat March 4, 2013 17:21

Hi Gitesh,

On #3, instead of building the ParaView version that comes with OpenFOAM's "ThirdParty-1.7.1" package, I advise you to install the latest ParaView version that is provided in the EPEL repositories: http://fedoraproject.org/wiki/EPEL

On #4, the idea is that for using the ParaView version that is installed from the EPEL repository, you'll need to do some small changes to the file "bin/paraFoam" that should be located in the folder "OpenFOAM-1.7.x". The full path should be revealed if after you build OpenFOAM 1.7.x, you run:
Code:

echo $WM_PROJECT_DIR/bin/paraFoam
Best regards,
Bruno


All times are GMT -4. The time now is 18:56.