|
[Sponsors] |
October 19, 2010, 10:39 |
Compiling OpenFOAM 1.7.1 on Ubuntu 10.10
|
#1 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19 |
Dear All,
I am trying to install OpenFOAM 1.7.1 on Ubuntu Maverick. Everything goes well, until I install Paraview. Following this page, I get: Code:
samiam@penrose:~/OpenFOAM/ThirdParty-1.7.1$ ./makeParaView ParaView_SOURCE_DIR=/home/samiam/OpenFOAM/ThirdParty-1.7.1/paraview-3.8.0 ParaView_BINARY_DIR=/home/samiam/OpenFOAM/ThirdParty-1.7.1/platforms/build-linux64Gcc/paraview-3.8.0 ParaView_DIR=/home/samiam/OpenFOAM/ThirdParty-1.7.1/platforms/linux64Gcc/paraview-3.8.0 date-stamp: 2010-03-26 Build stages selected --------------------- -config true -make true -install true --------------------- Features selected mesa false mpi false python false qt true --------------------- Version information version 3.8.0 major 3.8 --------------------- removing old build directory /home/samiam/OpenFOAM/ThirdParty-1.7.1/platforms/build-linux64Gcc/paraview-3.8.0 ---- Configuring paraview-3.8.0 (major version: 3.8) MPI support : false Python support : false MESA support : false Qt dev support : true Source : /home/samiam/OpenFOAM/ThirdParty-1.7.1/paraview-3.8.0 Build : /home/samiam/OpenFOAM/ThirdParty-1.7.1/platforms/build-linux64Gcc/paraview-3.8.0 Target : /home/samiam/OpenFOAM/ThirdParty-1.7.1/platforms/linux64Gcc/paraview-3.8.0 ---- cmake -DCMAKE_INSTALL_PREFIX:PATH=/home/samiam/OpenFOAM/ThirdParty-1.7.1/platforms/linux64Gcc/paraview-3.8.0 -DVTK_USE_TK:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=ON -DVTK_USE_RPATH:BOOL=OFF -DCMAKE_BUILD_TYPE:STRING=Release -DPARAVIEW_INSTALL_DEVELOPMENT:BOOL=ON -DPARAVIEW_GENERATE_PROXY_DOCUMENTATION:BOOL=ON -DPARAVIEW_GENERATE_PROXY_DOCUMENTATION=OFF -DPARAVIEW_BUILD_QT_GUI=ON /home/samiam/OpenFOAM/ThirdParty-1.7.1/paraview-3.8.0 ---- ./makeParaView: 295: cmake: not found Starting make make: *** No targets specified and no makefile found. Stop. Command exited with non-zero status 2 0.00user 0.00system 0:00.00elapsed 0%CPU (0avgtext+0avgdata 4400maxresident)k 0inputs+0outputs (0major+330minor)pagefaults 0swaps Done make Installing ParaView to /home/samiam/OpenFOAM/ThirdParty-1.7.1/platforms/linux64Gcc/paraview-3.8.0 make: *** No rule to make target `install'. Stop. --- Installation complete for paraview-3.8.0 Set environment variables: export ParaView_DIR=/home/samiam/OpenFOAM/ThirdParty-1.7.1/platforms/linux64Gcc/paraview-3.8.0 export PATH=$ParaView_DIR/bin:$PATH export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-3.8 --- Done samiam@penrose:~/OpenFOAM/ThirdParty-1.7.1$ ./makeParaView ParaView_SOURCE_DIR=/home/samiam/OpenFOAM/ThirdParty-1.7.1/paraview-3.8.0 ParaView_BINARY_DIR=/home/samiam/OpenFOAM/ThirdParty-1.7.1/platforms/build-linux64Gcc/paraview-3.8.0 ParaView_DIR=/home/samiam/OpenFOAM/ThirdParty-1.7.1/platforms/linux64Gcc/paraview-3.8.0 date-stamp: 2010-03-26 Build stages selected --------------------- -config true -make true -install true --------------------- Features selected mesa false mpi false python false qt true --------------------- Version information version 3.8.0 major 3.8 --------------------- removing old build directory /home/samiam/OpenFOAM/ThirdParty-1.7.1/platforms/build-linux64Gcc/paraview-3.8.0 ---- Configuring paraview-3.8.0 (major version: 3.8) MPI support : false Python support : false MESA support : false Qt dev support : true Source : /home/samiam/OpenFOAM/ThirdParty-1.7.1/paraview-3.8.0 Build : /home/samiam/OpenFOAM/ThirdParty-1.7.1/platforms/build-linux64Gcc/paraview-3.8.0 Target : /home/samiam/OpenFOAM/ThirdParty-1.7.1/platforms/linux64Gcc/paraview-3.8.0 ---- cmake -DCMAKE_INSTALL_PREFIX:PATH=/home/samiam/OpenFOAM/ThirdParty-1.7.1/platforms/linux64Gcc/paraview-3.8.0 -DVTK_USE_TK:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=ON -DVTK_USE_RPATH:BOOL=OFF -DCMAKE_BUILD_TYPE:STRING=Release -DPARAVIEW_INSTALL_DEVELOPMENT:BOOL=ON -DPARAVIEW_GENERATE_PROXY_DOCUMENTATION:BOOL=ON -DPARAVIEW_GENERATE_PROXY_DOCUMENTATION=OFF -DPARAVIEW_BUILD_QT_GUI=ON /home/samiam/OpenFOAM/ThirdParty-1.7.1/paraview-3.8.0 ---- ./makeParaView: 295: cmake: not found Starting make make: *** No targets specified and no makefile found. Stop. Command exited with non-zero status 2 0.00user 0.00system 0:00.00elapsed 0%CPU (0avgtext+0avgdata 4400maxresident)k 0inputs+0outputs (0major+329minor)pagefaults 0swaps Done make Installing ParaView to /home/samiam/OpenFOAM/ThirdParty-1.7.1/platforms/linux64Gcc/paraview-3.8.0 make: *** No rule to make target `install'. Stop. --- Installation complete for paraview-3.8.0 Set environment variables: export ParaView_DIR=/home/samiam/OpenFOAM/ThirdParty-1.7.1/platforms/linux64Gcc/paraview-3.8.0 export PATH=$ParaView_DIR/bin:$PATH export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-3.8 --- Done samiam@penrose:~/OpenFOAM/ThirdParty-1.7.1$ Thanks a lot, Samuele. |
|
October 19, 2010, 11:25 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Samuele,
CMake is missing in your Ubuntu box. You can install it by running: Code:
sudo apt-get install cmake
Bruno
__________________
|
||
October 19, 2010, 12:29 |
|
#3 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
I hope you're not facing the mysterious "missing cmake" problem that I went through. See:
http://www.cfd-online.com/Forums/ope...directory.html Something that the video driver update did fixed. Surely it's just an environment variable or something... |
|
October 19, 2010, 19:11 |
|
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings David,
Quote:
In your case, running the following command, on a working system and on a non working system, would help isolate the problem: Code:
ldd cmake Best regards, Bruno
__________________
|
||
November 24, 2010, 09:00 |
Packs are now available for ubuntu 10.10
|
#5 |
Member
OpenCFD
Join Date: Mar 2009
Posts: 68
Rep Power: 19 |
Packs are now available for ubuntu 10.10:
http://www.openfoam.com/download/ubuntu.php |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFoam 1.7.1 in Ubuntu 10.04 won't start working | Leech | OpenFOAM Installation | 8 | August 10, 2014 21:42 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |
How to Install OpenFOAM on 64 Ubuntu 9.04 | hansel | OpenFOAM Installation | 62 | March 19, 2010 15:43 |
OpenFOAM on non-English Ubuntu distribution | fabian_roesler | OpenFOAM | 3 | January 11, 2010 08:16 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |