Re: [Paraview] Compile Error of Paraview on Maverick

2018-01-12 Thread Cory Quammen
Ah, I see.

Make sure the same compiler module is loaded when you compile pvserver
as when you run it. That should ensure a consistent glibc version.

Your local user support or system administrators should also be able
to help with the module system usage on Maverick.

Thanks,
Cory

On Fri, Jan 12, 2018 at 3:51 PM, Yangguang Liao  wrote:
> Oops, Sorry I didn’t make it clear. I am trying to build on TACC cluster
> Maverick
>
> On Fri, Jan 12, 2018 at 12:38 PM Cory Quammen 
> wrote:
>>
>> Sorry, I was thinking you were building on a Mac with Mavericks
>> installed, but now I think that is not right. Are you trying to build
>> on Maverick Meerkat (Ubuntu 10.10)?
>>
>> On Fri, Jan 12, 2018 at 3:27 PM, Yangguang Liao 
>> wrote:
>> > Hi, Cory,
>> >
>> > Sorry for the late reply, no clue why this email came to my trash. I
>> > tried
>> > to builld paraview. and the problem is that paraview failed on qt
>> > compile
>> > step due to low version of glibc.(which in Maverick is 2.13 and the
>> > minimum
>> > is 2.14).
>> > So I also try to get ride of GUI first, and then I successfully build
>> > paraview. but when I want to start a pvserver, the error comes with low
>> > glibcxx version which I think is the same problem with low version glibc
>> > in
>> > build.
>> > Do you know how can I fixed this?
>> >
>> > Thanks,
>> > Yangguang
>> >
>> > On Wed, Jan 10, 2018 at 6:02 AM, Cory Quammen 
>> > wrote:
>> >>
>> >> I don't see any errors in the terminal output you've posted. Are there
>> >> errors further back in the terminal output history?
>> >>
>> >> Thanks,
>> >> Cory
>> >>
>> >> On Wed, Jan 10, 2018 at 12:28 AM, Yangguang Liao 
>> >> wrote:
>> >> > Hi,
>> >> >
>> >> > Trying to compile Paraview but get such error. I have no idea what is
>> >> > the
>> >> > reason.
>> >> >
>> >> > Here is terminal output:
>> >> > [  3%] Built target protobuf
>> >> > [  3%] Building CXX object
>> >> >
>> >> >
>> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/dynamic_message.cc.o
>> >> > [  3%] Building CXX object
>> >> >
>> >> >
>> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/extension_set_heavy.cc.o
>> >> > [  3%] Building CXX object
>> >> >
>> >> >
>> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/generated_message_reflection.cc.o
>> >> > [  3%] Building CXX object
>> >> >
>> >> >
>> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/message.cc.o
>> >> > [  3%] Building CXX object
>> >> >
>> >> >
>> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/reflection_ops.cc.o
>> >> > [  3%] Building CXX object
>> >> >
>> >> >
>> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/service.cc.o
>> >> > [  3%] Building CXX object
>> >> >
>> >> >
>> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/text_format.cc.o
>> >> > [  3%] Building CXX object
>> >> >
>> >> >
>> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/unknown_field_set.cc.o
>> >> > [  3%] Building CXX object
>> >> >
>> >> >
>> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/wire_format.cc.o
>> >> > [  3%] Building CXX object
>> >> >
>> >> >
>> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/io/printer.cc.o
>> >> > [  3%] Building CXX object
>> >> >
>> >> >
>> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/io/zero_copy_stream_impl.cc.o
>> >> > [  3%] Building CXX object
>> >> >
>> >> >
>> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/io/tokenizer.cc.o
>> >> > [  4%] Building CXX object
>> >> >
>> >> >
>> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/compiler/importer.cc.o
>> >> > [  4%] Building CXX object
>> >> >
>> >> >
>> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/compiler/parser.cc.o
>> >> > [  4%] Linking CXX executable ../../../../bin/protoc
>> >> > [  4%] Built target protoc_compiler
>> >> > make: *** [all] Error 2
>> >> >
>> >> > Mu compiler is using icc and icpc. have Qt5 installed.
>> >> > Thanks!
>> >> > --
>> >> > Yangguang Liao
>> >> > PhD. student of Computer Science Department
>> >> > University of California, Davis
>> >> >
>> >> > ___
>> >> > 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: 

