Recommendations to the developers: OpenFoam-x.x.x
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.
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:
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.
I've exactly followed the short tutorial as suggested by you and shown below,
-- 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
-- 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):
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
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/
Hi Chuang Gao,
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.
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).
I actually had quite a few errors during the compilation of vtkPV3Foam:
+ 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
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.
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.
|All times are GMT -4. The time now is 13:05.|