Scripted install for CentOS/RHEL/SL 5.x 64bit
Hi all
I've created install/update script for OpenFOAM-1.6.x and OpenFOAM-1.5-dev on sourceforge. This should make installation much easier for CentOS/RHEL/SL 5.x 64. The script can also update the current installation to the newest git/svn. The update will put a local snapshot on your computer and the first time you update it will recompile everything. The next updates should be faster because it retains the update folder and only update the files. Please post your findings on the official centFOAM forum. Link to wikipage |
Any idea if it could work on CentOS 4.x?
Regards |
Hi
I have no idea since 4.x is outdated in my world :-) I have although compiled 1.4.1 and 1.5 on RHEL 4.x so it is certainly doable. This is a very long time ago and I cant remember the steps. If possible I would see if the IT people wouldn't be interested in upgrading your cluster to ROCKS 5.3. There is really a big gain in upgrading. This is what I did, but I'm also in a position where I maintain our cluster install. |
Don't know how to start the script
Hello linnemann,
that would be pretty good to get OpenFOAM and the most pre-processing/meshing Software very easy installed with your script. So I made a fresh installation of centOS-5.4. But I don't know how to run the script ? Quote:
|
Hi
Yep you just have to put a space after the centFoamInstall command. like Code:
./centFoamInstall yumDependencies Code:
./centFoamInstall installOpenFOAM |
Sorry, doesn't work:
Quote:
|
Well thats funny,,
The script is setup to check if you are root when running the yumDependencies option. You could just open the script and comment the part about root in the yumDependencies function. I've done it on my own computer at everything is fine. It could be that you logged in as root using the "su" command. This will not work at the terminal still thinks you are the "user" and not root. Logging in like so Code:
ssh -Y root@localhost |
script works !
This work's:
Logging in like so Code:
ssh -Y root@localhost |
Excellent work!
Thank you, linnemann! |
discretizer in centfoam install script ?
Hello Linnemann,
i prefur to work with discretizer http://www.discretizer.org as "GUI" (pre-processing-Tool) for OpenFOAM. When i install the actual binary and start discretizer(_setup) the desktop freezes completely (no more action possible). Is it possible for you to integrate discretizer in your installation script so that it will work in the future ? Regards Gerhard |
Hi Gerhard
I will look into it next week. |
1 Attachment(s)
Hi Gehard
I do not have any issues by just downloading the binary and then running Code:
sh discretizer64.sh http://www.cfd-online.com/Forums/att...1&d=1271058873 |
Hi Linnemann,
I know that your binary package should work also under CentOS 5.4. But it would be nicer if you could update your build for CentOS 5.4 ;) Waiting for your files :) OpenFOAM-1.6.x_CentOS-5.4_x86-64.tar.gz ThirdParty-1.6.x_CentOS-5.4_x86-64.tar.gz Thank you for your work, Regards, |
Hi Vnpenguin
As there is no problem with the current version on 5.4 besides the name containing 5.3. It would be more right to just name it 5.x, but this is how I did it since I hadn't thought it through :) When CentOS 5.5 comes out I will be cleaning the whole project up and do a complete recompile of both 1.6.x and 1.5-dev, and maybe 1.7 if its out by that time. For now you will have to live with the "wrong" naming convention. |
1 Attachment(s)
Hi,
I am trying to use the script in Centos5.4 x64 and I am getting some errors, can you please have a look, I have attached the log. Thanks, D |
Hi
Code:
gzip: stdin: unexpected end of file Also you have the error Code:
2010-04-17 11:56:11 ERROR 503: Service Temporarily Unavailable. The script is working fine the packages is just not able to be downloaded so it is a connection problem. If I were you I would start over and delete the archives in /tmp. |
Quote:
Thanks linnemann, I will do the install again. D |
All times are GMT -4. The time now is 12:28. |