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

install openfoam 1.6 on opensuse 11.0

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 19, 2009, 11:36
Default install openfoam 1.6 on opensuse 11.0
  #1
New Member
 
andres
Join Date: Aug 2009
Posts: 15
Rep Power: 17
andresbh is on a distinguished road
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


  • in directory ~/OpenFOAM run: git://repo.or.cz/OpenFOAM-1.6.x.git
  • Download the thirdparty for 64bit and copied cmake from the 32-bit version into the thirdparty directory.
  • Create a symbolic link to ThirdParty-1.6.x from ThirdParty-1.6
  • Added the lines to ~/.bashrc
  • rebuild paraview
    • rm -rf paraview-3.6.1/platforms
    • ./makeParaView
  • Rebuild OpenFOAM with ./Allwmake
rebuilding paraview I get the following
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
does anybody have a hint how to tackle this error? there is something wring with the cmake but my knowledge in linux is very very scarce.

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.
thank you for your help

cheers
Andres

Last edited by andresbh; August 19, 2009 at 11:57.
andresbh is offline   Reply With Quote

Old   August 22, 2009, 05:40
Default it's same to me
  #2
New Member
 
M. Li
Join Date: Apr 2009
Posts: 13
Rep Power: 17
cnlimin is on a distinguished road
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.
cnlimin is offline   Reply With Quote

Old   September 9, 2009, 04:08
Default
  #3
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18
openfoam_user is on a distinguished road
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
openfoam_user is offline   Reply With Quote

Old   September 9, 2009, 08:37
Default lack the etc directory
  #4
New Member
 
Join Date: Sep 2009
Posts: 2
Rep Power: 0
procuste is on a distinguished road
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
procuste is offline   Reply With Quote

Old   September 29, 2009, 13:26
Default is cmake installed?
  #5
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
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:
tools/makeParaViewFunctions: line 290: cmake: command not found
This looks like 'cmake' is not installed (or not properly).

You can check if it is installed with "which cmake", or just 'cmake' and see if anything happens.

Hopefully that helps a bit.
Philip
bigphil is offline   Reply With Quote

Old   September 29, 2009, 14:55
Default
  #6
New Member
 
Join Date: Sep 2009
Posts: 2
Rep Power: 0
procuste is on a distinguished road
dellino:/home/pla # which cmake
/usr/bin/cmake
dellino:/home/pla #
procuste is offline   Reply With Quote

Old   September 29, 2009, 15:36
Default
  #7
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
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
bigphil is offline   Reply With Quote

Old   September 29, 2009, 17:35
Default
  #8
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
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
akidess is offline   Reply With Quote

Old   September 30, 2009, 01:48
Default
  #9
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by cnlimin View Post
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.
Hehe, the method is correct, since I have been using it for a while. The problem is that cmake is missing there, as you can easily read in the error message.

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.
alberto is offline   Reply With Quote

Reply

Tags
it's same to me


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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 22:28.