CFD Online Logo CFD Online URL
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

LinkBack Thread Tools Display Modes
Old   December 3, 2008, 02:00
Default I'm a new student for both Ope
New Member
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: 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, 02:39
Default These installations can be don
Pattyn Eric
Join Date: Mar 2009
Posts: 61
Rep Power: 10
ep4 is on a distinguished road
These installations can be done with the following commands in the directory coming form the extraction:
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 anymore

Hope it helps

ep4 is offline   Reply With Quote


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
OpenFOAM15 paraFoam bug koen OpenFOAM Bugs 19 June 30, 2009 10:46
Fedora 10 OpenFOAM15 philippose OpenFOAM Installation 7 February 18, 2009 05:37
OpenFOAM15 on Ubuntu810 forsumit OpenFOAM Installation 28 January 25, 2009 09:05
ReconstructPar in OpenFOAM15 nicasch OpenFOAM Post-Processing 1 November 7, 2008 05:06
Updates for OpenFOAM15 olesen OpenFOAM Installation 9 July 18, 2008 03:18

All times are GMT -4. The time now is 23:58.