Re: [Paraview] Compile Error of Paraview on Maverick

2018-01-12 Thread Cory Quammen
Sorry, I was thinking you were building on a Mac with Mavericks
installed, but now I think that is not right. Are you trying to build
on Maverick Meerkat (Ubuntu 10.10)?

On Fri, Jan 12, 2018 at 3:27 PM, Yangguang Liao  wrote:
> Hi, Cory,
>
> Sorry for the late reply, no clue why this email came to my trash. I tried
> to builld paraview. and the problem is that paraview failed on qt compile
> step due to low version of glibc.(which in Maverick is 2.13 and the minimum
> is 2.14).
> So I also try to get ride of GUI first, and then I successfully build
> paraview. but when I want to start a pvserver, the error comes with low
> glibcxx version which I think is the same problem with low version glibc in
> build.
> Do you know how can I fixed this?
>
> Thanks,
> Yangguang
>
> On Wed, Jan 10, 2018 at 6:02 AM, Cory Quammen 
> wrote:
>>
>> I don't see any errors in the terminal output you've posted. Are there
>> errors further back in the terminal output history?
>>
>> Thanks,
>> Cory
>>
>> On Wed, Jan 10, 2018 at 12:28 AM, Yangguang Liao 
>> wrote:
>> > Hi,
>> >
>> > Trying to compile Paraview but get such error. I have no idea what is
>> > the
>> > reason.
>> >
>> > Here is terminal output:
>> > [  3%] Built target protobuf
>> > [  3%] Building CXX object
>> >
>> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/dynamic_message.cc.o
>> > [  3%] Building CXX object
>> >
>> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/extension_set_heavy.cc.o
>> > [  3%] Building CXX object
>> >
>> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/generated_message_reflection.cc.o
>> > [  3%] Building CXX object
>> >
>> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/message.cc.o
>> > [  3%] Building CXX object
>> >
>> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/reflection_ops.cc.o
>> > [  3%] Building CXX object
>> >
>> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/service.cc.o
>> > [  3%] Building CXX object
>> >
>> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/text_format.cc.o
>> > [  3%] Building CXX object
>> >
>> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/unknown_field_set.cc.o
>> > [  3%] Building CXX object
>> >
>> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/wire_format.cc.o
>> > [  3%] Building CXX object
>> >
>> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/io/printer.cc.o
>> > [  3%] Building CXX object
>> >
>> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/io/zero_copy_stream_impl.cc.o
>> > [  3%] Building CXX object
>> >
>> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/io/tokenizer.cc.o
>> > [  4%] Building CXX object
>> >
>> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/compiler/importer.cc.o
>> > [  4%] Building CXX object
>> >
>> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/compiler/parser.cc.o
>> > [  4%] Linking CXX executable ../../../../bin/protoc
>> > [  4%] Built target protoc_compiler
>> > make: *** [all] Error 2
>> >
>> > Mu compiler is using icc and icpc. have Qt5 installed.
>> > Thanks!
>> > --
>> > Yangguang Liao
>> > PhD. student of Computer Science Department
>> > University of California, Davis
>> >
>> > ___
>> > 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:
>> > https://paraview.org/mailman/listinfo/paraview
>> >
>>
>>
>>
>> --
>> Cory Quammen
>> Staff R Engineer
>> Kitware, Inc.
>
>
>
>
> --
> Yangguang Liao
> PhD. student of Computer Science Department
> University of California, Davis



-- 
Cory Quammen
Staff R Engineer
Kitware, Inc.
___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] Compile Error of Paraview on Maverick

2018-01-12 Thread Yangguang Liao
Hi, Cory,

Sorry for the late reply, no clue why this email came to my trash. I tried
to builld paraview. and the problem is that paraview failed on qt compile
step due to low version of glibc.(which in Maverick is 2.13 and the minimum
is 2.14).
So I also try to get ride of GUI first, and then I successfully build
paraview. but when I want to start a pvserver, the error comes with low
glibcxx version which I think is the same problem with low version glibc in
build.
Do you know how can I fixed this?

Thanks,
Yangguang

