[Paraview] What is the difference between pvbatch and pvpython ?
Thomas Førde
thomas.forde at ulstein.com
Fri Jan 8 04:58:40 EST 2016
It fails here… not able to disable that Wrapping PythonCore
CMakeFiles/vtkWrappingPythonCore.dir/PyVTKTemplate.cxx.o: In function `PyVTKTemplate_AddItem':
/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:427: undefined reference to `PyExc_TypeError'
/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:427: undefined reference to `PyErr_SetString'
/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:437: undefined reference to `PyExc_TypeError'
/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:437: undefined reference to `PyErr_SetString'
/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:444: undefined reference to `PyExc_TypeError'
/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:444: undefined reference to `PyErr_SetString'
/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:456: undefined reference to `PyExc_TypeError'
/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:456: undefined reference to `PyErr_SetString'
/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:460: undefined reference to `PyInt_FromLong'
/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:525: undefined reference to `PyExc_TypeError'
/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:525: undefined reference to `PyErr_SetString'
/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:548: undefined reference to `PyExc_TypeError'
/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:548: undefined reference to `PyErr_SetString'
/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:551: undefined reference to `PyString_FromStringAndSize'
/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:562: undefined reference to `PyTuple_New'
/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:569: undefined reference to `PyDict_SetItem'
CMakeFiles/vtkWrappingPythonCore.dir/PyVTKTemplate.cxx.o:(.data.rel+0x8): undefined reference to `PyType_Type'
CMakeFiles/vtkWrappingPythonCore.dir/PyVTKTemplate.cxx.o:(.data.rel+0x90): undefined reference to `PyObject_GenericGetAttr'
collect2: ld returned 1 exit status
make[2]: *** [lib/libvtkWrappingPython26Core-pv4.4.so.1] Error 1
make[1]: *** [VTK/Wrapping/PythonCore/CMakeFiles/vtkWrappingPythonCore.dir/all] Error 2
From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of David E DeMarle
Sent: 7. januar 2016 17:02
To: houssen <houssen at ipgp.fr>
Cc: paraview at paraview.org
Subject: Re: [Paraview] What is the difference between pvbatch and pvpython ?
typo "batch line" -> "command line"
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Thu, Jan 7, 2016 at 11:00 AM, David E DeMarle <dave.demarle at kitware.com<mailto:dave.demarle at kitware.com>> wrote:
pvpython isn't MPI parallel and it is interactive. You have to connect to a parallel pvserver to work with big data, but on the other hand you can type into it and see things happen as you do in the GUI.
pvbatch is MPI parallel and it isn't interactive. You can mpiexec it to use it for large data, but it doesn't have a command line and only accepts a script via the batch line.
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909<tel:518-881-4909>
On Thu, Jan 7, 2016 at 10:50 AM, houssen <houssen at ipgp.fr<mailto:houssen at ipgp.fr>> wrote:
Hello,
What is the difference between pvbatch and pvpython ? (general purpose question)
My understanding is that one can always use python scripts (from paraview, pvbatch, pvpython), paraview has the GUI, pvbatch is "paraview in batch mode" (that is paraview without the gui). But what is the purpose of pvpython ? When is it needed to use pvbatch or pvpython instead of the other one ? Or what can do pvbatch that pvpython can not do ?
Franck
_______________________________________________
Powered by www.kitware.com<http://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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160108/f13f9dd9/attachment.html>
More information about the ParaView
mailing list