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

Native ParaView Reader Bugs

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

Like Tree3Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   November 5, 2008, 03:27
Default Possible causes I can think of
  #101
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 11
7islands is on a distinguished road
Possible causes I can think of are compiler version, library version or CMAKE_BUILD_TYPE mismatches between ParaView and the plugin. Do you have a backtrace?

T
7islands is offline   Reply With Quote

Old   November 5, 2008, 08:10
Default Hi, compiler, library and C
  #102
Senior Member
 
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 185
Rep Power: 8
podallaire is on a distinguished road
Hi,

compiler, library and CMAKE_BUILD_TYPE are the sam. No, I don't have a backtrace. SHould I use gdb for this ?

One thing that I can do is to send you a link to download the app and the plugin if you are interested to test it. It's Mac os x 86.

PO
podallaire is offline   Reply With Quote

Old   November 5, 2008, 08:51
Default Hi Pierre-Olivier, OK so can
  #103
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 11
7islands is on a distinguished road
Hi Pierre-Olivier,
OK so can you send me the link? It should be a lot helpful for me to sort out the problem too. I think I can have a look around this weekend.

Also can you provide me the compiler version you used, the Qt version and which distribution (Trolltech's binary, MacPorts, self-built etc.)?

Takuya
7islands is offline   Reply With Quote

Old   November 10, 2008, 10:33
Default Pierre-Olivier's crash was fou
  #104
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 11
7islands is on a distinguished road
Pierre-Olivier's crash was found to be a RPATH-related problem where dynamic loader of OS X could not find the plugins within the application bundle. As a fix I created and attached a CMake script to fix the plugin binaries so that they look for their dependencies inside the application bundle.

If anyone is having the same problem with the CVS head of ParaView built with RPATH embedded, try this.

1. Put the attached script under your plugin build directory.
2. Run the following command under the plugin build directory.
cmake -DParaView_DIR="full path to ParaView build directory" \
-DParaView_App="full path to ParaView application bundle (ParaView.app)" \
-P fixupBundle.cmake


If you have already removed the ParaView build directory you'll see a bunch of warnings like
-- warning: cannot resolve item '/Volumes/OpenFOAM/ExtraSRCfiles/newPlugin/plugin/libPOpenFOAMReaderSMPlugin.dylib'
-- warning: cannot resolve item '/Volumes/OpenFOAM/ExtraSRCfiles/newPlugin/build/bin/libvtkPVServerManager.dylib'
but the script still should work.

By the steps above the plugins will be copied inside the application bundle (ParaView 3.5.0.app/Contents/Plugins) and automatically loaded when startup. If the plugins doesn't get copied, copy them manually and re-run the script.
fixupBundle.cmake
Takuya
7islands is offline   Reply With Quote

Old   November 27, 2008, 13:48
Default Hello Takuya, I'm not quite
  #105
Member
 
lord_kossity's Avatar
 
Andreas Dietz
Join Date: Mar 2009
Location: Munich
Posts: 79
Rep Power: 8
lord_kossity is on a distinguished road
Hello Takuya,

I'm not quite sure whether the following problem is a problem of the Native ParaView Reader but since this is the thread where the experts linger, I think I'm in the right place.

When I`m loading any field - except the velocity (i.e. pressure, epsilon, k, ...) - and apply the "Rescale To Data Range", the range is always scaled from 0 to 1 although it is actually in between about 87200 and 87250.

Atomatically rescaled:



Manually rescaled:



How can I solve this problem?
lord_kossity is offline   Reply With Quote

Old   November 27, 2008, 20:01
Default Hi Andreas, Can you provide a
  #106
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 11
7islands is on a distinguished road
Hi Andreas,
Can you provide a dataset that demonstrates the problem and let me know the ParaView version you used?

Takuya
7islands is offline   Reply With Quote

Old   November 28, 2008, 03:40
Default Hi Takuya, since the case i
  #107
Member
 
lord_kossity's Avatar
 
Andreas Dietz
Join Date: Mar 2009
Location: Munich
Posts: 79
Rep Power: 8
lord_kossity is on a distinguished road
Hi Takuya,

since the case is too big to load it up to the Board I'm going to write you an email with case attached.

The ParaView version is 3.5.0.

Thank you
Andreas
lord_kossity is offline   Reply With Quote

Old   December 22, 2008, 09:15
Default Hi Takuya, I've tried to co
  #108
Member
 
Luca M.
Join Date: Mar 2009
Location: Luzern, Switzerland
Posts: 59
Rep Power: 8
luca is on a distinguished road
Hi Takuya,

I've tried to compile your parallelized reader vtkPOpenFOAMReader-r64-20081005, but I've encountered the following errors:

/home/mangani/OpenFOAM-HTC/linuxSrc/vtkPOpenFOAMReader-r64-20081005/GPL/vtkPOpen FOAMReader.cxx:95: error: 'class vtkPOpenFOAMReader' has no member named 'Refresh'
/home/mangani/OpenFOAM-HTC/linuxSrc/vtkPOpenFOAMReader-r64-20081005/GPL/vtkPOpen FOAMReader.cxx: In member function 'virtual int vtkPOpenFOAMReader::RequestInformation(vtkInformat ion*, vtkInformationVector**, vtkInformationVector*)':
/home/mangani/OpenFOAM-HTC/linuxSrc/vtkPOpenFOAMReader-r64-20081005/GPL/vtkPOpen FOAMReader.cxx:125: error: 'class vtkPOpenFOAMReader' has no member named 'GetTimeValues'
/home/mangani/OpenFOAM-HTC/linuxSrc/vtkPOpenFOAMReader-r64-20081005/GPL/vtkPOpen FOAMReader.cxx:134: error: 'class vtkPOpenFOAMReader' has no member named 'SetTimeInformation'
/home/mangani/OpenFOAM-HTC/linuxSrc/vtkPOpenFOAMReader-r64-20081005/GPL/vtkPOpen FOAMReader.cxx:136: error: 'class vtkPOpenFOAMReader' has no member named 'Refresh'

ecc..

It seems that the compiler does not resolve the scope Superclass:: or in general FOAM functions.

I used FOAM ver 1.4 and 1.5 with gcc4.2.2 and gcc4.3.1 and with paraview 3.5.0.

Any comments?

Thanks in advance

Luca
luca is offline   Reply With Quote

Old   December 22, 2008, 10:26
Default Hi Luca, Can you make sure
  #109
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 11
7islands is on a distinguished road
Hi Luca,

Can you make sure ParaView3/VTK/IO/vtkOpenFOAMReader.{cxx,h} has been replaced by the one included in the 20081005 package?

Takuya
7islands is offline   Reply With Quote

Old   December 22, 2008, 14:12
Default Hi Takuya, thank you for y
  #110
Member
 
Luca M.
Join Date: Mar 2009
Location: Luzern, Switzerland
Posts: 59
Rep Power: 8
luca is on a distinguished road
Hi Takuya,

thank you for your reply. I tried an hybrid installation with an older version.. now I've used the 20081005 stuff and now all is ok.

Thanks again

Luca
luca is offline   Reply With Quote

Old   December 24, 2008, 09:25
Default Hi.A small question. When c
  #111
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 114
Rep Power: 8
lin is on a distinguished road
Hi.A small question.

When compiling the native reader,there is a warning that ,it requires cmake version 2.6. But by default,OpenFOAM uses version 2.4.6.

Can I neglect the Warning?
lin is offline   Reply With Quote

Old   December 26, 2008, 05:36
Default Hi Hua Zen, I'm afraid not.
  #112
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 11
7islands is on a distinguished road
Hi Hua Zen,

I'm afraid not. I added its fix to my to-do list (which is already too long).

Takuya
7islands is offline   Reply With Quote

Old   December 26, 2008, 09:03
Default Hi,Takuya Thanks for your w
  #113
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 114
Rep Power: 8
lin is on a distinguished road
Hi,Takuya

Thanks for your work and reply. The problem is that if I first activate the OF environment,then it will use the cmake version 2.4,though I have version 2.6 in the system.

Little feedback.

1) I use the cmake version 2.4 coming with OF,and neglect the warning. The plugins seem to work for a simple case.(Output of icofoam cavity)

2)change the configure ccmake command above with direct path of the system ccmake(2.6) /usr/bin/ccmake -------. There is no warning. And it also seems to work with the same test cases.
lin is offline   Reply With Quote

Old   January 7, 2009, 13:28
Default Hi Takuya, I've successfull
  #114
Member
 
Luca M.
Join Date: Mar 2009
Location: Luzern, Switzerland
Posts: 59
Rep Power: 8
luca is on a distinguished road
Hi Takuya,

I've successfully compiled* paraview-3.4.0 +* 20081005 BSD reader in OpenFOAM 1.5 (substituting vtkOpenFOAMReader files in VTK/IO directory of paraview sources and compliling with gcc 4.3.1): but when I launch the application I get the following error:


ERROR: In /home/mangani/OpenFOAM-1.5/ThirdParty/linuxSrc/ParaView-3.4.0/Servers/Common/vtk ProcessModule.cxx, line 1079
vtkProcessModule (0x730160): Object type: vtkOpenFOAMReader, could not find requested method: "SetTimeStep"
or the method was called with incorrect arguments.

while processing
Message 0 = Invoke
Argument 0 = id_value {80}
Argument 1 = string_value {SetTimeStep}
Argument 2 = int32_value {0}


ERROR: In /home/mangani/OpenFOAM-1.5/ThirdParty/linuxSrc/ParaView-3.4.0/Servers/Common/vtk ProcessModule.cxx, line 1080
vtkProcessModule (0x730160): Aborting execution for debugging purposes.

/home/mangani/OpenFOAM-1.5/OpenFOAM-1.5/bin/pvFoam3: line 73: 13274 Aborted ${paraviewPath} --data="${PWD}/system/controlDict.foam"


Do you have any suggestion about it?

Thanks in advance

Luca
luca is offline   Reply With Quote

Old   January 8, 2009, 06:07
Default Hi Luca, It looks like eith
  #115
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 11
7islands is on a distinguished road
Hi Luca,

It looks like either the vtkOpenFOAMreader files are still not yet replaced (which seems to be unlikely from your statement though) or the plugins are not loaded correctly. Can you see libPOpenFOAMPanel and libPOpenFOAMReaderSMPlugin from Tools -> Manage Plugins/Extensions?

Takuya
7islands is offline   Reply With Quote

Old   January 8, 2009, 06:15
Default Another possibility is that yo
  #116
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 11
7islands is on a distinguished road
Another possibility is that you are trying to load the plugins compiled with ParaView 3.5.0 (which you mentioned in your December 22 post). You most likely have to recompile the plugins if you change the ParaView version.
7islands is offline   Reply With Quote

Old   January 26, 2009, 09:47
Default Andreas or Takuya Is the pr
  #117
New Member
 
Steinar Aasebų
Join Date: Mar 2009
Posts: 13
Rep Power: 8
saasebo is on a distinguished road
Andreas or Takuya

Is the problem regarding "Rescale to data range" reported above by Andreas Dietz solved? I have the exact same problem.

Thanks, Steinar.
saasebo is offline   Reply With Quote

Old   January 27, 2009, 02:48
Default Hi Steinar, As for my side,
  #118
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 11
7islands is on a distinguished road
Hi Steinar,

As for my side, no. So far I am regarding the problem is in ParaView, not in my reader, because I am not having the problem and saw another report on the ParaView list stating the same problem. I reported Andreas' case on the list too but neither ParaView developers nor I have succeeded to reproduce the problem so far. For now what I can suggest are
  • If you are sure the problem is in the reader and give me more details I will have a look (but may take some time due to my busyness),
  • If you think the problem is in ParaView and report as much details on the ParaView list as ParaView developers can reproduce the problem I think there's a good chance they will have a serious look into the issue.
Takuya
7islands is offline   Reply With Quote

Old   January 27, 2009, 03:52
Default Hi Steinar Just a shot in t
  #119
Member
 
Michael Wild
Join Date: Mar 2009
Location: Bern, Switzerland
Posts: 79
Rep Power: 8
mwild is on a distinguished road
Hi Steinar

Just a shot in the blue: Have you tried to (temporarily) remove ~/.config/ParaView and ~/.config/Kitware?

Michael
mwild is offline   Reply With Quote

Old   January 30, 2009, 08:08
Default When I "remove" ~/.config/Para
  #120
New Member
 
Steinar Aasebų
Join Date: Mar 2009
Posts: 13
Rep Power: 8
saasebo is on a distinguished road
When I "remove" ~/.config/ParaView, the problem disappears... What does that mean? The Kitware file/folder I do not have.
saasebo 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
Native VisIt Reader Bugs tj22 OpenFOAM Paraview & paraFoam 8 November 8, 2013 05:21
ParaView Reader %7c Visit tj22 OpenFOAM Paraview & paraFoam 16 September 25, 2008 14:01
OpenFOAM reader in the ParaView CVS tj22 OpenFOAM Paraview & paraFoam 16 December 22, 2007 10:05
Posted OpenFOAM native reader for ParaView3CVS 7islands OpenFOAM Paraview & paraFoam 0 October 24, 2007 10:52
Trying to submit soon Paraview reader tj22 OpenFOAM Paraview & paraFoam 3 June 5, 2006 14:07


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