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

OpenFOAM 1.6 installation in Debian 5.06 lenny IA64

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 7, 2010, 06:40
Default OpenFOAM 1.6 installation in Debian 5.06 lenny IA64
  #1
New Member
 
yu dong
Join Date: Sep 2010
Posts: 11
Rep Power: 6
icingfish is on a distinguished road
Hi, everyone! I'm a newbie of OF and linux.
When I tried to install OF 1.6 in Debian IA64, I met problems.
first, my system's information
env@debian:~$ qmake --version
QMake version 2.01a
Using Qt version 4.4.3 in /usr/lib
env@debian:~$ cmake --version
cmake version 2.6-patch 0
env@debian:~$ gcc --version
gcc (Debian 4.3.2-1.1) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

env@debian:~$ flex --version
flex 2.5.35
env@debian:~$ bison --version
bison (GNU Bison) 2.3
Written by Robert Corbett and Richard Stallman.

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
env@debian:~$ python --version
Python 2.5.2
icingfish is offline   Reply With Quote

Old   October 7, 2010, 06:43
Default
  #2
New Member
 
yu dong
Join Date: Sep 2010
Posts: 11
Rep Power: 6
icingfish is on a distinguished road
then, at the begging of my make log:
+ cd wmake/src
+ make
gcc -Wall -O3 -fPIC dirToString.c -o /home/env/OpenFOAM/OpenFOAM-1.6/wmake/bin/linuxIA64Gcc/dirToString
flex wmkdep.l
gcc -Wall -O3 -fPIC lex.yy.c -o /home/env/OpenFOAM/OpenFOAM-1.6/wmake/bin/linuxIA64Gcc/wmkdep
lex.yy.c:1393: warning: 'yyunput' defined but not used
lex.yy.c:1436: warning: 'input' defined but not used
+ cd /home/env/OpenFOAM/ThirdParty-1.6
+ ./Allwmake
++ '[' -n '' ']'
++ '[' -n '' ']'
++ '[' -n '' ']'
++ '[' -n '' ']'
++ '[' -n '' ']'
++ cd malloc
++ ./Allwmake
+ wmake libso hoard
Making dependency list for source file hoard-371/src/libhoard.cpp
SOURCE=hoard-371/src/libhoard.cpp ; g++ -DlinuxIA64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-30 -DNDEBUG -D_REENTRANT=1 -IlnInclude -I. -I/home/env/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/home/env/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxIA64GccDPOpt/libhoard.o
In file included from lnInclude/mmapheap.h:48,
from hoard-371/src/alignedsuperblockheap.h:6,
from hoard-371/src/hoard.h:52,
from hoard-371/src/libhoard.cpp:94:
lnInclude/spinlock.h:253:2: error: #error "No spin lock implementation is available for this platform."
In file included from hoard-371/src/libhoard.cpp:93:
lnInclude/cpuinfo.h: In static member function 'static int HL::CPUInfo::getThreadId()':
lnInclude/cpuinfo.h:216: warning: use of old-style cast
In file included from hoard-371/src/hoard.h:45,
from hoard-371/src/libhoard.cpp:94:
hoard-371/src/addheaderheap.h: At global scope:
hoard-371/src/addheaderheap.h:21: warning: use of old-style cast
hoard-371/src/addheaderheap.h:22: warning: use of old-style cast
In file included from hoard-371/src/hoard.h:47,
from hoard-371/src/libhoard.cpp:94:
hoard-371/src/redirectfree.h:46: warning: use of old-style cast
In file included from hoard-371/src/hoardsuperblock.h:11,
from hoard-371/src/hoard.h:50,
from hoard-371/src/libhoard.cpp:94:
hoard-371/src/hoardsuperblockheader.h: In constructor 'Hoard::HoardSuperblockHeader<LockType, SuperblockSize, HeapType>::HoardSuperblockHeader(size_t, size_t)':
hoard-371/src/hoardsuperblockheader.h:31: warning: use of old-style cast
hoard-371/src/hoardsuperblockheader.h: In member function 'void* Hoard::HoardSuperblockHeader<LockType, SuperblockSize, HeapType>::normalize(void*) const':
hoard-371/src/hoardsuperblockheader.h:68: warning: use of old-style cast
hoard-371/src/hoardsuperblockheader.h:68: warning: use of old-style cast
hoard-371/src/hoardsuperblockheader.h:77: warning: use of old-style cast
hoard-371/src/hoardsuperblockheader.h:77: warning: use of old-style cast
hoard-371/src/hoardsuperblockheader.h:79: warning: use of old-style cast
hoard-371/src/hoardsuperblockheader.h:79: warning: use of old-style cast


what the warning mean?
icingfish is offline   Reply With Quote

Old   October 7, 2010, 06:44
Default the first error of my log
  #3
New Member
 
