|
[Sponsors] |
Scripted install for CentOS/RHEL/SL 5.x 64bit |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 23, 2010, 07:15 |
Scripted install for CentOS/RHEL/SL 5.x 64bit
|
#1 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
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
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
February 2, 2010, 11:54 |
|
#2 |
New Member
Joaquín J. Correa
Join Date: Jan 2010
Posts: 18
Rep Power: 16 |
Any idea if it could work on CentOS 4.x?
Regards |
|
February 7, 2010, 12:31 |
|
#3 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
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.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
February 28, 2010, 03:16 |
Don't know how to start the script
|
#4 | |
New Member
ggruber
Join Date: May 2009
Posts: 12
Rep Power: 17 |
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:
|
||
February 28, 2010, 04:03 |
|
#5 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi
Yep you just have to put a space after the centFoamInstall command. like Code:
./centFoamInstall yumDependencies Code:
./centFoamInstall installOpenFOAM
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
February 28, 2010, 05:57 |
|
#6 | |
New Member
ggruber
Join Date: May 2009
Posts: 12
Rep Power: 17 |
Sorry, doesn't work:
Quote:
|
||
February 28, 2010, 06:01 |
|
#7 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
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
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
February 28, 2010, 06:34 |
script works !
|
#8 |
New Member
ggruber
Join Date: May 2009
Posts: 12
Rep Power: 17 |
This work's:
Logging in like so Code:
ssh -Y root@localhost |
|
April 10, 2010, 14:43 |
|
#9 |
New Member
VNPenguin
Join Date: Apr 2010
Posts: 19
Rep Power: 16 |
Excellent work!
Thank you, linnemann! |
|
April 10, 2010, 15:36 |
discretizer in centfoam install script ?
|
#10 |
New Member
ggruber
Join Date: May 2009
Posts: 12
Rep Power: 17 |
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 |
|
April 11, 2010, 03:50 |
|
#11 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi Gerhard
I will look into it next week.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
April 12, 2010, 05:03 |
|
#12 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi Gehard
I do not have any issues by just downloading the binary and then running Code:
sh discretizer64.sh
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
April 12, 2010, 13:37 |
|
#13 |
New Member
VNPenguin
Join Date: Apr 2010
Posts: 19
Rep Power: 16 |
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, |
|
April 13, 2010, 03:06 |
|
#14 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
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.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
April 17, 2010, 09:27 |
|
#15 |
New Member
Join Date: Apr 2010
Posts: 17
Rep Power: 16 |
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 |
|
April 17, 2010, 18:00 |
|
#16 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi
Code:
gzip: stdin: unexpected end of file tar: Unexpected EOF in archive tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now 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.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
April 18, 2010, 11:53 |
|
#17 | |
New Member
Join Date: Apr 2010
Posts: 17
Rep Power: 16 |
Quote:
Thanks linnemann, I will do the install again. D |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Installing OF 1.6 on Mac OS X | gschaider | OpenFOAM Installation | 129 | June 19, 2010 10:23 |
How to Install OpenFOAM on 64 Ubuntu 9.04 | hansel | OpenFOAM Installation | 62 | March 19, 2010 15:43 |