Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: TELEMAC data loader in PARAVIEW - Password issue

Re: TELEMAC data loader in PARAVIEW 12 years 1 month ago #5949

  • chimhill
  • chimhill's Avatar
Hello

I would be very interested in using the Telemac data plugin for paraview.

However, if I click the posted link I am asked to enter my username and password and the username and password that I use for this webpage don't work.

Could anybody tell me what the problem might be and how to solve it?

Thanks in advance!
The administrator has disabled public write access.

Re: TELEMAC data loader in PARAVIEW 12 years 1 month ago #5964

  • a.weisgerber
  • a.weisgerber's Avatar
Hello

The reason is that the tool is not stored on this website but under the svn repository, which has its own password.

To access the svn repository you can follow the instructions on the svn page.
The administrator has disabled public write access.

Re: TELEMAC data loader in PARAVIEW -Paraview crashes 12 years 1 month ago #5979

  • chimhill
  • chimhill's Avatar
Thank you very much for your answer!

It helped me to check out the Selafin-Plugin for Paraview and finally also to install it.
At the moment Paraview directly crashes though, when I try to load any data.
Do you have any idea where the problem could lie?

I attach my lengthy story of how I installed ParaView:

I basically followed the instructions in the provided Readme.txt file in order to install Paraview with the Plugin.

As I had some trouble getting things to work I tried out various different versions of Ubuntu and also of Paraview. Most of the times I failed in the make step (at different percentages though and with different error messages).

On both Ubuntu 12.1 and on Ubuntu 11.1 with ParaView-3.14.1 the first error was:
/opt/ParaView-3.14.1-Source/VTK/Rendering/vtkRenderWindowInteractor.h:37:74: fatal error: X11/StringDefs.h: No such file or directory

After searching this error in the web I found a solution (which I applied blindly):
sudo apt-get install libtxt-dev

For ParaView-3.14.1 the installation proceeded a bit further afterwards but still got stuck saying:
/opt/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx:343:46: error: expected type-specifier before 'intptr_t'

Again with some search on the web I found that I could include the following lines in the above mentioned file:
#ifndef _MSC_VER
# include <stdint.h>
#endif


Unfortunately there was just another error afterwards again this time
/opt/ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx:1822:49: error: no matching function for call to 'vtkImageData::AllocateScalars(int, int)'
At this point I focused on other combinations of Paraview and UbuntuVersions.


With another ParaView version (3.10.1) on Ubuntu 11.1 I got yet a different error:
/opt/ParaView-3.10.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:804:3: error: 'ptrdiff_t' was not declared in this scope

I the meantime I was looking back to my Ubuntu 11.1 version with ParaView 3.14.1 and after having applied sudo apt-get install libtxt-dev it miraculously worked to build and install ParaView.
This was not a success all along the line, however - Paraview does start but as soon as I try to load in any data it crashes and also the Telemac/Selaphin file format does not appear in the supported file types. This is the same situation that I have on again another iso (Ubuntu 12.04), where I had paraviewopenfoam3120 already installed and the whole make process went through without an error, but Paraview does not run properly.

Now I am really not sure where the problem might be and what else I could try. Do you have any suggestions?

P.S I am aware that this is not really a Telemac problem, but I guess that quite a few people have installed Paraview with the plugin successfully and could give some hints...
Attachments:
The administrator has disabled public write access.

Re: TELEMAC data loader in PARAVIEW -Paraview crashes 12 years 1 month ago #5993

  • ails
  • ails's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 17
Hello,
Indeed, compiling paraview from scratch is very tricky, it comes with lots of errors.
Tecplot did a great job with Add-Ons as they provide an Sdk and only the plugin is compiled.

I can only suggest a few checkpoint lists:
- do not work on remote device, we waste a lot of time with Uwe Merkel because of this
- before compiling paraview, make an apt-get of the official paraview release. I hope it will update the missing dependencies. And then download the sources of the same release.

