[Paraview] Paraview 5.4.1 FTBS on Debian/Testing with gcc 7.2 when -DPARAVIEW_USE_VISITBRIDGE=ON

2017-10-12 Thread Christophe Trophime
SHARED_LIBS=ON \ 
-DBUILD_TESTING=OFF \ 
-DVTK_USE_MPEG2_ENCODER=OFF \ 
-DVTK_USE_FFMPEG_ENCODER=ON \ 
-DVTK_USE_OGGTHEORA_ENCODER=ON \ 
-DVTK_USE_SYSTEM_FREETYPE=ON \ 
-DVTK_USE_SYSTEM_GL2PS=ON \ 
-DVTK_USE_SYSTEM_JPEG=ON \ 
-DVTK_USE_SYSTEM_JSONCPP=ON \ 
-DVTK_USE_SYSTEM_NETCDF=ON \ 
-DVTK_USE_SYSTEM_GLEW=ON \ 
-DVTK_USE_SYSTEM_PNG=ON \ 
-DVTK_USE_SYSTEM_OGGTHEORA=ON \ 
-DVTK_USE_SYSTEM_TIFF=ON \ 
-DVTK_USE_SYSTEM_ZLIB=ON \ 
-DVTK_USE_SYSTEM_LIBXML2=ON \ 
-DVTK_USE_SYSTEM_EXPAT=ON \ 
-DVTK_USE_SYSTEM_PUGIXML=ON \ 
-DVTK_USE_SYSTEM_AUTOBAHNPYTHON=ON \ 
-DVTK_USE_SYSTEM_PYGMENTS=ON \ 
-DVTK_USE_SYSTEM_SIXPYTHON=ON \ 
-DVTK_USE_SYSTEM_PROTOBUF=ON \ 
-DVTK_USE_SYSTEM_TWISTED=ON \ 
-DVTK_USE_SYSTEM_XDMF2=ON \ 
-DVTK_USE_SYSTEM_ZOPEINTERFACE=ON \ 
-DVTK_USE_SYSTEM_MPI4PY=ON \ 
-DHDF5_PREFER_PARALLEL=ON \ 
-DVTK_USE_SYSTEM_HDF5=ON \ 
-DVTK_USE_SYSTEM_NETCDF=ON \ 
-DVTK_Group_Web=ON \ 
-DVTK_INSTALL_LIBRARY_DIR="lib/paraview" \ 
-DVTK_INSTALL_ARCHIVE_DIR="lib/paraview" \ 
-DVTK_INSTALL_INCLUDE_DIR="include/paraview" \ 
-DVTK_INSTALL_DATA_DIR="share/paraview" \ 
-DVTK_INSTALL_DOC_DIR="share/doc/paraview" \ 
-DVTK_INSTALL_PACKAGE_DIR="lib/cmake/paraview" \ 
-DVTK_CUSTOM_LIBRARY_SUFFIX="" \ 
-DBUILD_EXAMPLES=OFF \ 
-DDOCUMENTATION_HTML_HELP=ON \ 
-DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON \ 
-DBUILD_DOCUMENTATION=ON \ 
-DPARAVIEW_USE_MPI=ON \ 
-DMPI_INCLUDE_PATH="/usr/include/mpi" \ 
-DPARAVIEW_ENABLE_PYTHON=ON \ 
-DPARAVIEW_BUILD_PLUGIN_AdiosReader:BOOL=ON \ 
-DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting:BOOL=ON \ 
-DPARAVIEW_BUILD_PLUGIN_MobileRemoteControl=OFF \ 
-DPARAVIEW_BUILD_PLUGIN_ForceTime:BOOL=ON \ 
-DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=ON \ 
-DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=ON \ 
-DPARAVIEW_BUILD_PLUGIN_SurfaceLIC:BOOL=ON \ 
-DPARAVIEW_BUILD_PLUGIN_CoProcessingScriptGenerator:BOOL=ON \ 
-DPARAVIEW_USE_VISITBRIDGE=ON \ 
-DEigen_DIR=/usr/include/eigen3 \ 
-DPARAVIEW_BUILD_WEB_DOCUMENTATION=ON \ 
-DVTK_RENDERING_BACKEND:STRING=OpenGL2 \ 
-DPARAVIEW_QT_VERSION=5 \ 
-DVTK_INSTALL_NO_DOCUMENTATION=ON 


Best 
C 


Christophe TROPHIME 
Research Engineer 

CNRS - LNCMI 
25, rue des Martyrs 
BP 166 
38042 GRENOBLE Cedex 9 
FRANCE 

