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

Installing openfoam 1.7 on opensuse 11.2

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 30, 2010, 18:35
Default Installing openfoam 1.7 on opensuse 11.2
  #1
New Member
 
Moses Navarro
Join Date: Jun 2010
Posts: 4
Rep Power: 16
navarrom is on a distinguished road
Hello,

I have installed OpenFOAM 1.7 on opensuse 11.2. Performed the installation test, everything checked out ok. However, when I go to run the first tutorial as follows:


Run the first example case of incompressible laminar flow in a cavity:

cd $FOAM_RUN/tutorials/incompressible/icoFoam/cavity
blockMesh
icoFoam
paraFoam

I get the following message:

/home/navarrom/OpenFOAM/OpenFOAM-1.7.0/bin/paraFoam: line 132: paraview: command not found

Did I miss a step in the install?
navarrom is offline   Reply With Quote

Old   July 1, 2010, 09:15
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Navarrom and welcome to the forum!

Well, apparently you didn't fully follow the installation instructions!
There are various instructions you can follow:
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   July 1, 2010, 11:19
Default
  #3
New Member
 
Moses Navarro
Join Date: Jun 2010
Posts: 4
Rep Power: 16
navarrom is on a distinguished road
Thank you Wyldckat, for taking the time to greet me to the forum. During the install I was referencing the OpenFOAM 'readme' file and Alberto's tutorial "how-to's OpenFOAM 1.7 - openSUS 11.2". That got me far, but I must have made a wrong turn somewhere. I will try the other two installation tip leads you posted.

Thanks,

Moses
navarrom is offline   Reply With Quote

Old   July 5, 2010, 07:36
Default
  #4
Member
 
John Wang
Join Date: Mar 2009
Location: Singapore
Posts: 73
Rep Power: 17
cwang5 is on a distinguished road
Hi,

I'm actually having the same problem with paraview installation, I get these lines at the end of ./makeParaView command:

Code:
make[2]: *** [Documentation/paraview.qch] Error 127
make[1]: *** [Documentation/CMakeFiles/ParaViewOnlineHelp.dir/all] Error 2
make: *** [all] Error 2
    ---
    Installation complete for paraview-3.8.0
    Set environment variables:

        export ParaView_DIR=/home/john/OpenFOAM/ThirdParty-1.7.x/platforms/linuxGcc/paraview-3.8.0
        export PATH=$ParaView_DIR/bin:$PATH
        export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-3.8
    ---
Since the error was pointing to some online help documentation, I assumed that it wouldn't effect the actual operation, but I was wrong. I received the same "command not found" error as in the first post, and upon following Alberto's guide (which also stated that he was having problem setting up the paraFoam to work out of the box for OpenSUSE 11.2), I received the following error when running the SVN version of the reader:

Code:
CMake Error at CMakeLists.txt:22 (FIND_PACKAGE):
   Could not find module FindParaView.cmake or a configuration file for
   package ParaView.

   Adjust CMAKE_MODULE_PATH to find FindParaView.cmake or set ParaView_DIR to
   the directory containing a CMake configuration file for ParaView.  The file
   will have one of the following names:

     ParaViewConfig.cmake
     paraview-config.cmake




 CMake Error at CMakeLists.txt:23 (INCLUDE):
   include called with wrong number of arguments.  Include only takes one
   file.



 CMake Error at CMakeLists.txt:33 (MESSAGE):
   ParaView version .  is too old.  The package only supports ParaView 3.8 or
   later.
The only ParaViewConfig file I could find in the ThirdParty directory was ParaViewConfig.cmake.in, which apparently does not work. I'm not quite sure what the problem is at this point, and would appreciate any help from the forum.

Thanks

John
cwang5 is offline   Reply With Quote

Old   July 5, 2010, 12:37
Default
  #5
New Member
 
Moses Navarro
Join Date: Jun 2010
Posts: 4
Rep Power: 16
navarrom is on a distinguished road
Thanks for your input John, nice to know I am not the only one with the problem. I also get the message you posted for the 'Third party' install when I follow Alberto's tutorial. I am considering changing my OS from opensuse to ubuntu, and just downloading the compiled ubuntu version.
navarrom is offline   Reply With Quote

Old   July 5, 2010, 13:41
Default
  #6
Member
 
Paulo Bufacchi
Join Date: Jun 2010
Posts: 50
Rep Power: 16
Bufacchi is on a distinguished road
I used the precompiled version available at www.paraview.org, and did the tweak described in the second half of the post: Installation paraFoam - still problem.

It works fine.

Paulo
Bufacchi is offline   Reply With Quote

Old   July 12, 2010, 09:25
Default
  #7
Member
 
John Wang
Join Date: Mar 2009
Location: Singapore
Posts: 73
Rep Power: 17
cwang5 is on a distinguished road
It turned out that installing the qtwebkit-devel package in 11.2 solved the problem for me.

John
cwang5 is offline   Reply With Quote

Old   July 12, 2010, 12:47
Default
  #8
New Member
 
Moses Navarro
Join Date: Jun 2010
Posts: 4
Rep Power: 16
navarrom is on a distinguished road
It turned out that installing the qtwebkit-devel package in 11.2 solved the problem for me.

So, when you installed qtwebkit-devel, did you recompile Paraview? Did you still have to follow 'Alberto' instructions?

Thanks,

Moses
navarrom is offline   Reply With Quote

Reply


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
Installation how-to's - OpenFOAM 1.7 - openSUSE 11.2 and 11.3 alberto OpenFOAM Installation 24 August 4, 2010 01:48
OpenFOAM 1.7 - openSUSE 11.3 - gcc 4.5.0 alberto OpenFOAM 12 July 28, 2010 12:59
Installing OpenFOAM 1.3 on openSUSE 10.3 aliakbar82 OpenFOAM Installation 1 December 31, 2009 04:35
Installing OpenFOAM-1.6.x on OpenSUSE 11.2, A question to the developers Ahmed OpenFOAM Installation 0 December 5, 2009 06:03
Installing OpenFOAM 1.5 on OpenSUSE 11.1 StructureITA OpenFOAM Installation 31 April 30, 2009 20:45


All times are GMT -4. The time now is 02:54.