On Wed, Jan 10, 2018 at 6:02 AM, Cory Quammen 
wrote:

> I don't see any errors in the terminal output you've posted. Are there
> errors further back in the terminal output history?
>
> Thanks,
> Cory
>
> On Wed, Jan 10, 2018 at 12:28 AM, Yangguang Liao 
> wrote:
> > Hi,
> >
> > Trying to compile Paraview but get such error. I have no idea what is the
> > reason.
> >
> > Here is terminal output:
> > [  3%] Built target protobuf
> > [  3%] Building CXX object
> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/
> protoc_compiler.dir/google/protobuf/dynamic_message.cc.o
> > [  3%] Building CXX object
> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/
> protoc_compiler.dir/google/protobuf/extension_set_heavy.cc.o
> > [  3%] Building CXX object
> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/
> protoc_compiler.dir/google/protobuf/generated_message_reflection.cc.o
> > [  3%] Building CXX object
> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/
> protoc_compiler.dir/google/protobuf/message.cc.o
> > [  3%] Building CXX object
> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/
> protoc_compiler.dir/google/protobuf/reflection_ops.cc.o
> > [  3%] Building CXX object
> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/
> protoc_compiler.dir/google/protobuf/service.cc.o
> > [  3%] Building CXX object
> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/
> protoc_compiler.dir/google/protobuf/text_format.cc.o
> > [  3%] Building CXX object
> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/
> protoc_compiler.dir/google/protobuf/unknown_field_set.cc.o
> > [  3%] Building CXX object
> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/
> protoc_compiler.dir/google/protobuf/wire_format.cc.o
> > [  3%] Building CXX object
> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/
> protoc_compiler.dir/google/protobuf/io/printer.cc.o
> > [  3%] Building CXX object
> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/
> protoc_compiler.dir/google/protobuf/io/zero_copy_stream_impl.cc.o
> > [  3%] Building CXX object
> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/
> protoc_compiler.dir/google/protobuf/io/tokenizer.cc.o
> > [  4%] Building CXX object
> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/
> protoc_compiler.dir/google/protobuf/compiler/importer.cc.o
> > [  4%] Building CXX object
> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/
> protoc_compiler.dir/google/protobuf/compiler/parser.cc.o
> > [  4%] Linking CXX executable ../../../../bin/protoc
> > [  4%] Built target protoc_compiler
> > make: *** [all] Error 2
> >
> > Mu compiler is using icc and icpc. have Qt5 installed.
> > Thanks!
> > --
> > Yangguang Liao
> > PhD. student of Computer Science Department
> > University of California, Davis
> >
> > ___
> > 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:
> > https://paraview.org/mailman/listinfo/paraview
> >
>
>
>
> --
> Cory Quammen
> Staff R Engineer
> Kitware, Inc.
>



-- 
Yangguang Liao
PhD. student of Computer Science Department
University of California, Davis
___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] Plot selection over time for threshold

2018-01-12 Thread Jairaj Mathur
Hi Aron

I tried your method and created the trace. When I go to the python shell
and run that python macro, it says that the custom filter I had created
does not exist. My custom filter consists of 2 calculator filters, each
calculating different things. To create that custom filter, I selected both
the calculators on the pipeline browser, right click-> create custom
filter->finish.

To create my python macro, I first load up my .vtu files in the pipeline
browser, hit apply, then I start trace. I add my custom filter, follow
Kenneth's procedure to obtain the plot over time, then I hit Stop trace.
Then in the script generated, file->save as macro.

On Fri, Jan 12, 2018 at 9:31 AM, Aron Helser 
wrote:

