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

Wmake as User

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 15, 2008, 09:10
Default Hi , i got a little trubbel
  #1
Member
 
Sven Degner
Join Date: Mar 2009
Location: Zürich
Posts: 54
Rep Power: 8
sven82 is on a distinguished road
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
sven82 is offline   Reply With Quote

Old   December 15, 2008, 09:18
Default Hi, i think you should spec
  #2
ep4
Member
 
Pattyn Eric
Join Date: Mar 2009
Posts: 61
Rep Power: 8
ep4 is on a distinguished road
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 is offline   Reply With Quote

Old   December 15, 2008, 09:19
Default and then running wmake in the
  #3
ep4
Member
 
Pattyn Eric
Join Date: Mar 2009
Posts: 61
Rep Power: 8
ep4 is on a distinguished road
and then running wmake in the directory of the application
ep4 is offline   Reply With Quote

Old   August 14, 2013, 03:23
Default
  #4
Senior Member
 
Eelco van Vliet
Join Date: Mar 2009
Location: The Netherlands
Posts: 122
Rep Power: 9
eelcovv is on a distinguished road
In debian linux just installing the libmpfr-dev package resolved the problem for me
eelcovv is offline   Reply With Quote

Reply

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
Problems with wmake ivan_cozza OpenFOAM Programming & Development 14 June 30, 2013 07:34
Openwatcom wmake felix OpenFOAM 0 February 26, 2009 12:05
Anyone using distcc with wmake kar OpenFOAM 2 March 14, 2008 06:13
Wmake libso roberthino OpenFOAM Installation 1 October 1, 2007 12:00
Problems while wmake evgenii OpenFOAM Pre-Processing 3 November 24, 2005 10:24


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