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

Recommendations to the developers: OpenFoam-x.x.x

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 9, 2011, 21:43
Smile Recommendations to the developers: OpenFoam-x.x.x
  #1
New Member
 
Chuang Gao
Join Date: Sep 2011
Posts: 3
Rep Power: 5
turbomachinery is on a distinguished road
Dear Foamers
Even no one gives me help on the my former post, I've read throughly the settings.sh, bashrc, prefs.sh and those readmes in the downloaded 1.6-ext. I found that some of the answers could be found from there.
Also, I've checked those who complains different kinds of errors during their compilation.
But maybe, for those beginners, I think the developers should tell them exactly about which softwares or dependencies should be installed. Then there'll no such complains on this sections.
Actually most of the problems were caused by the improper or uninstalled dependencies.
According to Prefs.sh, such softwares should be installed to compile the thirdparty software.
mesquite, metis, parmetis, parmgridgen, libccmio, scotch, cmake, python, Qt, bison, flex, m4.
I'm not sure whether my understandings are right or wrong. For those developers, please give us a hand on how to find which dependencies should be installed.
Best Regards,
Chuang Gao
turbomachinery is offline   Reply With Quote

Old   September 10, 2011, 05:39
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Chuang Gao and welcome to the forum!

The -Extend variant based on OpenFOAM is more closely supported here: www.project-extend.de

Nonetheless, both the official OpenFOAM version (www.openfoam.org and www.openfoam.com) and the variant -Extend (www.project-extend.de), still have a few (or maybe a lot of) rough edges to be dealt with. Right now, both need the feedback from users for them to figure out what needs to be done.
On the other hand, it also depends on what platforms and Linux distributions they describe as being tested and compiled on.
Such example is the official version: Ubuntu and openSUSE are the only completely supported Linux distributions, although OpenFOAM is installable in any Linux you can find... as long as you have the right tools! Proof? See this page: http://www.openfoam.com/download/

For the -Extend project, you can find these two helpful places online:
Anyway, nowadays things are lot easier. 2 or 3 years ago, it was strictly necessary to do a lot of trial and error to figure out what's necessary. There are still a lot of rough edges, but in time things should get a bit better, since the community is growing and sponsors slowly keep coming in (this is just an estimate, I don't have any numbers to back this statement ).


Last but not least, these obstacles to install OpenFOAM are almost like a right of passage. This is because OpenFOAM is still very undocumented in a lot of it's capabilities and sometimes the only way to figure things out is to do a lot of trial-and-error and looking directly at the code.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   September 11, 2011, 10:38
Smile
  #3
New Member
 
Chuang Gao
Join Date: Sep 2011
Posts: 3
Rep Power: 5
turbomachinery is on a distinguished road
Thanks Bruno
I've exactly followed the short tutorial as suggested by you and shown below,

Quote:
Originally Posted by wyldckat View Post
Bruno
However, at the end, when it tries to generate rpm and installs that file, it makes errors as follows,
-- Up-to-date: /home/chuang/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILDROOT/ParaView-3.10.1-linux64GccDPOpt.x86_64/home/chuang/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/ParaView-3.10.1/platforms/linux64GccDPOpt/lib/paraview-3.10/imageformats/libqgif.so
-- fixup_bundle
-- app='/home/chuang/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/ParaView-3.10.1/platforms/linux64GccDPOpt/lib/paraview-3.10/paraview'
-- libs='/home/chuang/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.10.1/buildObj/bin/libMoments.so;/home/chuang/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.10.1/buildObj/bin/libPrismServerPlugin.so;/home/chuang/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.10.1/buildObj/bin/libPrismClientPlugin.so;/home/chuang/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.10.1/buildObj/bin/libPointSprite_Plugin.so;/home/chuang/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.10.1/buildObj/bin/libSierraPlotTools.so;/home/chuang/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.10.1/buildObj/bin/libSLACTools.so;/home/chuang/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.10.1/buildObj/bin/libStreamingView.so;/home/chuang/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.10.1/buildObj/bin/libSurfaceLIC.so;/home/chuang/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.10.1/buildObj/bin/libH5PartReader.so;/home/chuang/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.10.1/buildObj/bin/libVisTrailsPlugin.so;/home/chuang/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.10.1/buildObj/bin/libAnalyzeReader.so;/home/chuang/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.10.1/buildObj/bin/libAnalyzeWriter.so;/home/chuang/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.10.1/buildObj/bin/libNIfTIReader.so;/home/chuang/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.10.1/buildObj/bin/libNIfTIWriter.so'
-- dirs='/usr/bin;/usr/lib'
-- warning: *NOT* handled - directory/file does not exist...
CMake Error at /home/chuang/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.10.1/CMake/BundleUtilities.cmake:627 (message):
error: fixup_bundle: not a valid bundle
Call Stack (most recent call first):
Applications/ParaView/cmake_install.cmake:80 (fixup_bundle)
Applications/cmake_install.cmake:37 (INCLUDE)
cmake_install.cmake:118 (INCLUDE)


make: *** [install] Error 1
error: Bad exit status from /home/chuang/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.jtIKrk (%install)


RPM build errors:
Bad exit status from /home/chuang/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.jtIKrk (%install)
Installing package: ParaView-3.10.1
Uninstalling ParaView-3.10.1 using RPM: ParaView-3.10.1-linux64GccDPOpt.x86_64
Installing ParaView-3.10.1 using RPM file: /home/chuang/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/x86_64/ParaView-3.10.1-linux64GccDPOpt.x86_64.rpm
error: open of /home/chuang/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/x86_64/ParaView-3.10.1-linux64GccDPOpt.x86_64.rpm failed: No such file or directory
Done installing package

========================================
Done ThirdParty AllMake: Stage4
========================================

