Re: [Paraview] Coprocessing with many time steps

2017-09-28 Thread Samuel Key

Hermano,

Here is an example *pvd file.

Samuel Key
FMA Development
1005 39th Ave NE
Great Falls, Montana,  USA

On 9/28/2017 1:21 PM, Andy Bauer wrote:

Hi,

The XML readers and writers don't properly support time so currently 
the best way would be to create a pvd file which would contain the 
time and time step information. I don't know of anything in VTK or 
ParaView that writes out pvd files (I only see a vtkPVDReader in 
ParaView) but the format is meant to be simple. I would suggest doing 
it directly in the Catalyst Python script through some Python library 
as the best workaround for now.




On Thu, Sep 28, 2017 at 3:08 PM, Hermano Lustosa > wrote:


Ohh I see...

Just another quick question. Currently, I am creating a series of
VTU and VTI files whose names follow the pattern mysimulation-t%d.
With %d being replaced by an integer index identifying the time
step. I am about to code a simple PVD writer to consolidate the
output and also to assign the real time step value in seconds
instead of maintaining this integer index.

It doesn't seem to be very hard to create this PVD file by hand,
but I was just wondering if there is something in the VTK library
that could automatically create these files for me. I still could
not understand how I can assign the real time step in seconds to a
file, don't know if its even possible with VT? files. If this is
possible, some directions that could help me implement that would
be very nice!

Thanks once again!





On Thu, Sep 28, 2017 at 3:50 PM, Andy Bauer
mailto:andy.ba...@kitware.com>> wrote:

Hi,

The TemporalStatistics filter (or any other filter that
iterates through time steps) doesn't currently work with
Catalyst. We hope to change this in the future but because of
the way that the ParaView pipeline works it makes it a
non-trivial change.

Andy

On Thu, Sep 28, 2017 at 2:40 PM, Hermano Lustosa
mailto:hllust...@gmail.com>> wrote:

I have doubt about using paraview catalyst from my
simulation code. Suppose I created a simple Paraview
pipeline containing the TemporalStatistics filter only.

Initially, it is not clear for which "dummy" source is
adequate for the script. I used a simple programmable
source or even a unstructured cell types source to create
the python script. Then, I call the script from catalyst
in my code like this:

for each time step
    update grid;
    create data description;
    call coprocessing method;

The problem is that I expect the TemporalStatistics filter
to create a single file containing the statistics for all
the time steps. However, this approach creates a file for
every time step. What I should do in the catalyst (or
during the script creation) to have a single output for
this filter.

Thanks in advance.





___
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/unsubs

Re: [Paraview] Coprocessing with many time steps

2017-09-28 Thread Andy Bauer
Hi,

The XML readers and writers don't properly support time so currently the
best way would be to create a pvd file which would contain the time and
time step information. I don't know of anything in VTK or ParaView that
writes out pvd files (I only see a vtkPVDReader in ParaView) but the format
is meant to be simple. I would suggest doing it directly in the Catalyst
Python script through some Python library as the best workaround for now.



On Thu, Sep 28, 2017 at 3:08 PM, Hermano Lustosa 
wrote:

