|
[Sponsors] |
July 5, 2009, 09:38 |
calcMassFlow with OF15-debian-package
|
#1 |
Member
Sebastian
Join Date: Mar 2009
Location: Munich, Germany
Posts: 30
Rep Power: 17 |
Hi all together,
I switched back vom jaunty to intrepid and for installation of OpenFoam and Paraview I used the packages on the following site: http://www.cfd-online.com/Forums/ope...ntu-810-a.html All works fine. But I´m not able to compile calcMassFlow anymore. You need the src-folder with the files of OpenFOAM to compile it and in the package-Version, this files are missing. Can someone help me? Thanks a lot ff23 |
|
July 6, 2009, 06:10 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Obviously the packager had the good intention to not give the sources to "regular users", the way usual packages do. Maybe he had the good sense to roll an additional package openfoam-devel or similar that adds the sources. Look for that |
||
July 8, 2009, 06:47 |
|
#3 |
Member
Sebastian
Join Date: Mar 2009
Location: Munich, Germany
Posts: 30
Rep Power: 17 |
Thank you Bernd for your answer! At first, it was not the answer, I hoped for. But than I found the package you talked about! Now I have the src-folder!
But I have already a problem installing calcMassFlow: OF is not installed in the home-directory, but in the path usr/lib/OpenFoam-1.5! When I copy the files of calcMassFlow to /home/<User>/OpenFOAM/<user>-1.5/applications/calcMassFlow, i get the following error while using wmake: g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/usr/lib/OpenFOAM-1.5/src/finiteVolume/lnInclude -I/usr/lib/OpenFOAM-1.5/src/meshTools/lnInclude -IlnInclude -I. -I/usr/lib/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/usr/lib/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC Make/linux64Gcc/calcMassFlow.o -L/usr/lib/OpenFOAM-1.5/lib \ -lfiniteVolume -lOpenFOAM -liberty -ldl -lm -o /home/sebastian/OpenFOAM/sebastian-1.5/applications/bin/calcMassFlow /usr/bin/ld: cannot find -liberty collect2: ld gab 1 als Ende-Status zurück make: *** [/home/sebastian/OpenFOAM/sebastian-1.5/applications/bin/calcMassFlow] Fehler 1 How can I fix this error? |
|
July 8, 2009, 14:23 |
|
#4 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Bernhard |
||
July 8, 2009, 17:54 |
|
#5 |
Member
Sebastian
Join Date: Mar 2009
Location: Munich, Germany
Posts: 30
Rep Power: 17 |
At first: sorry for confusing Bernd with Bernhard!
I am using Ubuntu 8.10 and after installing the package binutils-dev, the compilation worked fine! Thank you for the tip! |
|
July 9, 2009, 06:21 |
|
#6 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Bernhard |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Debian package for ubuntu 810 | deepblue17 | OpenFOAM Installation | 26 | May 5, 2010 08:43 |
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 7 | July 30, 2009 04:14 |
debian package of openfoam-dev for ubuntu | deepblue17 | OpenFOAM Installation | 0 | May 22, 2009 05:49 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 21:30 |
OpenFOAM Debian packaging current status problems and TODOs | oseen | OpenFOAM Installation | 9 | August 26, 2007 14:50 |