> Hi Jairaj,
> This is exactly what the 'trace' and python macro functions are for. Take
> a look in the Tools menu, and choose Start Trace. If you check the 'show
> incremental trace' button you can see it's recording a python script as you
> take actions in the GUI. When you've completed your steps, you can choose
> 'save as python macro' and you'll get a button that can repeat the steps.
>
> To go more in-depth, look for information on python scripting in Paraview!
> Regards,
> Aron
>
> On Thu, Jan 11, 2018 at 7:47 PM, Jairaj Mathur 
> wrote:
>
>> Hi Ken
>>
>> This is EXACTLY what I wanted! Thank you so much. Is it possible to
>> create a custom filter to do this, so that I dont have to follow these
>> steps?
>>
>> Jairaj Mathur
>> Mechanical Engineering
>> Washington University in St Louis
>>
>> On Jan 8, 2018 2:23 PM, "Moreland, Kenneth"  wrote:
>>
>>> Jairaj,
>>>
>>>
>>>
>>> I’m not sure what exactly you mean by “the threshold,” but there are
>>> many ways to plot the average of a threshold-selection of cells over time.
>>>
>>>
>>>
>>> The most straightforward way is to open up the Find Data dialog box,
>>> select the cells you want to plot, and then create a Plot Selection Over
>>> Time filter. Specifically, here are steps that will do such a plot:
>>>
>>>
>>>
>>>1. Open your data in ParaView. Apply.
>>>2. Open the Find Data dialog box (Edit → Find Data or click the
>>>toolbar button on the top toolbar).
>>>3. In the top row, set the left combo box to either “Cell(s)” or
>>>“Point(s)” depending on whether your data is cell or point data. In the
>>>longer combo box to the right, make sure that your data is selected.
>>>4. In the second row, set the left combo box to the field you want
>>>to threshold on. Change the next combo box to say “is between”. This will
>>>create to text edit boxes where you enter the minimum and maximum values 
>>> of
>>>your threshold range.
>>>5. Click the “Run Selection Query” button. This will select all
>>>cells or points matching your threshold.
>>>6. Click the “Plot Selection Over Time” at the bottom of the Find
>>>Data dialog box. This will create a filter in the pipeline browser.
>>>7. Close the Find Data dialog box and click the Apply button.
>>>
>>>
>>>
>>> -Ken
>>>
>>>
>>>
>>> *From:* ParaView [mailto:paraview-boun...@paraview.org] *On Behalf Of 
>>> *Jairaj
>>> Mathur
>>> *Sent:* Friday, January 5, 2018 4:53 PM
>>> *To:* paraview 
>>> *Subject:* [EXTERNAL] [Paraview] Plot selection over time for threshold
>>>
>>>
>>>
>>> Dear all
>>>
>>>
>>>
>>> How can I plot the average over time of only the threshold cells? It
>>> should only average the cells that are within the threshold.
>>>
>>>
>>>
>>> Thanks a lot!
>>>
>>>
>>>
>>> --
>>>
>>> Jairaj Mathur,
>>> Mechanical Engineering
>>>
>>> Washington University in St Louis
>>>
>>>
>>>
>>
>> ___
>> 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:
>> https://paraview.org/mailman/listinfo/paraview
>>
>>
>


-- 
Jairaj Mathur,
Mechanical Engineering
Washington University in St Louis
___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] error when compiling Paraview 5.4 macOS 10.13

2018-01-12 Thread Cory Quammen
Alas, this fix was made after ParaView 5.2 was released.

If you really need ParaView 5.2 instead of 5.3 or 5.4.1, you can apply
the patch in my previous email to the VTK subdirectory in the ParaView
source code. As you can see, just two lines need to be modified, so
you could easily do this manually.

Hope that helps,
Cory

On Fri, Jan 12, 2018 at 1:15 PM, Sergio Emanuel Galembeck
 wrote:
> Cory,
>
> Sorry, I am trying to install Paraview 5.2.0. Even doing 'git submodule 
> update —init’
> the error that I noticed continues.
>
> What do you suggest?
>
> Thanks,
>
> Sergio
>
>> On 8 Jan 2018, at 12:38, Cory Quammen  wrote:
>>
>> Sergio,
>>
>> This problem was fixed in November 2016, so I am surprised you are
>> running into it. Current ParaView master includes VTK that contains
>> the commit
>>
>> commit 33631146a85dfa64433c3997f166cbaa96bedee9
>> Author: gnzlbg 
>> Date:   Wed Nov 23 05:29:14 2016 -0500
>>
>>[bugfix] Invalid pointer comparisons.
>>
>>The code was performing a null pointer check
>>using (void*)Data <= 0 instead of Data == NULL
>>(or nullptr). This results in a compilation
>>error with clang trunk (future clang 4.0).
>>
>> diff --git a/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx
>> b/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx
>> index 1e88f08..e89e153 100644
>> --- a/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx
>> +++ b/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx
>> @@ -52,7 +52,7 @@ XdmfDsmComm::Receive(XdmfDsmMsg *Msg){
>> XdmfErrorMessage("Cannot Receive Message of Length = " << 
>> Msg->Length);
>> return(XDMF_FAIL);
>> }
>> -if(Msg->Data <= 0 ){
>> +if(Msg->Data == NULL){
>> XdmfErrorMessage("Cannot Receive Message into Data Buffer = "
>> << Msg->Length);
>> return(XDMF_FAIL);
>> }
>> @@ -66,7 +66,7 @@ XdmfDsmComm::Send(XdmfDsmMsg *Msg){
>> XdmfErrorMessage("Cannot Send Message of Length = " << Msg->Length);
>> return(XDMF_FAIL);
>> }
>> -if(Msg->Data <= 0 ){
>> +if(Msg->Data == NULL) {
>> XdmfErrorMessage("Cannot Send Message from Data Buffer = " <<
>> Msg->Length);
>> return(XDMF_FAIL);
>> }
>>
>> Make sure you have run `git submodule update` to ensure your VTK is up to 
>> date.
>>
>> HTH,
>> Cory
>>
>> On Mon, Jan 8, 2018 at 6:55 AM, Sergio Emanuel Galembeck
>>  wrote:
>>> Hello,
>>>
>>> I am trying to compile Paraview 5.4 in MacOS 10.13.2 (High Sierra), using
>>> software from MacPorts 2.4.2. After a successful configuration,
>>> the make -j 4 command give the following error:
>>>
>>> /Users/sergiogalembeck/paraview_install/ParaView/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx:55:18:
>>> error:
>>>  ordered comparison between pointer and zero ('void *' and 'int')
>>>if(Msg->Data <= 0 ){
>>>
>>> How can I solve this problem?
>>>
>>> Best regards,
>>>
>>> Sergio
>>>
>>>
>>>
>>> ___
>>> 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:
>>> https://paraview.org/mailman/listinfo/paraview
>>>
>>
>>
>>
>> --
>> Cory Quammen
>> Staff R Engineer
>> Kitware, Inc.
>



-- 
Cory Quammen
Staff R Engineer
Kitware, Inc.
___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] error when compiling Paraview 5.4 macOS 10.13

2018-01-12 Thread Sergio Emanuel Galembeck
Cory,

Sorry, I am trying to install Paraview 5.2.0. Even doing 'git submodule update 
—init’
the error that I noticed continues.

What do you suggest?

Thanks,

Sergio

> On 8 Jan 2018, at 12:38, Cory Quammen  wrote:
> 
> Sergio,
> 
> This problem was fixed in November 2016, so I am surprised you are
> running into it. Current ParaView master includes VTK that contains
> the commit
> 
> commit 33631146a85dfa64433c3997f166cbaa96bedee9
> Author: gnzlbg 
> Date:   Wed Nov 23 05:29:14 2016 -0500
> 
>[bugfix] Invalid pointer comparisons.
> 
>The code was performing a null pointer check
>using (void*)Data <= 0 instead of Data == NULL
>(or nullptr). This results in a compilation
>error with clang trunk (future clang 4.0).
> 
> diff --git a/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx
> b/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx
> index 1e88f08..e89e153 100644
> --- a/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx
> +++ b/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx
> @@ -52,7 +52,7 @@ XdmfDsmComm::Receive(XdmfDsmMsg *Msg){
> XdmfErrorMessage("Cannot Receive Message of Length = " << 
> Msg->Length);
> return(XDMF_FAIL);
> }
> -if(Msg->Data <= 0 ){
> +if(Msg->Data == NULL){
> XdmfErrorMessage("Cannot Receive Message into Data Buffer = "
> << Msg->Length);
> return(XDMF_FAIL);
> }
> @@ -66,7 +66,7 @@ XdmfDsmComm::Send(XdmfDsmMsg *Msg){
> XdmfErrorMessage("Cannot Send Message of Length = " << Msg->Length);
> return(XDMF_FAIL);
> }
> -if(Msg->Data <= 0 ){
> +if(Msg->Data == NULL) {
> XdmfErrorMessage("Cannot Send Message from Data Buffer = " <<
> Msg->Length);
> return(XDMF_FAIL);
> }
> 
> Make sure you have run `git submodule update` to ensure your VTK is up to 
> date.
> 
> HTH,
> Cory
> 
> On Mon, Jan 8, 2018 at 6:55 AM, Sergio Emanuel Galembeck
>  wrote:
>> Hello,
>> 
>> I am trying to compile Paraview 5.4 in MacOS 10.13.2 (High Sierra), using
>> software from MacPorts 2.4.2. After a successful configuration,
>> the make -j 4 command give the following error:
>> 
>> /Users/sergiogalembeck/paraview_install/ParaView/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx:55:18:
>> error:
>>  ordered comparison between pointer and zero ('void *' and 'int')
>>if(Msg->Data <= 0 ){
>> 
>> How can I solve this problem?
>> 
>> Best regards,
>> 
>> Sergio
>> 
>> 
>> 
>> ___
>> 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:
>> https://paraview.org/mailman/listinfo/paraview
>> 
> 
> 
> 
> -- 
> Cory Quammen
> Staff R Engineer
> Kitware, Inc.

___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] Plot selection over time for threshold

2018-01-12 Thread Aron Helser
Hi Jairaj,
This is exactly what the 'trace' and python macro functions are for. Take a
look in the Tools menu, and choose Start Trace. If you check the 'show
incremental trace' button you can see it's recording a python script as you
take actions in the GUI. When you've completed your steps, you can choose
'save as python macro' and you'll get a button that can repeat the steps.

To go more in-depth, look for information on python scripting in Paraview!
Regards,
Aron

On Thu, Jan 11, 2018 at 7:47 PM, Jairaj Mathur 
wrote:

> Hi Ken
>
> This is EXACTLY what I wanted! Thank you so much. Is it possible to create
> a custom filter to do this, so that I dont have to follow these steps?
>
> Jairaj Mathur
> Mechanical Engineering
> Washington University in St Louis
>
> On Jan 8, 2018 2:23 PM, "Moreland, Kenneth"  wrote:
>
>> Jairaj,
>>
>>
>>
>> I’m not sure what exactly you mean by “the threshold,” but there are many
>> ways to plot the average of a threshold-selection of cells over time.
>>
>>
>>
>> The most straightforward way is to open up the Find Data dialog box,
>> select the cells you want to plot, and then create a Plot Selection Over
>> Time filter. Specifically, here are steps that will do such a plot:
>>
>>
>>
>>1. Open your data in ParaView. Apply.
>>2. Open the Find Data dialog box (Edit → Find Data or click the
>>toolbar button on the top toolbar).
>>3. In the top row, set the left combo box to either “Cell(s)” or
>>“Point(s)” depending on whether your data is cell or point data. In the
>>longer combo box to the right, make sure that your data is selected.
>>4. In the second row, set the left combo box to the field you want to
>>threshold on. Change the next combo box to say “is between”. This will
>>create to text edit boxes where you enter the minimum and maximum values 
>> of
>>your threshold range.
>>5. Click the “Run Selection Query” button. This will select all cells
>>or points matching your threshold.
>>6. Click the “Plot Selection Over Time” at the bottom of the Find
>>Data dialog box. This will create a filter in the pipeline browser.
>>7. Close the Find Data dialog box and click the Apply button.
>>
>>
>>
>> -Ken
>>
>>
>>
>> *From:* ParaView [mailto:paraview-boun...@paraview.org] *On Behalf Of *Jairaj
>> Mathur
>> *Sent:* Friday, January 5, 2018 4:53 PM
>> *To:* paraview 
>> *Subject:* [EXTERNAL] [Paraview] Plot selection over time for threshold
>>
>>
>>
>> Dear all
>>
>>
>>
>> How can I plot the average over time of only the threshold cells? It
>> should only average the cells that are within the threshold.
>>
>>
>>
>> Thanks a lot!
>>
>>
>>
>> --
>>
>> Jairaj Mathur,
>> Mechanical Engineering
>>
>> Washington University in St Louis
>>
>>
>>
>
> ___
> 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:
> https://paraview.org/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:
https://paraview.org/mailman/listinfo/paraview