> Ohh I see...
>
> Just another quick question. Currently, I am creating a series of VTU and
> VTI files whose names follow the pattern mysimulation-t%d. With %d being
> replaced by an integer index identifying the time step. I am about to code
> a simple PVD writer to consolidate the output and also to assign the real
> time step value in seconds instead of maintaining this integer index.
>
> It doesn't seem to be very hard to create this PVD file by hand, but I was
> just wondering if there is something in the VTK library that could
> automatically create these files for me. I still could not understand how I
> can assign the real time step in seconds to a file, don't know if its even
> possible with VT? files. If this is possible, some directions that could
> help me implement that would be very nice!
>
> Thanks once again!
>
>
>
>
>
> On Thu, Sep 28, 2017 at 3:50 PM, Andy Bauer 
> wrote:
>
>> Hi,
>>
>> The TemporalStatistics filter (or any other filter that iterates through
>> time steps) doesn't currently work with Catalyst. We hope to change this in
>> the future but because of the way that the ParaView pipeline works it makes
>> it a non-trivial change.
>>
>> Andy
>>
>> On Thu, Sep 28, 2017 at 2:40 PM, Hermano Lustosa 
>> wrote:
>>
>>> I have doubt about using paraview catalyst from my simulation code.
>>> Suppose I created a simple Paraview pipeline containing the
>>> TemporalStatistics filter only.
>>>
>>> Initially, it is not clear for which "dummy" source is adequate for the
>>> script. I used a simple programmable source or even a unstructured cell
>>> types source to create the python script. Then, I call the script from
>>> catalyst in my code like this:
>>>
>>> for each time step
>>> update grid;
>>> create data description;
>>> call coprocessing method;
>>>
>>> The problem is that I expect the TemporalStatistics filter to create a
>>> single file containing the statistics for all the time steps. However, this
>>> approach creates a file for every time step. What I should do in the
>>> catalyst (or during the script creation) to have a single output for this
>>> filter.
>>>
>>> Thanks in advance.
>>>
>>>
>>>
>>>
>>>
>>> ___
>>> 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] Coprocessing with many time steps

2017-09-28 Thread Hermano Lustosa
Ohh I see...

Just another quick question. Currently, I am creating a series of VTU and
VTI files whose names follow the pattern mysimulation-t%d. With %d being
replaced by an integer index identifying the time step. I am about to code
a simple PVD writer to consolidate the output and also to assign the real
time step value in seconds instead of maintaining this integer index.

It doesn't seem to be very hard to create this PVD file by hand, but I was
just wondering if there is something in the VTK library that could
automatically create these files for me. I still could not understand how I
can assign the real time step in seconds to a file, don't know if its even
possible with VT? files. If this is possible, some directions that could
help me implement that would be very nice!

Thanks once again!





On Thu, Sep 28, 2017 at 3:50 PM, Andy Bauer  wrote:

> Hi,
>
> The TemporalStatistics filter (or any other filter that iterates through
> time steps) doesn't currently work with Catalyst. We hope to change this in
> the future but because of the way that the ParaView pipeline works it makes
> it a non-trivial change.
>
> Andy
>
> On Thu, Sep 28, 2017 at 2:40 PM, Hermano Lustosa 
> wrote:
>
>> I have doubt about using paraview catalyst from my simulation code.
>> Suppose I created a simple Paraview pipeline containing the
>> TemporalStatistics filter only.
>>
>> Initially, it is not clear for which "dummy" source is adequate for the
>> script. I used a simple programmable source or even a unstructured cell
>> types source to create the python script. Then, I call the script from
>> catalyst in my code like this:
>>
>> for each time step
>> update grid;
>> create data description;
>> call coprocessing method;
>>
>> The problem is that I expect the TemporalStatistics filter to create a
>> single file containing the statistics for all the time steps. However, this
>> approach creates a file for every time step. What I should do in the
>> catalyst (or during the script creation) to have a single output for this
>> filter.
>>
>> Thanks in advance.
>>
>>
>>
>>
>>
>> ___
>> 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] Coprocessing with many time steps

2017-09-28 Thread Andy Bauer
Hi,

The TemporalStatistics filter (or any other filter that iterates through
time steps) doesn't currently work with Catalyst. We hope to change this in
the future but because of the way that the ParaView pipeline works it makes
it a non-trivial change.

Andy

On Thu, Sep 28, 2017 at 2:40 PM, Hermano Lustosa 
wrote:

> I have doubt about using paraview catalyst from my simulation code.
> Suppose I created a simple Paraview pipeline containing the
> TemporalStatistics filter only.
>
> Initially, it is not clear for which "dummy" source is adequate for the
> script. I used a simple programmable source or even a unstructured cell
> types source to create the python script. Then, I call the script from
> catalyst in my code like this:
>
> for each time step
> update grid;
> create data description;
> call coprocessing method;
>
> The problem is that I expect the TemporalStatistics filter to create a
> single file containing the statistics for all the time steps. However, this
> approach creates a file for every time step. What I should do in the
> catalyst (or during the script creation) to have a single output for this
> filter.
>
> Thanks in advance.
>
>
>
>
>
> ___
> 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


[Paraview] Coprocessing with many time steps

2017-09-28 Thread Hermano Lustosa
I have doubt about using paraview catalyst from my simulation code. Suppose
I created a simple Paraview pipeline containing the TemporalStatistics
filter only.

Initially, it is not clear for which "dummy" source is adequate for the
script. I used a simple programmable source or even a unstructured cell
types source to create the python script. Then, I call the script from
catalyst in my code like this:

for each time step
update grid;
create data description;
call coprocessing method;

The problem is that I expect the TemporalStatistics filter to create a
single file containing the statistics for all the time steps. However, this
approach creates a file for every time step. What I should do in the
catalyst (or during the script creation) to have a single output for this
filter.

Thanks in advance.
___
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] Remote rendering through reverse SSH breaks with a GLX error

2017-09-28 Thread Robert Sawko
Dear Paraviewers,

I am trying to run Paraview in a client-server mode on a remote compute node
using a reverse SSH through the login node.

I have successfully worked out my port forwarding skulduggery and was able to
connect to a host which does NOT run X server. Inside my local client. I do get
an error

"Display is not accessible on the server side. Remote rendering
will be disabled"

This is to be expected on the node without X.

On the node with X running my client gets connected but then breaks with:

Waiting for client...
Connection URL: cs://pgc104:6
Accepting connection(s): pgc104:6
Client connected.
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
...
(core dumped)


Finally on the login node client-server works fine and rendering (I guess)
is done on the remote side as I don't get any errors. We have made sure that
xorg.conf on login and X-enabled compute node are the same.


My connection procedure:

local% ssh -L 6:localhost:6 login_node
login% bsub -R "select[hname=pgc104]" -Is /bin/bash
pgc104% ssh -N -R 6:localhost:6 login &
pgc104% DISPLAY=:0.0 pvserver -sp=6 --use-offscreen-rendering
local% paraview->connect to localhost:6

Same thing works on pgc304 which doesn't run X. Please let us know if you have
any suggestions.

Best wishes,
Robert
-- 
Ironically, it was Christopher Columbus who was wrong
http://en.wikipedia.org/wiki/Myth_of_the_Flat_Earth
___
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] Force or deactivate some Readers. Reuse the Paraview already running

2017-09-28 Thread Utkarsh Ayachit
> 1) I always work with xmdf files and every time I have to choose the reader
> to use in the menu, can we deactivate or force the use of a specific reader
> in the command line?

Not currently, but that's a nice and easy feature to add. Feel free to
report a feature request.

> 2) also if I run a second command line to run paraview (with a filename as
> argument) can we reuse the instance of paraview already running. (to compare
> results for example)

Not currently supported also, I am afraid.
___
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] Force or deactivate some Readers. Reuse the Paraview already running

2017-09-28 Thread Felipe Bordeu
I already put this in a feature request, but I dont know if someone is
interested:

1) I always work with xmdf files and every time I have to choose the reader
to use in the menu, can we deactivate or force the use of a specific reader
in the command line?

I know a can change the extension of my file and creates a plugin (100%
xml) to use this new extension with my preferred reader. but I was thinking
something  more at the app level (not a hack).

2) also if I run a second command line to run paraview (with a filename as
argument) can we reuse the instance of paraview already running. (to
compare results for example)

Any idea of how to solve 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] XDMF Version 2 and 3 Differences

2017-09-28 Thread Michael Jackson
Where might I find the differences between XDMF version 2 and 3? Our project 
writes a .xdmf file along side our HDF5 file so that ParaView can visualize the 
data. Ever since ParaView version 5.x was released with the XDMF 3 included we 
always have to select the "XDMF Writer" when opening the file. If we select the 
either of the XDMF 3 writers no data is loaded. I was wanting to figure out if 
there is something we need to adjust in our XDMF files so that the XDMF 3 
readers work correctly with our data/files.

Thanks
--
Michael Jackson | Owner, President
  BlueQuartz Software
[e] mike.jack...@bluequartz.net
[w] www.bluequartz.net


___
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