Tel : +33 (0)4 76 88 90 02 
Fax : +33 (0) 4 76 88 10 01 
Office U 19 
M@il : christophe.troph...@lncmi.cnrs.fr 

___
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


Re: [Paraview] SurfaceLIC issues with Paraview 5.2.0

2017-02-14 Thread Christophe Trophime
I had a similar problem on debian

export QT_SELECT=qt5 or qt4

before running cmake fix the problem



Christophe TROPHIME 
Research Engineer 

CNRS - LNCMI 
25, rue des Martyrs 
BP 166 
38042 GRENOBLE Cedex 9 
FRANCE 

Tel : +33 (0)4 76 88 90 02 
Fax : +33 (0) 4 76 88 10 01 
Office U 19 
M@il : christophe.troph...@lncmi.cnrs.fr 

- Original Message -
> From: "Utkarsh Ayachit" <utkarsh.ayac...@kitware.com>
> To: "Faiz Abidi" <fabid...@vt.edu>
> Cc: "ParaView" <paraview@paraview.org>
> Sent: Tuesday, February 14, 2017 8:16:20 PM
> Subject: Re: [Paraview] SurfaceLIC issues with Paraview 5.2.0
> 
> Can you post your CMakeCache.txt? I suspect one of the Qt help
> generation tools was not found/set correctly.
> 
> Utkarsh
> 
> On Tue, Feb 14, 2017 at 12:46 PM, Faiz Abidi <fabid...@vt.edu> wrote:
> > Hello community,
> >
> > Anyone faced issues with Paraview 5.2.0 and the SurfaceLIC plugin? When I
> > install Paraview from source, I get the below error.
> >
> > "/bin/sh: line 0: cd:
> > /home/fabidi89/git/ParaView/build_usingCCMake/Plugins/SurfaceLIC/doc: No
> > such file or directory
> > make[2]: *** [Plugins/SurfaceLIC/doc/SurfaceLIC.qch] Error 1
> > make[1]: *** [Plugins/SurfaceLIC/CMakeFiles/SurfaceLIC.dir/all] Error 2"
> >
> > I am not sure if I am missing a dependency. The install works fine without
> > this plugin.
> >
> > Anyone seen this before?
> > --
> > Faiz Abidi | Master's Student at Virginia Tech | www.faizabidi.com |
> > +1-540-998-6636
> >
> > ___
> > 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
> >
> ___
> 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
> 
___
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


Re: [Paraview] Is USE_EXTERNAL_VTK supported with ParaView 5.1.2?

2016-08-29 Thread Christophe Trophime
> From: "corinna reuter" 
> To: "Utkarsh Ayachit" 
> Cc: "ParaView" 
> Sent: Sunday, August 28, 2016 3:28:51 PM
> Subject: Re: [Paraview] Is USE_EXTERNAL_VTK supported with ParaView 5.1.2?

> Thank you, I will try if that works. Now that you mention it, I think I
> remember that I have been successful in a similar situation quite some time
> ago by using the build directory.
> However, the problem with this is that I would have to always copy around the
> complete build directory between production servers. At the moment I only
> install the installation directory on those servers. (The much smaller
> installation directory helps to reduce the startup time significantly.) In
> the installation directory, "VTKTargets.cmake" is missing, so that other
> projects cannot use this as VTK_DIR.
> Would it be easy for you to make the ParaView installation directory usable
> as VTK_DIR by adding the required cmake files? Or is there a more difficult
> problem underneath? The missing VTKTargets.cmake has been discussed several
> times in the past with no real solution.

Hi, just to let you know that I add try something very similar that is building 
my app (using Feelpp library) using Paraview/VTK instead of plain VTK. 
To do so we made something like this: 

if ( FEELPP_ENABLE_VTK ) 
# First try to find ParaView 
FIND_PACKAGE(ParaView NO_MODULE 
PATHS $ENV{PARAVIEW_DIR} ${MACHINE_PARAVIEW_DIR} ) 

if(ParaView_FOUND) 
message(STATUS "[ParaView] Use file: ${PARAVIEW_USE_FILE}") 
INCLUDE(${PARAVIEW_USE_FILE}) 

# trying to load a minimal vtk 
IF (TARGET vtkParallelMPI) 
FIND_PACKAGE(ParaView QUIET COMPONENTS vtkParallelMPI NO_MODULE 
PATHS $ENV{PARAVIEW_DIR} ${MACHINE_PARAVIEW_DIR} ) 
message(STATUS "[ParaView] Loading vtkParallelMPI module") 
ENDIF () 
IF (TARGET vtkPVCatalyst) 
FIND_PACKAGE(ParaView COMPONENTS vtkPVCatalyst NO_MODULE 
PATHS $ENV{PARAVIEW_DIR} ${MACHINE_PARAVIEW_DIR} ) 
message(STATUS "[ParaView] Loading vtkPVCatalyst module") 
ENDIF () 
IF (TARGET vtkPVPythonCatalyst) 
FIND_PACKAGE(ParaView COMPONENTS vtkPVPythonCatalyst NO_MODULE 
PATHS $ENV{PARAVIEW_DIR} ${MACHINE_PARAVIEW_DIR} ) 
message(STATUS "[ParaView] Loading vtkPVPythonCatalyst module") 
ENDIF () 

# Enable VTK exporter and insitu in config 
IF (TARGET vtkPVCatalyst AND TARGET vtkPVPythonCatalyst) 
set(FEELPP_VTK_INSITU_ENABLED 1) 
message(STATUS "In-situ visualisation enabled (vtkPVCatalyst, 
vtkPVPythonCatalyst).") 
ENDIF() 

# Mark VTK and ParaView as available 
set(FEELPP_HAS_VTK 1) 
set(FEELPP_HAS_PARAVIEW 1) 
# Check for version to ensure that we are able to 
# use an external communicator 
set(VTK_HAS_PARALLEL 0) 
if( VTK_MAJOR_VERSION EQUAL 6 OR VTK_MAJOR_VERSION GREATER 6 ) 
set(VTK_HAS_PARALLEL 1) 
endif() 

INCLUDE_DIRECTORIES(${VTK_INCLUDE_DIRS}) 
INCLUDE_DIRECTORIES(${ParaView_INCLUDE_DIRS}) 
INCLUDE_DIRECTORIES(${VTK_INCLUDE_DIRS}) 
SET(FEELPP_LIBRARIES ${ParaView_LIBRARIES} ${FEELPP_LIBRARIES}) 
SET(FEELPP_LIBRARIES ${VTK_LIBRARIES} ${FEELPP_LIBRARIES}) 
SET(FEELPP_ENABLED_OPTIONS "${FEELPP_ENABLED_OPTIONS} ParaView/VTK" ) 

message(STATUS "Found ParaView ${PARAVIEW_VERSION_FULL}/VTK 
${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION}") 
endif() 

# If ParaView was not found we try to find VTK 
if(NOT ParaView_FOUND) 
message(STATUS "ParaView could not be found or is not compatible with Feel++. 
Looking for VTK...") 
FIND_PACKAGE(VTK QUIET) 
if( VTK_FOUND ) 

 

It compiles without any problem. 

On Debian/Testing this won't work with packaged paraview. The package need to 
be reworked in order to use it for providing vtk. 

It consists mainly in adding some "missing files" into the paraview-dev 
package. 

I'm trying to fix this 

However I run into a problem regarding paraview and vtk python bindings. 

In a "standard" installation of paraview we end-up with the following 
directories: 

../site-packages/paraview/vtk 

../site-packages/vtk 

These 2 directories contains the same python files except for the __init__.py 
files. 

The last directory (vtk) also contains some shared libs. 

Would it be possible to somehow to have only on vtk directory into 
site-packages? 

This would avoid a clash between python-paraview package and python-vtk6 
package.. 

or to use python-vtk6 package to provide ../site-packages/vtk as it's done 
right now 

(Besides paraview 5.1.2 actually provides vtk7 which is not packaged so far...) 

Any idea or comments to work around this problem 

Best. 

> Thank you
> Corinna

> On Sat, Aug 27, 2016 at 12:27 PM, Utkarsh Ayachit <
> utkarsh.ayac...@kitware.com > wrote:

> > > For this purpose I configure ParaView with the
> 
> > > -DUSE_EXTERNAL_VTK=ON option, but I get a bunch of errors.
> 
> > > Before I attach lengthy error logs, I'd like to ask whether this can work
> > > at
> 
> > > all?
> 

> > No, it's not supported and there are no indications that it will any
> 
> > time soon unless someone from the community takes it 

[Paraview] How to display only certain parts of a geometry?

2015-07-10 Thread Christophe Trophime
Hi, 
I wish to use Paraview to display data stored in EnSight Gold format. 
I would like to display only certain parts of the geometry. 
In EnSight it's quite easy to select the parts you want to display. 
How can I do the same in Paraview? 

Thanks for any hints 
Best regards 
C 



Christophe TROPHIME 
Research Engineer 

CNRS - LNCMI 
25, rue des Martyrs 
BP 166 
38042 GRENOBLE Cedex 9 
FRANCE 

Tel : +33 (0)4 76 88 90 02 
Fax : +33 (0) 4 76 88 10 01 
Office U 19 
M@il : christophe.troph...@lncmi.cnrs.fr 

___
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