You managed to compile the whole thing (cheers!!!) but no Telemac data loader can be seen :
- Has it been compiled? A SerafinTelemac.so should have been created (not sure of the exact name).
- Did you see anything related to the Selafin plugin during the whole process? If not be sure that you correctly uptaded the CMakelists file in the plugin directory.
- if yes, did you correctly export the PV_PLUGIN_PATH variable?
- the plugin must appear in tools-> manage plugins where you can also load your plugin dynamically.

Hope it somehow helps you

Regards,

Fabien Decung
The administrator has disabled public write access.
The following user(s) said Thank You: chimhill

Re: TELEMAC data loader in PARAVIEW -Paraview crashes 12 years 1 month ago #6008

  • chimhill
  • chimhill's Avatar
Hello,

many thanks for your quick answer, Fabien Decung!

I managed to get a version of (Paraview 10.10.1 ) installed which seems to work fine, even the Serafin File reader appears, but when reading the data Paraview still crashes. As it says Serafin File reader and I am trying to load Selafin Files I am wondering if those two are actually the same!?

Does the Serafin Plugin need any other Plugins to be installed in order to work properly? In tools -> manage plugins I found that many other plugins all starting with lib (e.g. libXdmf, libvtkzlib etc) show an error symbol and say "Not a ParaView Plugin since could not locate the plugin-verification function".

Any other ideas what might have gone wrong or what else to try?

(I do have two so-Files to do with Telemac installed: libSerafinServerPlugin.so and libSerafinClientPlugin.so. I have the PV_PLUGIN_PATH exported now, and the SerafinClientPlugin and the SerafinServerPlugin loaded. )



_____________________________________________________________________________
As a reference to anyone also trying to install paraview with the plugin I attach my experience:

As you had suspected, I hadn't exported the PV_PLUGIN_PATH variable so that is why the Telemac data loader was not seen. Having exported the variable the data loader would still not work though.

Therefore I started from scratch again, following your suggestion to first install the official binary release of paraview and then downloading the sources.

Thereby I found out that even with the official binary release (3.14.1 on Ubuntu 12.04) loading stl Data files wouldn't work for me. Even creating a simple box in Paraview, exporting it as an stl (ascii) and reloading it would cause the program to crash. With paraview 3.10.1 data loading was fine so I am now using 3.10.1 sources for the installation.

On the paraview.org/Wiki/ParaView:Build_And_Install I had found a list of packages that should be installed in order to build ParaView and installed them all:
libphonon-dev libphonon4 qt4-dev-tools libqt4-core libqt4-gui qt4-qmake libxt-dev g++ gcc cmake-curses-gui libqt4-opengl-dev mesa-common-dev
With Python: python-dev

At 7% of the making an error occured in /opt/VTK/Utilities/vtkmetaio/metaUtils.cxx (I didn't write it down, but it was sth to do with ptrdiff_t). Comparing the file to the ulimate sourccode on vtk.org I found that a line #include <stddef.h> was missing. Including this line made the installation ran through.

After setting the PV_PLUGIN_PATH variable and loading the Plugins from tools -> Manage Plugins the Seraphin Reader appeared. Opening Selafin files still causes a crash though.
The administrator has disabled public write access.

Re: TELEMAC data loader in PARAVIEW -Paraview crashes 12 years 1 month ago #6010

  • ails
  • ails's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 17
I just tried on a Debian Squeeze with Paraview 3.14.0 and it worked.

However, for robustness purpose, I suggest everyone to remove the "-j4" options (parallel build) from the script.sh file (make -j4).

What OS are you using ?
Did you try the script.sh ou did you configure with ccmake (preferred option)?

Regards,

Fabien
The administrator has disabled public write access.
The following user(s) said Thank You: chimhill

Re: TELEMAC data loader in PARAVIEW -Paraview crashes 12 years 1 month ago #6013

  • chimhill
  • chimhill's Avatar
Ok, it is good to know that it can work, thanks. :-)

I did not directly run the script.h file, but basically copied the commands one by one. I had already removed the -j4 option.

Im am using Ubuntu 12.04 on a Virtual Box. If I could make it run on Ubuntu that would be great, but I would also be happy to install Debian if necessary.

