[Paraview] Compiling 5.0.0-RC1 vit VisItBridge linking failure on Fedora 23

2015-12-03 Thread Jiri Vyskocil
Hello,

I'm trying to compile Paraview with MPI and VisIt bridge on Fedora 23 with 
OpenMPI. Paraview compiles, and runs fine without VisitBridge. If I enable the 
PARAVIEW_USE_VISITBRIDGE option (I'm using ccmake), I get the following error:

[ 26%] Linking CXX shared library ../../../lib/libvtkIOVisItBridge-pv5.0.so
CMakeFiles/vtkIOVisItBridge.dir/vtkVisItChomboReader.cxx.o: In function 
`MPI::Win::Set_name(char const*)':
vtkVisItChomboReader.cxx:(.text._ZN3MPI3Win8Set_nameEPKc[_ZN3MPI3Win8Set_nameEPKc]+0x5):
 undefined reference to `MPI_Win_set_name'
CMakeFiles/vtkIOVisItBridge.dir/vtkVisItChomboReader.cxx.o: In function 
`MPI::Win::Set_attr(int, void const*)':
vtkVisItChomboReader.cxx:(.text._ZN3MPI3Win8Set_attrEiPKv[_ZN3MPI3Win8Set_attrEiPKv]+0x5):
 undefined reference to `MPI_Win_set_attr'
.
snip a couple hundred similar lines
.
vtkVisItChomboReader.cxx:(.text._ZNK3MPI9Intracomm6CreateERKNS_5GroupE[_ZNK3MPI9Intracomm6CreateERKNS_5GroupE]+0x6e):
 undefined reference to `ompi_mpi_comm_null'
CMakeFiles/vtkIOVisItBridge.dir/vtkVisItChomboReader.cxx.o:(.data.rel.ro._ZTVN3MPI8DatatypeE[_ZTVN3MPI8DatatypeE]+0x78):
 undefined reference to `MPI::Datatype::Free()'
CMakeFiles/vtkIOVisItBridge.dir/vtkVisItChomboReader.cxx.o:(.data.rel.ro._ZTVN3MPI3WinE[_ZTVN3MPI3WinE]+0x48):
 undefined reference to `MPI::Win::Free()'
collect2: error: ld returned 1 exit status
Utilities/VisItBridge/databases/CMakeFiles/vtkIOVisItBridge.dir/build.make:8485:
 recipe for target 'lib/libvtkIOVisItBridge-pv5.0.so.1' failed
make[2]: *** [lib/libvtkIOVisItBridge-pv5.0.so.1] Error 1
CMakeFiles/Makefile2:13468: recipe for target 
'Utilities/VisItBridge/databases/CMakeFiles/vtkIOVisItBridge.dir/all' failed
make[1]: *** 
[Utilities/VisItBridge/databases/CMakeFiles/vtkIOVisItBridge.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2


Any ideas how to fix this?
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Using XDMF to visualize particle tracks stored in HDF5 file

2015-11-26 Thread Jiri Vyskocil
Hello,

I want to visualize tracks of a couple thousand particles from and HDF5 file 
(optionally including time evolution of the positions, but for starters, tracks 
would be sufficient).

The HDF5 file is organized as follows:

- Each particle is in its own group identified by particle ID (an integer in 
the code)
- the group contains several 1D arrays which store time evolution of the 
particle:
  t - the time 
  x, y, z - coordinates (i.e. in time t[4], coordinates are x[4], y[4], z[4])
  momentum, energy, etc.

So something like:

particles.h5:/123456/t
particles.h5:/123456/x
particles.h5:/123456/y
particles.h5:/123456/z
particles.h5:/123456/ene

The length of the arrays is different for each particle, as they enter and exit 
the area of interest in different times. What I woud want to do is to draw the 
trajectories of all these particles (or a subset, etc. as there is thousands of 
them).

How do I describe this in XDMF? 
Should I use the Polyvertex Topology, as my file stores unconnected points? How 
do I then express the fact, that a set of points is a sort of timeseries 
belonging to a single particle, and that they form a track?


Thanks for any tips,
Jiri
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview