CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

OpenFOAM-1.7.0 for CentOS/RHEL/SL 5.x 64bit released

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   June 25, 2012, 04:21
Default
  #61
New Member
 
Jindo
Join Date: Mar 2011
Location: Germany
Posts: 25
Rep Power: 7
phuchuynh is on a distinguished road
Quote:
Originally Posted by linnemann View Post
Hi

It seems gcc cant find mpfr according to this

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35577

Did you remember to run OF17 before configuring else the path for gmp and mpfr cant be found

You could try with the full path instead of

--with-gmp=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER_ARCH/gmp-5.0.1 --with-mpfr=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER_ARCH/mpfr-2.4.2

use

--with-gmp=$HOME/OpenFOAM/ThirdParty-1.7.0/platforms/linux/gmp-5.0.1 --with-mpfr=$HOME/OpenFOAM/ThirdParty-1.7.0/platforms/linux/mpfr-2.4.2


Or add gmp and mpfr to your LD_LIBRARY_PATH
I tried
Quote:
../configure --prefix=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER_ARCH/gcc-4.4.4 --with-gmp=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER_ARCH/gmp-5.0.1 --with-mpfr=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER_ARCH/mpfr-2.4.2
and I have some errors:

Quote:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking for C compiler default output file name... configure: error: in `/home/ha.la/build/gcc-4.4.4/build':
configure: error: C compiler cannot create executables
See `config.log' for more details
Plz, Can you help me ?
thanks
phuc
phuchuynh is offline   Reply With Quote

Old   June 25, 2012, 18:09
Default
  #62
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,748
Blog Entries: 39
Rep Power: 103
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Greetings phuchuynh,

I can't go into much details about this, so I'll point you to a couple of possibilities:
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 9, 2012, 15:14
Default
  #63
New Member
 
Join Date: Oct 2012
Posts: 1
Rep Power: 0
kalbozo is on a distinguished road
I'm looking into using paraview on my shared cluster. I just want to clarify, your tarball for paraview 3.14 on your sourceforge page runs on OpenMPI not mpich?
kalbozo is offline   Reply With Quote

Old   October 10, 2012, 01:39
Default
  #64
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 473
Rep Power: 16
linnemann will become famous soon enough
Hi, Yes that is correct.
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote

Old   November 29, 2012, 03:11
Default
  #65
Senior Member
 
Dr. Alexander Vakhrushev
Join Date: Mar 2009
Posts: 215
Rep Power: 11
makaveli_lcf is on a distinguished road
Send a message via ICQ to makaveli_lcf
Short tip from me:

centFoam.py script works perfectly, except one has to fix installation path in the etc/bashrc as following:

Code:
###########################################
# USER EDITABLE PART: Changes made here may be lost with the next upgrade
#
# either set $FOAM_INST_DIR before sourcing this file or set
# 'foamInstall' below to where OpenFOAM is installed
#
# Location of the OpenFOAM installation
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

foamInstall=/home/my_OF_user/centFOAM/$WM_PROJECT
#foamInstall=$HOME/$WM_PROJECT
Cheers,
Alex
__________________
Best regards,

Dr. Alexander VAKHRUSHEV

Christian Doppler Laboratory for "Advanced Process Simulation of
Solidification and Melting"

Simulation and Modelling of Metallurgical Processes
Department of Metallurgy
University of Leoben

Franz-Josef-Str. 18
A - 8700 Leoben
Österreich / Austria
Tel.: +43 3842 - 402 - 3125
http://smmp.unileoben.ac.at
makaveli_lcf is offline   Reply With Quote

Old   October 24, 2013, 14:06
Default
  #66
Senior Member
 
Vishal Nandigana
Join Date: Mar 2009
Location: Champaign, Illinois, U.S.A
Posts: 208
Rep Power: 10
nandiganavishal is on a distinguished road
Hi Linnemann,

I was reading your posts on OF installation on CentOS and Rocks cluster. I am trying to install CENTFOAM on my cluster using your link "http://sourceforge.net/apps/mediawiki/centfoam/index.php?title=Main_Page". However, the version of our CentOS is 4.4, while I see that your installation procedure is for 5.x. Does the procedure still be valid for 4.x operating system. Please let me know.

Thanks

Regards,
Vishal
nandiganavishal is offline   Reply With Quote

Old   October 26, 2013, 13:04
Default
  #67
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,748
Blog Entries: 39
Rep Power: 103
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Greetings to all!

@Vishal: Which version of OpenFOAM are you looking for to install on your CentOS 4.4?

Because AFAIK, CentFOAM only supports CentOS 5.x and 6.x: http://sourceforge.net/projects/centfoam/files/ - and it's unlikely that any of those binaries will work on CentOS 4.x

Best regards,
Bruno


edit: Moved Vishal's answer to here: http://www.cfd-online.com/Forums/ope...ata_found.html
__________________

Last edited by wyldckat; October 28, 2013 at 17:07. Reason: see "edit:"
wyldckat is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM 1.7.0 Released opencfd OpenFOAM Announcements from ESI-OpenCFD 1 May 26, 2011 03:09
OpenFOAM 1.7.0 on OpenSUSE 11.1 Bufacchi OpenFOAM Installation 8 August 6, 2010 09:57
OpenFOAM Version 1.4.1 Released OpenFOAM discussion board administrator OpenFOAM Announcements from ESI-OpenCFD 0 August 3, 2007 07:31
OpenFOAM Version 1.3 Released OpenFOAM discussion board administrator OpenFOAM Announcements from ESI-OpenCFD 0 March 29, 2006 18:06
OpenFOAM Version 1.1 Released OpenFOAM discussion board administrator OpenFOAM Announcements from ESI-OpenCFD 0 March 11, 2005 06:33


All times are GMT -4. The time now is 16:00.