I haven't used ccmake before. I assume I would have to specify the same variables as in the Script.h-File!? And some more? As I didn't find out directly how to specify new variables in ccmake I installed the Cmake Qt4 Gui. Do you have exactly the list of all the variables you specified? It seems like I had CMAKE_BUILD_TYPE=debug. I changed it and I will see if it has any effect.

In case I go for Debian Squeeze: Which version do you have exactly? I had a look on the webpage and there seem to be different iso-installation images
amd64
armel
kfreebsd-i386
kfreebsd-amd64
i386
ia64
mips
mipsel
powerpc
sparc
I suppose the "normal one" is the i386?

Kind regards!
The administrator has disabled public write access.

Re: TELEMAC data loader in PARAVIEW -Paraview crashes 12 years 4 weeks ago #6057

  • chimhill
  • chimhill's Avatar
Hello,

I have tried again with ccmake on Ubuntu and when that didn't work either, I installed Debian Squeeze 6.0.6 i386 and ran through the process on Debian, too.

On Debian I installed ParaView 3.14.0. Again it installed (here no error messages in the cmake process) but crashed when loading either stl files or the Selaphin Files. Loading vtk-Files works though.

I attach a copy of the Variables I used for ccmake on Debian. I forgot to change the CMAKE_INSTALL_PREFIX to ./installed. But I specified this parameter the other times I tried, so I don't assume that is the problem.

I also noticed, that I have many PATH-NOTFOUND. Could they be the problem?

I am trying to load SELAFIN files, where I changed the ending to srf. Is that correct at all? Could you send me an example SERAFIN file that should work?

I will also see if I find out if I can make the Selafin to VTK utility work and just load VTK to Paraview. Also I see how to run Postel3D in order to extract vertical cross sections. I have already started to translate the Matlab-files for reading Selafin and Leonard Files into R and for the Selafin format it already works. Anyway being able to use Paraview for visualisation would be great!
Attachments:
The administrator has disabled public write access.

Re: TELEMAC data loader in PARAVIEW -Paraview crashes 12 years 4 weeks ago #6070

  • ails
  • ails's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 17
Hi,

- I also tried the online script with Paraview 3.14.0 on my own Fedora 13 (32Bits) two days ago and it went without any problem until [87%]. However, I didn't have enough time for compiling the whole thing. I will finish this evening, I will let you inform.

- Our Debian squeeze is an 2.6.32-5-amd64, X86_64.

- Any .srf file available in the TELEMAC training test cases should work. See the download page.

- I compared both configuration files (the initial CMakeCache.txt file would be more interesting) :
-> the NOTFOUND message is rarely a problem. For example, PARAVIEW_DATA_ROOT is only required for testing Paraview. I have also a lot of errors with QT.
-> some differences however :
  • By default, I'm using the debug mode. Didn't try with the release one
  • I disabled third party libraries because Paraview crashed with. That's worth a try with...
  • By default, Python is disabled on my system, though we are using the same version (2.6)
  • I have very few errors on X11 (only 8) unlike you (36 errors). May be related to the virtual box you are using. Paraview developers may be more able to evaluate the impact.

I must add that this plugin comes without any warranty, it has been tested but on very few Unix systems.

Best regards,

Fabien
The administrator has disabled public write access.

Re: TELEMAC data loader in PARAVIEW -Paraview crashes 12 years 4 weeks ago #6090

  • chimhill
  • chimhill's Avatar
Hi,

Thanks for your answer! I imagine that a remote diagnosis is not so easy..

I have tried several combinations, also in debug mode and without python. I generally had third party libraries disabled (PARAVIEW_INSTALL_THIRD_PARTY_L OFF; or is der another variable to change). So far without success.

I attach you also the CMakeCache.txt file for the try on Debian.

Do you think the sel2vtk-fortran code would be a better option (I haven't worked with Fortran yet..)?
The VTK.tar.gz file that comes within the sel2vtk folder doesn't open:
gzip: stdin: invalid compressed data--format violated
tar: Child returned status 1
tar: Error is not recoverable: exiting now

and neither does the file-formats_vtk.pdf file. I haven't figured out yet if they are important anyway.

Kind regards!
Attachments:
The administrator has disabled public write access.
  • Page:
  • 1
  • 2

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.