CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Wmake as User (http://www.cfd-online.com/Forums/openfoam-installation/57270-wmake-user.html)

sven82 December 15, 2008 09:10

Hi , i got a little trubbel
 
Hi ,

i got a little trubbel to run my own solver on a local installtion?

OPenFoam is install on a server, i got a copy of this installation on my local acount.

all works fine lokal and on server

to start OpenFOAM for example with the solver simpleFoam:

(server) simpleFoam
(local) (path local maschine)/ OpenFOAM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/simpleFoam


but, how can I compile a new solver, of my local system?

I try this commands
wmake, wmake libso , ./(path local maschine)/OpenFOAM/OpenFOAM-1.5/wmake/wmake

error message:
make: Warning: File `linuxGccDPOpt/options' has modification time 2.9e+02 s in the future
make: warning: Clock skew detected. Your build may be incomplete.
make: Warning: File `Make/linuxGccDPOpt/dontIncludeDeps' has modification time 2.9e+02 s in the future
make: warning: Clock skew detected. Your build may be incomplete.
make: Warning: File `Make/linuxGccDPOpt/dontIncludeDeps' has modification time 2.9e+02 s in the future
make: warning: Clock skew detected. Your build may be incomplete.
make: Warning: File `Make/linuxGccDPOpt/includeDeps' has modification time 2.9e+02 s in the future
SOURCE=my_icoFoam.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/usrfem/femsys/OpenFOAM/OpenFOAM-1.5/src/finiteVolume/lnInclude -IlnInclude -I. -I/usrfem/femsys/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/usrfem/femsys/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPOpt/my_icoFoam.o
/usrfem/femsys/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/../libexec/gcc/ i686-pc-linux-gnu/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/my_icoFoam.o] Error

hope anybody can help me,

thanks a lot

ep4 December 15, 2008 09:18

Hi, i think you should spec
 
Hi,

i think you should specify the path to your mpfr library. For me, the following command resolves the problem:

LD_LIBRARY_PATH=/usr/local/lib:/x/mpfr-2.3.2/lib:$LD_LIBRARY_PATH

ep4 December 15, 2008 09:19

and then running wmake in the
 
and then running wmake in the directory of the application

eelcovv August 14, 2013 03:23

In debian linux just installing the libmpfr-dev package resolved the problem for me


All times are GMT -4. The time now is 02:00.