yu dong
Join Date: Sep 2010
Posts: 11
Rep Power: 6
icingfish is on a distinguished road
make: *** [Make/linuxIA64GccDPOpt/libhoard.o] Error 1
+ wmake libo fbsdmalloc
Making dependency list for source file fbsdmalloc.c
could not open file libc_private.h for source file fbsdmalloc.c
could not open file spinlock.h for source file fbsdmalloc.c
SOURCE=fbsdmalloc.c ; gcc -DlinuxIA64 -DWM_DP -Wall -O3 -IlnInclude -I. -I/home/env/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/home/env/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxIA64GccDPOpt/fbsdmalloc.o
ld -r -o /home/env/OpenFOAM/OpenFOAM-1.6/lib/linuxIA64GccDPOpt/libfbsdmalloc.o Make/linuxIA64GccDPOpt/fbsdmalloc.o
'/home/env/OpenFOAM/OpenFOAM-1.6/lib/linuxIA64GccDPOpt/libfbsdmalloc.o' is up to date.
++ case "$WM_MPLIB" in
++ '[' -r /home/env/OpenFOAM/ThirdParty-1.6/openmpi-1.3.3/platforms/linuxIA64GccDPOpt/lib/libmpi.so ']'
++ '[' -r /home/env/OpenFOAM/ThirdParty-1.6/openmpi-1.3.3/platforms/linuxIA64GccDPOpt/lib/libmpi.a ']'
++ cd /home/env/OpenFOAM/ThirdParty-1.6/openmpi-1.3.3
++ make distclean
make: *** No rule to make target `distclean'. Stop.
icingfish is offline   Reply With Quote

Old   October 7, 2010, 06:45
Default the critical erros
  #4
New Member
 
yu dong
Join Date: Sep 2010
Posts: 11
Rep Power: 6
icingfish is on a distinguished road
+ applications/Allwmake
+ wmake all solvers
make[1]: Entering directory `/home/env/OpenFOAM/OpenFOAM-1.6/applications/solvers/DNS'
make[2]: Entering directory `/home/env/OpenFOAM/OpenFOAM-1.6/applications/solvers/DNS/dnsFoam'
Making dependency list for source file dnsFoam.C
make[2]: Leaving directory `/home/env/OpenFOAM/OpenFOAM-1.6/applications/solvers/DNS/dnsFoam'
make[2]: Entering directory `/home/env/OpenFOAM/OpenFOAM-1.6/applications/solvers/DNS/dnsFoam'
SOURCE=dnsFoam.C ; g++ -DlinuxIA64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-30 -I/home/env/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude -I/home/env/OpenFOAM/OpenFOAM-1.6/src/randomProcesses/lnInclude -I/home/env/OpenFOAM/OpenFOAM-1.6/src/sampling/lnInclude -IlnInclude -I. -I/home/env/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/home/env/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxIA64GccDPOpt/dnsFoam.o
/home/env/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude/readPISOControls.H: In function 'int main(int, char**)':
/home/env/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude/readPISOControls.H:3: warning: unused variable 'nCorr'
/home/env/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude/readPISOControls.H:5: warning: unused variable 'nNonOrthCorr'
/home/env/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude/readPISOControls.H:8: warning: unused variable 'momentumPredictor'
/home/env/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude/readPISOControls.H:11: warning: unused variable 'transonic'
/home/env/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude/readPISOControls.H:14: warning: unused variable 'nOuterCorr'
g++ -DlinuxIA64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-30 -I/home/env/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude -I/home/env/OpenFOAM/OpenFOAM-1.6/src/randomProcesses/lnInclude -I/home/env/OpenFOAM/OpenFOAM-1.6/src/sampling/lnInclude -IlnInclude -I. -I/home/env/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/home/env/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC Make/linuxIA64GccDPOpt/dnsFoam.o -L/home/env/OpenFOAM/OpenFOAM-1.6/lib/linuxIA64GccDPOpt \
-lfiniteVolume -lrandomProcesses -lsampling -lmeshTools -lOpenFOAM -liberty -ldl -lm -o /home/env/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxIA64GccDPOpt/dnsFoam
/usr/bin/ld: cannot find -liberty
collect2: ld returned 1 exit status
make[2]: *** [/home/env/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxIA64GccDPOpt/dnsFoam] Error 1
make[2]: Leaving directory `/home/env/OpenFOAM/OpenFOAM-1.6/applications/solvers/DNS/dnsFoam'
make[1]: *** [dnsFoam] Error 2
make[1]: Target `application' not remade because of errors.
make[1]: Leaving directory `/home/env/OpenFOAM/OpenFOAM-1.6/applications/solvers/DNS'
make: *** [DNS] Error 2
icingfish is offline   Reply With Quote

Old   October 7, 2010, 06:51
Default
  #5
New Member
 
yu dong
Join Date: Sep 2010
Posts: 11
Rep Power: 6
icingfish is on a distinguished road
I have looked throw the other posts about installation of OpenFOAM in IA64 system, there're something similar to mine.
but I don't know the exact solutions.
Thx first!
icingfish is offline   Reply With Quote

Old   October 7, 2010, 07:38
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,258
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings icingfish and welcome to the forum!

The errors/warnings related to hoard and fbsdmalloc can be ignored. It's outdated technology and not required by OpenFOAM.

As for the "-liberty" problem, you're missing a package in Debian... but I can't remember which is it. Either way, check if you have all of the following list of packages are installed in your Debian system: Building OpenFOAM1.7.0 from source post #4 and onward

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   October 7, 2010, 20:30
Default
  #7
New Member
 
yu dong
Join Date: Sep 2010
Posts: 11
Rep Power: 6
icingfish is on a distinguished road
Thank you,Bruno!
I'll try your suggestion.
icingfish is offline   Reply With Quote

Old   October 7, 2010, 20:54
Default
  #8
New Member
 
yu dong
Join Date: Sep 2010
Posts: 11
Rep Power: 6
icingfish is on a distinguished road
now,I know the only missing package in Bruno‘s post is binutils-dev. I install it and go throw another try......
icingfish is offline   Reply With Quote

Old   October 8, 2010, 02:42
Default Thank you so much, Bruno!
  #9
New Member
 
yu dong
Join Date: Sep 2010
Posts: 11
Rep Power: 6
icingfish is on a distinguished road
The installation done!
Bruno's right!
icingfish 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
openfoam 1.6 on debian etch romant OpenFOAM Installation 9 May 6, 2010 02:26
Install openFOAM 1.6 on debian 32bit - blockMesh: command not found fossy OpenFOAM Installation 1 August 28, 2009 04:06
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 13:50


All times are GMT -4. The time now is 05:04.