Re: [Paraview] ParaViewConfig.cmake created too late with ENABLE_paraviewpluginsexternal

2017-01-05 Thread Ben Boeckel
On Thu, Jan 05, 2017 at 13:07:32 +0100, Fabian Wein wrote:
> I think there is still an issue building plugins via 
> -DENABLE_paraviewpluginsexternal:BOOL=ON when building 
> paraview-superbuild.
> 
> cmake ../paraview-superbuild -DCMAKE_BUILD_TYPE:STRING=Release 
> -DBUILD_TESTING=OFF -DENABLE_cxx11=ON -DENABLE_qt5=ON 
> -DENABLE_boost:BOOL=ON -DENABLE_hdf5:BOOL=ON -DENABLE_zlib:BOOL=ON 
> -DENABLE_png:BOOL=ON 
> -Dsuperbuild_download_location=$HOME/code/cfsdepscache/paraview 
> -DENABLE_paraviewpluginsexternal:BOOL=ON 
> -Dparaview_PLUGINS_EXTERNAL:STRING=CFSReader 
> -Dparaview_PLUGIN_CFSReader_PATH:PATH=$METABUILD/../plugins/CFSReader
> 
> results in the error
> 
> CMake Error at ~/code/cfs_paraview/plugins/CFSReader/CMakeLists.txt:43 
> (FIND_PACKAGE):
>By not providing "FindParaView.cmake" in CMAKE_MODULE_PATH this 
> project has
>asked CMake to find a package configuration file provided by 
> "ParaView",
>but CMake did not find one.
> 
>Could not find a package configuration file provided by "ParaView" 
> with any
>of the following names:
> 
>  ParaViewConfig.cmake
>  paraview-config.cmake
> 
>Add the installation prefix of "ParaView" to CMAKE_PREFIX_PATH or set
>"ParaView_DIR" to a directory containing one of the above files.  If
>"ParaView" provides a separate development package or SDK, be sure 
> it has
>been installed.
> 
> And indeed ParaViewConfig.cmake does not exist yet in 
> ParaView_DIR=~/code/cfs_paraview/metabuild/build/superbuild/paraview/build
> 
> It works when I do the cmake ../paraview-superbuild first without 
> -DENABLE_paraviewpluginsexternal:BOOL=ON ...
> and then a second time with (as shown above).
> 
> However, we want to build the paraview-superbuild with our plugin 
> automatically (e.g. in our nightly builds) with an own cmake project 
> where paraview-superbuild is an external project.
> 
> Do I something wrong? Is this a bug? Any hint on how to do a workaround?

The external plugins bit builds the plugin as part of ParaView's build,
not after it is built. You can detect this the same way the PointSprite
plugin in ParaView itself does so:

if (ParaView_SOURCE_DIR)
  # Within the source tree already.
else ()
  find_package(ParaView REQUIRED)
  # ...
endif ()
___
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] [EXTERNAL] Re: Find Data bug

2017-01-05 Thread Scott, W Alan
Sorry, missed this.  Andy – you may want to write this up yourself, with detail 
how to replicate.  I couldn’t replicate it.

Add it to the Sandia project.

Thanks,

Alan

From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Andy Bauer
Sent: Thursday, January 5, 2017 9:45 AM
To: Jyrki Hokkanen 
Cc: paraview@paraview.org
Subject: [EXTERNAL] Re: [Paraview] Find Data bug

Hi Jyrki,
Thanks for the report. I can replicate this issue that the second selection 
takes significantly longer with PV 5.2 on my machine.  Would you mind adding 
this in as an issue? You can do that at 
https://gitlab.kitware.com/paraview/paraview/issues.
Thanks,
Andy

On Thu, Jan 5, 2017 at 9:23 AM, Jyrki Hokkanen 
> wrote:
Hello

Please check this ParaView 5.2.0 bug related to "Find Data" dialog and point 
selection, tested on Kitware linux and windows binaries:

Create one "Sources" sphere, theta and phi resolution set to 800. Selecting 
half of the points with a mouse using "Select Points Through" method takes a 
second or two.

Now open "Find Data" window, and just close it without doing any selection 
query. After this, selecting the same amount of points takes a minute or so.

This bug was not present on version 5.1.2.

Jyrki


--
Jyrki Hokkanen PhD
Digital Image and Computer Graphics Specialist
CSC - IT Center for Science Ltd.
www.csc.fi
___
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] [EXTERNAL] Find Data bug

2017-01-05 Thread Scott, W Alan
Jyrki,
I tried to replicate this, and could not.  For me, on a Linux machine, it took 
about 6 seconds to do the selection before and after Find Data.

Mind deleting your .config files and trying again?  Then, what operating system 
are you on?  You are not remote server, correct?

Alan

> -Original Message-
> From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Jyrki
> Hokkanen
> Sent: Thursday, January 5, 2017 7:24 AM
> To: paraview@paraview.org
> Subject: [EXTERNAL] [Paraview] Find Data bug
> 
> Hello
> 
> Please check this ParaView 5.2.0 bug related to "Find Data" dialog and point
> selection, tested on Kitware linux and windows binaries:
> 
> Create one "Sources" sphere, theta and phi resolution set to 800.
> Selecting half of the points with a mouse using "Select Points Through"
> method takes a second or two.
> 
> Now open "Find Data" window, and just close it without doing any selection
> query. After this, selecting the same amount of points takes a minute or so.
> 
> This bug was not present on version 5.1.2.
> 
> Jyrki
> 
> 
> --
> Jyrki Hokkanen PhD
> Digital Image and Computer Graphics Specialist CSC - IT Center for Science
> Ltd.
> www.csc.fi
> ___
> 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] [EXTERNAL] OSRay and shadows

2017-01-05 Thread Scott, W Alan
Bob,
What version of ParaView are you using?  5.1.2 is known to have issues.

Alan

From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Bob Flandard
Sent: Thursday, January 5, 2017 5:13 PM
To: paraview 
Subject: [EXTERNAL] [Paraview] OSRay and shadows

Hello,
How can I lock the light source direction to change with the 3d viewing angle, 
so that the shadows with OSRay don't imply a moving light source as I rotate 
the model in 3d?
Thanks, Bob
___
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] [EXTERNAL] Re: Newer object always in front in Render View

2017-01-05 Thread Robert Sawko

Ok. Yes I have now recompiled 5.2 version with Qt4 and sane render view is here
again. I will try to come up with a fix for AUR paraview package.


By the way, I probably gave you wrong info on my renderers etc. I've now
noticed the info is available in Help->About and it reads: OpenGL Renderer:
Mesa DRI Intel(R) Haswell Mobile

Is that right? Considering I've got NVidia card should I be using a generic
driver?

Best wishes,
Robert
-- 
This is NOT why airplanes fly
http://www.grc.nasa.gov/WWW/k-12/airplane/wrong1.html
___
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] ParaViewConfig.cmake created too late with ENABLE_paraviewpluginsexternal

2017-01-05 Thread Fabian Wein
I think there is still an issue building plugins via 
-DENABLE_paraviewpluginsexternal:BOOL=ON when building 
paraview-superbuild.


cmake ../paraview-superbuild -DCMAKE_BUILD_TYPE:STRING=Release 
-DBUILD_TESTING=OFF -DENABLE_cxx11=ON -DENABLE_qt5=ON 
-DENABLE_boost:BOOL=ON -DENABLE_hdf5:BOOL=ON -DENABLE_zlib:BOOL=ON 
-DENABLE_png:BOOL=ON 
-Dsuperbuild_download_location=$HOME/code/cfsdepscache/paraview 
-DENABLE_paraviewpluginsexternal:BOOL=ON 
-Dparaview_PLUGINS_EXTERNAL:STRING=CFSReader 
-Dparaview_PLUGIN_CFSReader_PATH:PATH=$METABUILD/../plugins/CFSReader


results in the error

CMake Error at ~/code/cfs_paraview/plugins/CFSReader/CMakeLists.txt:43 
(FIND_PACKAGE):
  By not providing "FindParaView.cmake" in CMAKE_MODULE_PATH this 
project has
  asked CMake to find a package configuration file provided by 
"ParaView",

  but CMake did not find one.

  Could not find a package configuration file provided by "ParaView" 
with any

  of the following names:

ParaViewConfig.cmake
paraview-config.cmake

  Add the installation prefix of "ParaView" to CMAKE_PREFIX_PATH or set
  "ParaView_DIR" to a directory containing one of the above files.  If
  "ParaView" provides a separate development package or SDK, be sure 
it has

  been installed.

And indeed ParaViewConfig.cmake does not exist yet in 
ParaView_DIR=~/code/cfs_paraview/metabuild/build/superbuild/paraview/build


It works when I do the cmake ../paraview-superbuild first without 
-DENABLE_paraviewpluginsexternal:BOOL=ON ...

and then a second time with (as shown above).

However, we want to build the paraview-superbuild with our plugin 
automatically (e.g. in our nightly builds) with an own cmake project 
where paraview-superbuild is an external project.


Do I something wrong? Is this a bug? Any hint on how to do a workaround?

Thanks!

Fabian
___
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] Find Data bug

2017-01-05 Thread Jyrki Hokkanen

Hello

Please check this ParaView 5.2.0 bug related to "Find Data" dialog and 
point selection, tested on Kitware linux and windows binaries:


Create one "Sources" sphere, theta and phi resolution set to 800. 
Selecting half of the points with a mouse using "Select Points Through" 
method takes a second or two.


Now open "Find Data" window, and just close it without doing any 
selection query. After this, selecting the same amount of points takes a 
minute or so.


This bug was not present on version 5.1.2.

Jyrki


--
Jyrki Hokkanen PhD
Digital Image and Computer Graphics Specialist
CSC - IT Center for Science Ltd.
www.csc.fi
___
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] HPC Visualization Survey to Deliver Better ParaView Experience

2017-01-05 Thread Sandy McKenzie
Hi,

Kitware and NVIDIA are collaborating their efforts to understand the
various aspects of the data that is visually analyzed by ParaView users.
Your responses will help us better develop features and offer products that
address your visualization needs.

We request you to take a short survey, which will take less than 5 minutes
to complete.

This survey is completely anonymous. However, providing us your contact
information will allow us to offer you early access to new products in the
future.

You will also automatically enter a raffle to win an NVIDIA Shield Android
TV.

Survey link: https://www.surveymonkey.com/r/HPCVizSurvey

We appreciate your time and feedback.

Regards,


Kitware and NVIDIA teams
___
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] Problem reading a numpy NPZ file in ParaView 5.2.0 on Windows

2017-01-05 Thread Guillaume Jacquenot
I want to report that this bug also occurs on the Linux version of ParaView
5.2.0

2017-01-04 10:14 GMT+01:00 Guillaume Jacquenot <
guillaume.jacque...@gmail.com>:

> Hello everyone,
>
> I want to report a possible bug.
>
> I have a Python script that creates data, exports data in a numpy NPZ
> file, and reads it later in a ProgrammableFilter.
>
> With ParaView 5.1.2, everything works fine.
>
> However, when I try it with ParaView 5.2.0, I have a weird reading error.
>
> I have checked the 'About ParaView' window, but see no real difference
> between
> the two versions.
>
> If I try to import the PV 5.2.0 npz generated file in another Python
> interpreter with anoter numpy version (1.11.3), I have no problem.
>
> So I guess, the PV 5.2.0 npz generated files are correct, but there is a
> problem accessing its content from PV 5.2.0
>
> Here is a script that reproduces the bug. It is to be run from the PV
> interpreter.
>
> import os
> import tempfile
> import numpy as np
> outputFilename = os.path.join(tempfile.mkdtemp(), 'dummy.npz')
> varName='Time'
> np.savez(outputFilename, **{varName:np.random.rand(3,4)})
> d = np.load(outputFilename)
> time = d[varName]
> d.close()
> os.remove(outputFilename)
> print('Success PV can create a NPZ file and read its content : ' +
> outputFilename)
>
> Here is the message error on Windows with PV 5.2.0
>
> >>> Traceback (most recent call last):
>   File "", line 8, in 
>   File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\
> site-packages\numpy\lib\npyio.py", line 250, in __getitem__
> return format.read_array(bytes)
>   File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\
> site-packages\numpy\lib\format.py", line 437, in read_array
> shape, fortran_order, dtype = read_array_header_1_0(fp)
>   File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\
> site-packages\numpy\lib\format.py", line 334, in read_array_header_1_0
> d = safe_eval(header)
>   File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\
> site-packages\numpy\lib\utils.py", line 1132, in safe_eval
> return walker.visit(ast)
>   File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\
> site-packages\numpy\lib\utils.py", line 980, in visit
> return meth(node, **kw)
>   File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\
> site-packages\numpy\lib\utils.py", line 987, in visitExpression
> for child in node.getChildNodes():
> AttributeError: 'Expression' object has no attribute 'getChildNodes'
>
> Guillaume Jacquenot
>
>
___
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] OSRay and shadows

2017-01-05 Thread Bob Flandard
Hello,

How can I lock the light source direction to change with the 3d viewing
angle, so that the shadows with OSRay don't imply a moving light source as
I rotate the model in 3d?

Thanks, Bob
___
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] Find Data bug

2017-01-05 Thread Andy Bauer
Hi Jyrki,

Thanks for the report. I can replicate this issue that the second selection
takes significantly longer with PV 5.2 on my machine.  Would you mind
adding this in as an issue? You can do that at
https://gitlab.kitware.com/paraview/paraview/issues.

Thanks,
Andy

On Thu, Jan 5, 2017 at 9:23 AM, Jyrki Hokkanen 
wrote:

> Hello
>
> Please check this ParaView 5.2.0 bug related to "Find Data" dialog and
> point selection, tested on Kitware linux and windows binaries:
>
> Create one "Sources" sphere, theta and phi resolution set to 800.
> Selecting half of the points with a mouse using "Select Points Through"
> method takes a second or two.
>
> Now open "Find Data" window, and just close it without doing any selection
> query. After this, selecting the same amount of points takes a minute or so.
>
> This bug was not present on version 5.1.2.
>
> Jyrki
>
>
> --
> Jyrki Hokkanen PhD
> Digital Image and Computer Graphics Specialist
> CSC - IT Center for Science Ltd.
> www.csc.fi
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensou
> rce/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