|
[Sponsors] |
August 19, 2009, 11:36 |
install openfoam 1.6 on opensuse 11.0
|
#1 |
New Member
andres
Join Date: Aug 2009
Posts: 15
Rep Power: 17 |
Hi,
I've been trying to install openfoam 1.6 to opensuse 11.0 64bit. currently I am running openfoam 1.5.x but I would like to take a look at the new solvers for multiphase flows. for this reason I followed the installation procedure on http://albertopassalacqua.com/?p=387
Code:
./makeParaView ParaView_DIR=$HOME/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc removing old build/install directory ---- Configuring paraview-3.6.1 (major version: 3.6) MPI support : false Python support : false MESA support : false Qt dev support : true Source : $HOME/OpenFOAM/ThirdParty-1.6/paraview-3.6.1 Target : $HOME/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc ---- cmake -DCMAKE_INSTALL_PREFIX:PATH=$HOME/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc -DVTK_USE_TK=FALSE -DBUILD_SHARED_LIBS:BOOL=ON -DVTK_USE_RPATH:BOOL=OFF -DCMAKE_BUILD_TYPE:STRING=Release -DPARAVIEW_INSTALL_DEVELOPMENT:BOOL=ON -DPARAVIEW_BUILD_QT_GUI=ON ../.. ---- tools/makeParaViewFunctions: line 290: cmake: command not found Starting make make: *** No targets specified and no makefile found. Stop. real 0m0.004s user 0m0.004s sys 0m0.000s Done make For quicker development, linking lib/paraview-3.6/ -> bin/ Creating html documentation make: *** No rule to make target `HTMLDocumentation'. Stop. Installing ParaView to $HOME/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc disabled 'make install' for now, just use links --- Installation complete Set environment variables: export ParaView_INST_DIR=$HOME/OpenFOAM/ThirdParty-1.6/paraview-3.6.1 export ParaView_DIR=$HOME/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc export PV_PLUGIN_PATH=$HOME/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt export PATH=$ParaView_DIR/bin:$PATH --- -- Replacing path hard links for $ParaView_DIR *.cmake: -- Replacing path hard links for $ParaView_INST_DIR *.cmake: -- Replacing path hard links for $WM_COMPILER_DIR *cmake*: done after some compilation time for openfoam with ./Allwmake the following error pops up Code:
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I$HOME/OpenFOAM/OpenFOAM-1.6.x/src/thermophysicalModels/specie/lnInclude -IlnInclude -I. -I$HOME/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I$HOME/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude -fPIC Make/linux64GccDPOpt/mixtureAdiabaticFlameT.o -L$HOME/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt \ -lspecie -lOpenFOAM -liberty -ldl -lm -o $HOME/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linux64GccDPOpt/mixtureAdiabaticFlameT make[2]: Leaving directory `$HOME/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/mixtureAdiabaticFlameT' make[1]: Target `application' not remade because of errors. make[1]: Leaving directory `$HOME/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical' make: *** [thermophysical] Error 2 make: Target `application' not remade because of errors. cheers Andres Last edited by andresbh; August 19, 2009 at 11:57. |
|
August 22, 2009, 05:40 |
it's same to me
|
#2 |
New Member
M. Li
Join Date: Apr 2009
Posts: 13
Rep Power: 17 |
Yes, I followed this method and the same errors happened. I guess this method to install v1.6.x is not correct.
My OS is ubuntu 9.04. |
|
September 9, 2009, 04:08 |
|
#3 |
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18 |
Hi OF users,
I have exactly the same problem when rebuilding paraview. Has somebody solved this problem ? Thanks for your help ! Regards, Stephane Sanchi OpenFOAM-1.6.x Linux Suse 11.1 |
|
September 9, 2009, 08:37 |
lack the etc directory
|
#4 |
New Member
Join Date: Sep 2009
Posts: 2
Rep Power: 0 |
I downloaded:
OpenFOAM-1.6.linux64GccDPOpt.gtgz ThirdParty-1.6.General.gtgz and unpacked and was trying to follow the readme instruction but: "The environment variable settings are contained in files in an etc/ directory in the OpenFOAM release. e.g. in $HOME/OpenFOAM/OpenFOAM-1.6/etc/" there isn't any etc directory there and when I give: pla@dellino:~> source $HOME/.bashrc bash: /home/pla/OpenFOAM/OpenFOAM-1.6/etc/bashrc: No such file or directory this is the result. Any suggestion?? Thank you |
|
September 29, 2009, 13:26 |
is cmake installed?
|
#5 | |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34 |
Hi,
I am no expert, but I have compiled a few different versions of OF on my OpenSUSE 11.0 with relative success, I find much of the original errors come from not having the right programs installed. In the first post the error reads: Quote:
You can check if it is installed with "which cmake", or just 'cmake' and see if anything happens. Hopefully that helps a bit. Philip |
||
September 29, 2009, 14:55 |
|
#6 |
New Member
Join Date: Sep 2009
Posts: 2
Rep Power: 0 |
dellino:/home/pla # which cmake
/usr/bin/cmake dellino:/home/pla # |
|
September 29, 2009, 15:36 |
|
#7 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34 |
Hi Procuste,
Sorry my post was in reply to the original Andres post. But in regards to your problem, if I were you I would try to download OpenFOAM again because I am fairly sure there is meant to be a bashrc file in the etc directory. Philip |
|
September 29, 2009, 17:35 |
|
#8 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
Procruste, before you download OpenFOAM again, make sure you got your paths right. Did you create a directory OpenFOAM and extract the archives there?
If you are not sure about your paths, post the output of the following commands here. ls $HOME/OpenFOAM and ls $HOME/OpenFOAM/OpenFOAM-1.6 |
|
September 30, 2009, 01:48 |
|
#9 | |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
You must download the ThirdParty package for the 32 bit version, extract the cmake directory contained in it, and copy it to your ThirdParty-1.6 directory. Then you create a symbolic link with ln -s ~/OpenFOAM/ThirdParty-1.6/ ~/OpenFOAM/ThirdParty-1.6.x I corrected it on the blog, since I assumed before that you were in OpenFOAM. Sorry about that, but it was quite obvious and nobody reported the problem to me, which might have fixed your issue too in a few seconds, since I usually reply as soon as possible!
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
||
Tags |
it's same to me |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to Install OpenFOAM on 64 Ubuntu 9.04 | hansel | OpenFOAM Installation | 62 | March 19, 2010 15:43 |
OpenFOAM 1.6 package - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 36 | September 2, 2009 13:46 |
Critical errors during OpenFoam installation in OpenSuse 11.0 | amscosta | OpenFOAM | 5 | May 1, 2009 15:06 |
OpenFOAM 1.5 installation on OpenSUSE 11.0 | bigphil | OpenFOAM Installation | 16 | April 29, 2009 07:28 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |