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

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

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 25, 2012, 05:21
Default
  #61
New Member
 
Jindo
Join Date: Mar 2011
Location: Germany
Posts: 25
Rep Power: 15
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, 19:09
Default
  #62
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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, 16: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, 02:39
Default
  #64
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27
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: 256
Blog Entries: 1
Rep Power: 19
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 "Metallurgical Applications of Magnetohydrodynamics"

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

http://smmp.unileoben.ac.at
makaveli_lcf is offline   Reply With Quote

Old   October 24, 2013, 15:06
Default
  #66
Senior Member
 
Vishal Nandigana
Join Date: Mar 2009
Location: Champaign, Illinois, U.S.A
Posts: 208
Rep Power: 18
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, 14:04
Default
  #67
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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


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 Off
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 04:09
OpenFOAM 1.7.0 on OpenSUSE 11.1 Bufacchi OpenFOAM Installation 8 August 6, 2010 10:57
OpenFOAM Version 1.4.1 Released OpenFOAM discussion board administrator OpenFOAM Announcements from ESI-OpenCFD 0 August 3, 2007 08:31
OpenFOAM Version 1.3 Released OpenFOAM discussion board administrator OpenFOAM Announcements from ESI-OpenCFD 0 March 29, 2006 19: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 12:49.