|
[Sponsors] |
How to install gmp amp mpfr for the gcc431 provied by OpenFOAM15 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 3, 2008, 02:00 |
I'm a new student for both Ope
|
#1 |
New Member
yipeng-g@hotmail.com
Join Date: Mar 2009
Posts: 1
Rep Power: 0 |
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. |
|
December 3, 2008, 02:39 |
These installations can be don
|
#2 |
Member
Pattyn Eric
Join Date: Mar 2009
Posts: 61
Rep Power: 17 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM15 paraFoam bug | koen | OpenFOAM Bugs | 19 | June 30, 2009 11: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 04:18 |