CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   OpenFOAM-1.7.0 for CentOS/RHEL/SL 5.x 64bit released (https://www.cfd-online.com/Forums/openfoam-installation/77668-openfoam-1-7-0-centos-rhel-sl-5-x-64bit-released.html)

phuchuynh June 25, 2012 04:21

Quote:

Originally Posted by linnemann (Post 265450)
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

wyldckat June 25, 2012 18:09

Greetings phuchuynh,

I can't go into much details about this, so I'll point you to a couple of possibilities:
Best regards,
Bruno

kalbozo October 9, 2012 15:14

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?

linnemann October 10, 2012 01:39

Hi, Yes that is correct.

makaveli_lcf November 29, 2012 02:11

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

nandiganavishal October 24, 2013 14:06

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

wyldckat October 26, 2013 13:04

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


All times are GMT -4. The time now is 12:10.