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

How to install gmp amp mpfr for the gcc431 provied by OpenFOAM15

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 3, 2008, 01:00
Default I'm a new student for both Ope
  #1
New Member
 
yipeng-g@hotmail.com
Join Date: Mar 2009
Posts: 1
Rep Power: 0
edison is on a distinguished road
I'm a new student for both OpenFOAM and Linux.
I'm using redhat Linux version 2.6.9-42.ELsmp.
When I try to compile paraView it siad /opt/OF/ThirdParty/gcc-4.3.1/platforms/linux/bin/../libexec/gcc/i686-pc-linux-gn u/4.3.1/cc1plus: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory
make: *** [Make/linuxGccDPOpt/icoFoam.o] Error 1

Plesse give me some more specific instruction on how to install mpfr on the Gcc.4.3.1 provied by OpenFOAM.
edison is offline   Reply With Quote

Old   December 3, 2008, 01:39
Default These installations can be don
  #2
ep4
Member
 
Pattyn Eric
Join Date: Mar 2009
Posts: 61
Rep Power: 17
ep4 is on a distinguished road
These installations can be done with the following commands in the directory coming form the extraction:
./configure
make
make check
make install
Note that it could be necessary to use ./configure --with-gmp-lib=/usr/local/lib if it doesn't work with ./configure for gmp.
In order to install these libraries, you need to use the system compiler and not the one installed by OpenFoam. Therefore, for the compilation, you need to suppress the additional line of the $.bashrc$ file.
After that, you could have to redifine the path of the ld library: LD_LIBRARY_PATH=/usr/local/lib:/x/mpfr-2.3.2/lib:$LD_LIBRARY_PATH in the terminal when you are installing paraview.

After doing these steps, i hat not the problem with libmpfr.so.1 anymore

Hope it helps

Eric
ep4 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM15 paraFoam bug koen OpenFOAM Bugs 19 June 30, 2009 10:46
Fedora 10 OpenFOAM15 philippose OpenFOAM Installation 7 February 18, 2009 04:37
OpenFOAM15 on Ubuntu810 forsumit OpenFOAM Installation 28 January 25, 2009 08:05
ReconstructPar in OpenFOAM15 nicasch OpenFOAM Post-Processing 1 November 7, 2008 04:06
Updates for OpenFOAM15 olesen OpenFOAM Installation 9 July 18, 2008 03:18


All times are GMT -4. The time now is 13:35.