========================================
Done ThirdParty Allwmake
========================================
turbomachinery is offline   Reply With Quote

Old   September 12, 2011, 02:12
Default
  #4
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 577
Blog Entries: 5
Rep Power: 13
elvis is on a distinguished road
Dear Chuang,

it is always helpful to start with a liveDVD to make the first steps.

Geekocfd (suse based) http://susegallery.com/a/2qtLK2/geekocfd

For Extent you can use the ISO-image from the OpenFoam Workshop (Kubuntu LTS based) http://rcc.its.psu.edu/ofw6/ofw6_v8.iso

or CAE Linux http://www.caelinux.com/CMS/
elvis is offline   Reply With Quote

Old   September 16, 2011, 16:45
Default
  #5
New Member
 
Nebojsa Gavrilov
Join Date: Aug 2009
Location: Zagreb
Posts: 1
Rep Power: 0
Nebojsa is on a distinguished road
Hi Chuang Gao,

Quote:
Originally Posted by turbomachinery View Post
Thanks Bruno
I've exactly followed the short tutorial as suggested by you and shown below,

However, at the end, when it tries to generate rpm and installs that file, it makes errors as follows,

I think that this bug is a part of the OpenFOAM-1.6-ext distribution at the moment. However if you install all packages from the tutorial above, you can ignore this error - paraFoam should work with system installed paraview, unless you use blockMesh feature mergePatchPairs.

Also if your OpenFOAM installation finishes with an error complaining something about dynamicMesh, just restart the installation with ./Allwmake and OpenFOAM should be installed correctly.

Best regards,

Nebojsa
Nebojsa is offline   Reply With Quote

Old   September 21, 2011, 04:45
Default
  #6
New Member
 
Join Date: Jun 2011
Posts: 13
Rep Power: 6
gtg258f is on a distinguished road
Hi all,

I was wondering if anyone had found out a little more about the "fix-up bundle" error occuring during the compilation of ParaView-3.10.1 (ThirdParty packages for OpenFOAM-1.6-ext).

Quote:
CMake Error at $HOME/Software/bin/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.10.1/CMake/BundleUtilities.cmake:627 (message):
error: fixup_bundle: not a valid bundle
Call Stack (most recent call first):
Applications/ParaView/cmake_install.cmake:80 (fixup_bundle)
Applications/cmake_install.cmake:37 (INCLUDE)
cmake_install.cmake:118 (INCLUDE)
For now I have linked OpenFOAM wih a system installed version of Paraview. OpenFOAM solvers work, but the linking for paraFoam does not seem to work very smoothly (well paraFoam does launch paraview but does not automatically detect that the data is in openFOAM format).

I actually had quite a few errors during the compilation of vtkPV3Foam:
[QUOTE]
+ wmake libso vtkPV3Foam
In file included from vtkPV3Foam.C:28:
../PV3FoamReader/vtkPV3FoamReader.h:31:43: error: vtkMultiBlockDataSetAlgorithm.h: No such file or directory
vtkPV3Foam.C:36:35: error: vtkDataArraySelection.h: No such file or directory
vtkPV3Foam.C:37:34: error: vtkMultiBlockDataSet.h: No such file or directory
vtkPV3Foam.C:38:25: error: vtkRenderer.h: No such file or directory
vtkPV3Foam.C:39:26: error: vtkTextActor.h: No such file or directory
vtkPV3Foam.C:40:29: error: vtkTextProperty.h: No such file or directory
In file included from vtkPV3Foam.C:28:
../PV3FoamReader/vtkPV3FoamReader.h:39: error: expected initializer before ‘:’ token

etc ...
[\QUOTE]

Best regards,
Diane
gtg258f is offline   Reply With Quote

Old   October 19, 2011, 09:39
Default
  #7
Member
 
P.A.
Join Date: Mar 2009
Location: Germany
Posts: 47
Rep Power: 8
blaise is on a distinguished road
Hi Diane,

did you find a solution to your problems below? If so, could you please share it? I have the same errors with OF-1.6-ext.

Quote:
Originally Posted by gtg258f View Post

+ wmake libso vtkPV3Foam
In file included from vtkPV3Foam.C:28:
../PV3FoamReader/vtkPV3FoamReader.h:31:43: error: vtkMultiBlockDataSetAlgorithm.h: No such file or directory
vtkPV3Foam.C:36:35: error: vtkDataArraySelection.h: No such file or directory
vtkPV3Foam.C:37:34: error: vtkMultiBlockDataSet.h: No such file or directory
vtkPV3Foam.C:38:25: error: vtkRenderer.h: No such file or directory
vtkPV3Foam.C:39:26: error: vtkTextActor.h: No such file or directory
vtkPV3Foam.C:40:29: error: vtkTextProperty.h: No such file or directory
In file included from vtkPV3Foam.C:28:
../PV3FoamReader/vtkPV3FoamReader.h:39: error: expected initializer before ‘:’ token

etc ...
Thank you!

Cheers,

Pascal.
blaise is offline   Reply With Quote

Old   October 19, 2011, 10:14
Default
  #8
New Member
 
Join Date: Jun 2011
Posts: 13
Rep Power: 6
gtg258f is on a distinguished road
Hi Pascal,

No, I did not find a real solution to the problem. What I ended up doing is installing a precompiled version of Paraview 3.10 and linking to it, rather than using the one in the Thirdparty package.

Sorry!
Diane
gtg258f is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Book recommendations for OpenFOAM? Nontagonist OpenFOAM 2 October 17, 2011 09:13
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 06:25
Recommendations for OpenFOAM computer bradley OpenFOAM 4 August 28, 2009 08:07
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05:56
The OpenFOAM extensions project mbeaudoin OpenFOAM 16 October 9, 2007 09:33


All times are GMT -4. The time now is 05:32.