|
[Sponsors] |
OpenFOAM 1.6 installation in Debian 5.06 lenny IA64 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 7, 2010, 07:40 |
OpenFOAM 1.6 installation in Debian 5.06 lenny IA64
|
#1 |
New Member
yu dong
Join Date: Sep 2010
Posts: 11
Rep Power: 16 |
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 |
|
October 7, 2010, 07:43 |
|
#2 |
New Member
yu dong
Join Date: Sep 2010
Posts: 11
Rep Power: 16 |
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? |
|
October 7, 2010, 07:44 |
the first error of my log
|
#3 |
New Member
yu dong
Join Date: Sep 2010
Posts: 11
Rep Power: 16 |
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. |
|
October 7, 2010, 07:45 |
the critical erros
|
#4 |
New Member
yu dong
Join Date: Sep 2010
Posts: 11
Rep Power: 16 |
+ 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 |
|
October 7, 2010, 07:51 |
|
#5 |
New Member
yu dong
Join Date: Sep 2010
Posts: 11
Rep Power: 16 |
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! |
|
October 7, 2010, 08:38 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
October 7, 2010, 21:30 |
|
#7 |
New Member
yu dong
Join Date: Sep 2010
Posts: 11
Rep Power: 16 |
Thank you,Bruno!
I'll try your suggestion. |
|
October 7, 2010, 21:54 |
|
#8 |
New Member
yu dong
Join Date: Sep 2010
Posts: 11
Rep Power: 16 |
now,I know the only missing package in Bruno‘s post is binutils-dev. I install it and go throw another try......
|
|
October 8, 2010, 03:42 |
Thank you so much, Bruno!
|
#9 |
New Member
yu dong
Join Date: Sep 2010
Posts: 11
Rep Power: 16 |
The installation done!
Bruno's right! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
openfoam 1.6 on debian etch | romant | OpenFOAM Installation | 9 | May 6, 2010 03:26 |
Install openFOAM 1.6 on debian 32bit - blockMesh: command not found | fossy | OpenFOAM Installation | 1 | August 28, 2009 05:06 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |
OpenFOAM Debian packaging current status problems and TODOs | oseen | OpenFOAM Installation | 9 | August 26, 2007 14:50 |