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

Comments

Register Blogs Community New Posts Updated Threads Search

  1. Old Comment

    Building ParaView 3.10.1 with custom Qt 4.6.4

    Greetings bhomer,

    Sadly we can't attach files to the comment-posts

    I've created a virtual machine with Fedora 14 x64_64 in it and followed my own instructions and finished with success.

    The instructions that you might be missing are the ones shown here: Fedora 15 install help - post #4
    The relevant detail is the list of packages - I installed the whole nine yards in Fedora as root:
    Code:
    yum install gcc gcc-c++ binutils-devel flex git-core wget cmake qt4-devel python-devel readline-devel bison ncurses-devel tix.x86_64 glibc-devel flex zlib-devel libXt-devel binutils-static python-devel qt-devel cmake flex patch
    Best regards and good luck!
    Bruno
    permalink
    Posted October 16, 2011 at 10:21 by wyldckat wyldckat is offline
  2. Old Comment

    Building ParaView 3.10.1 with custom Qt 4.6.4

    Good evening all,

    I have a Fedora 14 system that I want to put OpenFOAM-2.0.1 on.
    After that build was successfully completed I followed the above instructions and I appeared to have succeed in building ParaView.

    Then I clicked on the "here" link and built the PV3Reader utilities it didn't work so well. I have a compressed log showing the errors but I haven't figured out how to attach it to this comment.

    Here are some of the errors:
    + wmake libso vtkPV3Readers
    wmakeLnInclude: linking include files to ./lnInclude
    Making dependency list for source file vtkPV3Readers.C
    could not open file vtkDataArraySelection.h for source file vtkPV3Readers.C
    could not open file vtkDataSet.h for source file vtkPV3Readers.C
    could not open file vtkMultiBlockDataSet.h for source file vtkPV3Readers.C
    could not open file vtkInformation.h for source file vtkPV3Readers.C
    etc.

    Also:

    CMake Error at CMakeLists.txt:12 (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

    I am very new to OpenFOAM but I am very interested in it.

    bhomer
    permalink
    Posted October 15, 2011 at 21:52 by bhomer bhomer is offline
  3. Old Comment

    Build times for OpenFOAM 2.0.x code with Ubuntu 10.10 with its gcc 4.4.5

    Hi Takuya!

    Actually, I do believe it seriously depends on the speed at which the files are accessed and/or accessible. And since modern machines + Linux OS use file cache on RAM abundantly, the necessity for N+1 is reduced to naught.

    But indeed: experiments must be conducted to reach some sort of proof, even if it can be disproved in the future with other experiments

    Best regards,
    Bruno
    permalink
    Posted September 12, 2011 at 14:59 by wyldckat wyldckat is offline
  4. Old Comment

    Build times for OpenFOAM 2.0.x code with Ubuntu 10.10 with its gcc 4.4.5

    So no "-j N+1" myth... I believe the story should deserve a "Busted" by MythBusters

    T
    permalink
    Posted September 3, 2011 at 10:42 by 7islands 7islands is offline
  5. Old Comment

    Using the official pre-built ParaView 3.10.1 version with OpenFOAM

    Sorry about the delay.
    I'm using the ParaView build as mentioned in a) http://www.openfoam.com/download/ubuntu.php

    Let me read through your blog post and try everything mentioned there, and see if I can get it to work. Have gone back to OF 1.7.1 and ParaView 3.8.0 in the meantime.
    Thanks for your time!

    Regards
    Case
    permalink
    Posted August 25, 2011 at 08:00 by case case is offline
  6. Old Comment

    Using the official pre-built ParaView 3.8.0 version with OpenFOAM...

    Hi Naveen,

    Oh !"#$%&... You must remove this ParaView pre-built version!! It carries it's own Qt and maybe libc or stdc++ and that's why your Fedora applications stopped working
    Sorry about that... sometimes it's a hit and miss with these pre-built things You better build your own ParaView instead!

    Best regards and good luck!
    Bruno
    permalink
    Posted August 25, 2011 at 03:33 by wyldckat wyldckat is offline
  7. Old Comment

    Using the official pre-built ParaView 3.8.0 version with OpenFOAM...

    Hi Bruno,

    Thank you for the reply. I installed OpenFOAM 2.0.x, and I overlooked the instructions for Paraview 3.10.1. So I installed paraview and used foamtoVTK. Now I will try the above thread.

    You are right I am stressed out even though I felt happy after 2.0.x installed properly, after running a test case I closed my konsole, when I try to open a new konsole, it didn't respon. I restarted the computer and tried again, to my dismay nothing seems working, konsole, editors and other fedora applications are not responding. So I am still struggling

    Thank you again for your time
    Naveen
    permalink
    Posted August 24, 2011 at 20:15 by vetnav vetnav is offline
  8. Old Comment

    Using the official pre-built ParaView 3.8.0 version with OpenFOAM...

    Hi Naveen,

    You must be getting very stressed out Didn't you read the top of this blog post?
    Quote:
    I also have another blog post for building ParaView: Building ParaView 3.10.1 with custom Qt 4.6.4

    edit: I forgot to mention that if the folder does exist in step 2, then do remove it!

    Best regards and good luck!
    Bruno
    permalink
    Posted August 24, 2011 at 16:01 by wyldckat wyldckat is offline
    Updated August 24, 2011 at 16:03 by wyldckat (see "edit:")
  9. Old Comment

    Using the official pre-built ParaView 3.8.0 version with OpenFOAM...

    Hello,

    Is this procedure useful even for OpenFOAM 2.0.x with Paraview 3.10.1?
    In the step 2, you mentioned if it doesn't say something like this "blah blah blah" then remove the directory and go to step 3. But when I type ls $Paraview_DIR, it gives me that line, so what should I do next? do I have to still remove the folder?

    Thank you
    permalink
    Posted August 24, 2011 at 11:23 by vetnav vetnav is offline
  10. Old Comment

    Using the official pre-built ParaView 3.10.1 version with OpenFOAM

    Which build exactly?

    Greetings Case,

    It would help if you also let us know which ParaView build are you actually using now, which leads to the segmentation fault. Is it:
    1. The one from here: http://www.openfoam.com/download/ubuntu.php
    2. The one from www.paraview.org, as explained in this blog post.
    3. Or did you build it from source?
    Last but not least, did you see the last part of this blog post:
    Quote:
    Usual problems with ParaView and some hints on how to fix them: Segmentation fault when visualizing in ParaView
    That thread has a lot of information about how to fix, or at least isolate and determine, the cause of the problem.

    Best regards,
    Bruno
    permalink
    Posted August 17, 2011 at 13:25 by wyldckat wyldckat is offline
  11. Old Comment

    Using the official pre-built ParaView 3.10.1 version with OpenFOAM

    Hi
    Seeing that everyone is talking about Paraview 3.10.1, has anyone experienced a segmentation fault when making a screenshot in Paraview, as explained in the following bug report:

    https://bugzilla.redhat.com/show_bug.cgi?id=542391

    I'm running OpenFoam 2.0.1 on Ubuntu 10.10, and used the standard ubuntu repository install. I had Paraview 3.8.0 working perfectly before. Tried going the foamToVTK route but no luck either. Any suggestions/solutions?
    Thanks
    Case
    permalink
    Posted August 17, 2011 at 09:22 by case case is offline
  12. Old Comment

    Building ParaView 3.10.1 with custom Qt 4.6.4

    Good morning Bruno,

    It works fine. Thank you very much.

    Aurelien
    permalink
    Posted July 26, 2011 at 03:08 by Aurelien Thinat Aurelien Thinat is offline
  13. Old Comment

    Using the official pre-built ParaView 3.10.1 version with OpenFOAM

    Greetings Manoj,

    Mmm interesting... two possibilities come to mind:
    1. You might have forgotten to start a new terminal after commenting that line in bashrc.
    2. Or config/paraview.sh might do something beneficial.
      The only beneficial detail I can think of is that the libraries that come with the pre-built ParaView version are more compatible with your system's gedit than some other library that is available with CentFOAM, most likely one of the libraries that come with CentFOAM's gcc version. This would be because of this line of code in config/paraview.sh:
      Code:
      export LD_LIBRARY_PATH=$ParaView_DIR/lib/paraview-$ParaView_MAJOR:$LD_LIBRARY_PATH
      This puts ParaView's libraries in front of every other library in the search list. To confirm this, edit that file and change it to this:
      Code:
      export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ParaView_DIR/lib/paraview-$ParaView_MAJOR
      Start a new terminal and try to run gedit. It will probably crash just the same as before.
    Well, in the end I suggest that you choose the solution that works for you!

    Best regards,
    Bruno
    permalink
    Posted July 22, 2011 at 17:50 by wyldckat wyldckat is offline
  14. Old Comment

    Using the official pre-built ParaView 3.10.1 version with OpenFOAM

    Hi Bruno,

    Greetings!!

    Thanks for the method you gave to make paraview work for OF2.0. Although when I followed these steps for OpenFoam 2.0.x (centFoam) the paraview works fine, but now my 'gedit' command stopped working. On execution it says "Segmentation fault (core dumped). When I undid the step no. 8 (i.e. unhashed the '_foamsource..... paraview.sh' line) gedit again started working. Can you tell me any reason for this. FYI I installed centFOAM 2.0.x on RHEL 6.0 x64_86 and followed your above steps to build paraview.

    Thanks in advance!!

    Manoj
    permalink
    Posted July 21, 2011 at 06:31 by run_cfd run_cfd is offline
  15. Old Comment
    permalink
    Posted July 20, 2011 at 11:58 by ulisses ulisses is offline
  16. Old Comment

    Using the official pre-built ParaView 3.10.1 version with OpenFOAM

    Hi Takuya!

    Many thanks for the cross-reference to that bug report! That will come in handy soon enough

    Best regards,
    Bruno
    permalink
    Posted July 12, 2011 at 18:25 by wyldckat wyldckat is offline
  17. Old Comment

    Using the official pre-built ParaView 3.10.1 version with OpenFOAM

    Hi Jofry,

    If you are installing from the git repo, simply follow the whole and completely official instructions to the letter: http://www.openfoam.com/download/git.php
    Hopefully all will work well if you follow those instructions properly

    Failing that, here are at least a few threads you read and can check for more information:

    Best regards and good luck!
    Bruno
    permalink
    Posted July 12, 2011 at 18:24 by wyldckat wyldckat is offline
  18. Old Comment

    Using the official pre-built ParaView 3.10.1 version with OpenFOAM

    Hi Bruno, hi Takuya,

    thanks for your support!!
    for the record: I tried openfoam 2.0 with paraview 3.10.1 on ubuntu 10.10 and 11.04

    Looking at the links and it struck me:
    I have no thirdparty software installed.. With openfoam 1.7.x i didn't need to - I just executed apt-get install openfoam 1.7.1 - (I'm not certain if I tried the multRegionFoam though).
    Now I downloaded it from the Git Repository but I'm not exactly sure how to make it work..

    Thanks again!!
    permalink
    Posted July 12, 2011 at 08:43 by jofry jofry is offline
  19. Old Comment

    Using the official pre-built ParaView 3.10.1 version with OpenFOAM

    Hi jofry,
    That is the same issue to the one to which wyldckat provided the link, and has been filed as a bug with a proposed fix in the ParaView bug tracker.
    http://paraview.org/Bug/view.php?id=12318

    Takuya
    permalink
    Posted July 4, 2011 at 22:19 by 7islands 7islands is offline
  20. Old Comment

    Using the official pre-built ParaView 3.10.1 version with OpenFOAM

    Greetings Jofry,

    You could have said which OpenFOAM version you are using The only idea I get is what has already been reported here: http://www.cfd-online.com/Forums/ope...tml#post313489

    In other words, things have changed a bit with OpenFOAM 2.0.0, so expect things not to work as expected with the internal reader

    By the way, which Linux distribution and version are you using? It's possible that it'll be easier to build ParaView now than it was a year ago!

    Best regards,
    Bruno
    permalink
    Posted July 2, 2011 at 05:05 by wyldckat wyldckat is offline

All times are GMT -4. The time now is 07:49.