[Paraview] [EXTERNAL] Re: writing block data in parallel for vtk readers

Cook, Rich cook47 at llnl.gov
Thu Sep 11 18:12:27 EDT 2014


It compiles with python2.7 for me now, thanks

On Sep 11, 2014, at 11:55 AM, Scott, W Alan <wascott at sandia.gov> wrote:

> Slight cut and paste error.  I fixed it below.
> 
> -----Original Message-----
> From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Scott, W Alan
> Sent: Thursday, September 11, 2014 12:46 PM
> To: Cook, Rich D (External Contacts)
> Cc: paraview at paraview.org
> Subject: Re: [Paraview] [EXTERNAL] Re: writing block data in parallel for vtk readers
> 
> What I do is as follows (probably overkill, but hey), in Python
> 
> path = os.environ.get('PATH')
> os.environ['PATH']=pythonInstallDir+'/bin/:'+path
> 
> path = os.environ.get('LD_LIBRARY_PATH')
> os.environ['LD_LIBRARY_PATH']=pythonInstallDir+'/lib/:'+path
> 
> path = os.environ.get('PYTHONPATH')
> if path is  None:
>  os.environ['PYTHONPATH']=pythonInstallDir+'/lib/python2.7:'
> else:
>  os.environ['PYTHONPATH']=pythonInstallDir+'/lib/python2.7:'+path
> 
> 
> if (buildPython == 'true') :
>    cMakeVars = cMakeVars +\
>                '-DPARAVIEW_ENABLE_PYTHON:BOOL=ON '
> else :
>    cMakeVars = cMakeVars +\
>                '-DPARAVIEW_ENABLE_PYTHON:BOOL=OFF '
> 
> cMakeVars = cMakeVars +\
>        '-DPYTHON_EXECUTABLE:FILEPATH='+pythonInstallDir+'/bin/python '+\
>        '-DPYTHON_INCLUDE_PATH:PATH='+pythonInstallDir+'/include/python2.7/ '+\
>        '-DPYTHON_LIBRARY:FILEPATH='+pythonInstallDir+'/lib/libpython2.7.so '
> 
> Alan
> 
> 
> -----Original Message-----
> From: Cook, Rich [mailto:cook47 at llnl.gov]
> Sent: Thursday, September 11, 2014 12:34 PM
> To: Scott, W Alan
> Cc: Utkarsh Ayachit; paraview at paraview.org
> Subject: Re: [EXTERNAL] Re: [Paraview] writing block data in parallel for vtk readers
> 
> Alan, how do you hard code a newer version?
> I prefer not to turn off the web stuff
> 
> On Sep 11, 2014, at 11:15 AM, Scott, W Alan <wascott at sandia.gov> wrote:
> 
>> What version of Python is in your path for the builds?  Our cluster builds are so amazingly old that I build and hard code a newer version of Python.
>> 
>> Alan
>> 
>> -----Original Message-----
>> From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of
>> Cook, Rich
>> Sent: Thursday, September 11, 2014 12:09 PM
>> To: Utkarsh Ayachit
>> Cc: paraview at paraview.org
>> Subject: [EXTERNAL] Re: [Paraview] writing block data in parallel for
>> vtk readers
>> 
>> What’s strange about that line is that in our python on our clusters, that line compiles just fine.  So perhaps there is a bug in whatever is compiling testing.py?
>> 
>> On Sep 11, 2014, at 11:04 AM, Cook, Rich <cook47 at llnl.gov> wrote:
>> 
>>> Cannot build 4.2-RC1.  I get this error.  I’ve reported it before, but now it halts the build, so it needs to get fixed and I don’t know the answer:
>>> 
>>> Compiling /usr/local/tools/paraview-opengl-4.2.0/src/ParaView-v4.2.0-Build/lib/site-packages/vtk/web/testing.py ...
>>> SyntaxError: ('invalid syntax',
>>> ('/usr/local/tools/paraview-opengl-4.2.0/src/ParaView-v4.2.0-Build/li
>>> b /site-packages/vtk/web/testing.py', 76, 47, 'TestModuleBrowsers =
>>> type("Enum", (), {k: i for i, k in
>>> enumerate(test_module_browsers)})\n'))
>>> 
>>> 
>>> 
>>> On Sep 10, 2014, at 10:04 PM, Utkarsh Ayachit <utkarsh.ayachit at kitware.com> wrote:
>>> 
>>>> Rich,
>>>> 
>>>> FYI, the VisIt bridge was updated to VisIt 2.7.0 soon after 4.1. You
>>>> can try 4.2-RC1 to see if this was indeed a VisIt bridge being old
>>>> issue.
>>>> 
>>>> Utkarsh
>>>> 
>>>> On Wed, Sep 10, 2014 at 8:19 PM, Cook, Rich <cook47 at llnl.gov> wrote:
>>>>> The code in VisIt is up to date; it’s just Paraview that seems
>>>>> behind the times.  I am not able to completely convince myself of
>>>>> why but I suspect that’s the problem.  The actual error shows up as some sort of VTK error.
>>>>> — Rich
>>>>> 
>>>>> 
>>>>> ERROR: In
>>>>> /usr/local/tools/paraview-opengl-4.1.0/src/ParaView-v4.1.0/VTK/Comm
>>>>> o
>>>>> n/ExecutionModel/vtkExecutive.cxx,
>>>>> line 754
>>>>> vtkPVCompositeDataPipeline (0x252ff00): Algorithm
>>>>> vtkVisItMirandaReader(0x25342b0) returned failure for request:
>>>>> vtkInformation (0x2521130)
>>>>> Debug: Off
>>>>> Modified Time: 119319
>>>>> Reference Count: 1
>>>>> Registered Events: (none)
>>>>> Request: REQUEST_DATA_OBJECT
>>>>> ALGORITHM_AFTER_FORWARD: 1
>>>>> FORWARD_DIRECTION: 0
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> ERROR: In
>>>>> /usr/local/tools/paraview-opengl-4.1.0/src/ParaView-v4.1.0/VTK/Comm
>>>>> o
>>>>> n/ExecutionModel/vtkExecutive.cxx,
>>>>> line 754
>>>>> vtkPVCompositeDataPipeline (0x252ff00): Algorithm
>>>>> vtkVisItMirandaReader(0x25342b0) returned failure for request:
>>>>> vtkInformation (0x2521130)
>>>>> Debug: Off
>>>>> Modified Time: 119319
>>>>> Reference Count: 1
>>>>> Registered Events: (none)
>>>>> Request: REQUEST_DATA_OBJECT
>>>>> ALGORITHM_AFTER_FORWARD: 1
>>>>> FORWARD_DIRECTION: 0
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> On Sep 10, 2014, at 4:55 PM, Berk Geveci <berk.geveci at kitware.com> wrote:
>>>>> 
>>>>> Hey Rich,
>>>>> 
>>>>> Is this a matter of updating the VisIt bridge or the code in VisIt
>>>>> is old too?
>>>>> 
>>>>> What are the larger runs these folks do? And what is the timeframe?
>>>>> 
>>>>> We are working on ADIOS readers and that may be another option.
>>>>> This is where we currently plan on pushing for large scale IO needs.
>>>>> 
>>>>> HDF5 is certainly another option. So is writing legacy VTK files
>>>>> from each node. I'd guess Silo is another option too.
>>>>> 
>>>>> It depends on the needs and scale at which they will be running.
>>>>> 
>>>>> Best,
>>>>> -berk
>>>>> 
>>>>> On Mon, Sep 8, 2014 at 7:45 PM, Cook, Rich <cook47 at llnl.gov> wrote:
>>>>>> 
>>>>>> Hi,
>>>>>> I am wondering how to write out a set of VTK files for input into
>>>>>> paraview.
>>>>>> The code we are writing from is Miranda, an MPI code, and each
>>>>>> processor writes out its subdomain individually.  No ghost zones
>>>>>> are written into the files.  Perhaps they could be; I’m not sure about that part.
>>>>>> Sometimes the data is curvilinear but usually rectilinear.
>>>>>> Miranda is included in the VISIT_BRIDGE stuff but what’s in
>>>>>> VISIT_BRIDGE for Miranda is old and the newer stuff doesn’t parse any more.
>>>>>> Thanks!
>>>>>> 
>>>>>> --
>>>>>> ✐Richard Cook
>>>>>> ✇ Lawrence Livermore National Laboratory
>>>>>> Bldg-453 Rm-4024, Mail Stop L-557
>>>>>> 7000 East Avenue,  Livermore, CA, 94550, USA ☎ (office) (925)
>>>>>> 423-9605 ☎ (fax) (925) 423-6961
>>>>>> ---
>>>>>> Information Management & Graphics Grp., Services & Development
>>>>>> Div., Integrated Computing & Communications Dept.
>>>>>> (opinions expressed herein are mine and not those of LLNL)
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> _______________________________________________
>>>>>> 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
>>>>>> 
>>>>>> Follow this link to subscribe/unsubscribe:
>>>>>> http://public.kitware.com/mailman/listinfo/paraview
>>>>>> 
>>>>> 
>>>>> 
>>>>> --
>>>>> ✐Richard Cook
>>>>> ✇ Lawrence Livermore National Laboratory
>>>>> Bldg-453 Rm-4024, Mail Stop L-557
>>>>> 7000 East Avenue,  Livermore, CA, 94550, USA ☎ (office) (925)
>>>>> 423-9605 ☎ (fax) (925) 423-6961
>>>>> ---
>>>>> Information Management & Graphics Grp., Services & Development
>>>>> Div., Integrated Computing & Communications Dept.
>>>>> (opinions expressed herein are mine and not those of LLNL)
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> 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
>>>>> 
>>>>> Follow this link to subscribe/unsubscribe:
>>>>> http://public.kitware.com/mailman/listinfo/paraview
>>>>> 
>>> 
>>> --
>>> ✐Richard Cook
>>> ✇ Lawrence Livermore National Laboratory
>>> Bldg-453 Rm-4024, Mail Stop L-557
>>> 7000 East Avenue,  Livermore, CA, 94550, USA ☎ (office) (925)
>>> 423-9605 ☎ (fax) (925) 423-6961
>>> ---
>>> Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
>>> (opinions expressed herein are mine and not those of LLNL)
>>> 
>>> 
>>> 
>> 
>> --
>> ✐Richard Cook
>> ✇ Lawrence Livermore National Laboratory
>> Bldg-453 Rm-4024, Mail Stop L-557
>> 7000 East Avenue,  Livermore, CA, 94550, USA ☎ (office) (925) 423-9605
>> ☎ (fax) (925) 423-6961
>> ---
>> Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
>> (opinions expressed herein are mine and not those of LLNL)
>> 
>> 
>> 
>> _______________________________________________
>> 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
>> 
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
> 
> --
> ✐Richard Cook
> ✇ Lawrence Livermore National Laboratory
> Bldg-453 Rm-4024, Mail Stop L-557
> 7000 East Avenue,  Livermore, CA, 94550, USA
> ☎ (office) (925) 423-9605
> ☎ (fax) (925) 423-6961
> ---
> Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
> (opinions expressed herein are mine and not those of LLNL)
> 
> 
> 
> _______________________________________________
> 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
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview

-- 
✐Richard Cook   
✇ Lawrence Livermore National Laboratory
Bldg-453 Rm-4024, Mail Stop L-557        
7000 East Avenue,  Livermore, CA, 94550, USA
☎ (office) (925) 423-9605    
☎ (fax) (925) 423-6961
---
Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)





More information about the ParaView mailing list