[Paraview] Is pvbatch available for PV3?

Orion Poplawski orion at cora.nwra.com
Wed Jul 11 13:07:50 EDT 2007


Amy Squillacote wrote:
> PV3 has pvpython instead of pvbatch. pvbatch read Tcl scripts; pvpython 
> reads Python scripts. Since ParaView 3 does not use Tcl, pvbatch will 
> not be back.
> 

Makes sense. Thanks for the info.  Some possibly related vestigial stuff 
currently in the 3.1 July snapshot:

CMakeLists.txt:
GET_TARGET_PROPERTY(PARAVIEW_BATCH_EXECUTABLE pvbatch${PV_EXE_SUFFIX} 
LOCATION)

ParaViewConfig.cmake.in:
SET(PARAVIEW_BATCH_EXECUTABLE "@PARAVIEW_BATCH_EXECUTABLE@")

CMake/ParaViewCommon.cmake:
# Configure Tcl Wraping.
# We can't remove this from ParaViewCommon.cmake since it must be
# included after VTK has been included but before ServerManager.
IF (PARAVIEW_BUILD_GUI)
   ADD_SUBDIRECTORY(Utilities/VTKTclWrapping)
   SET(VTKTclWrapping_INSTALL_NO_DEVELOPMENT ${PV_INSTALL_NO_DEVELOPMENT})
   SET(VTKTclWrapping_INSTALL_NO_RUNTIME ${PV_INSTALL_NO_RUNTIME})
   SET(VTKTclWrapping_INSTALL_LIB_DIR ${PV_INSTALL_LIB_DIR})
   SET(VTKTclWrapping_INSTALL_BIN_DIR ${PV_INSTALL_BIN_DIR})
ENDIF (PARAVIEW_BUILD_GUI)

Servers/ServerManager/CMakeLists.txt:
# Create Tcl wrappers for classes.
IF (PARAVIEW_BUILD_GUI)
   SET(VTK_WRAP_TCL_EXE ${PARAVIEW_VTK_WRAP_TCL_EXE})
   SET(VTK_WRAP_TCL_INIT_EXE ${PARAVIEW_VTK_WRAP_TCL_INIT_EXE})
   INCLUDE("${VTK_CMAKE_DIR}/vtkWrapTcl.cmake")
   VTK_WRAP_TCL3(
     vtk${KIT}TCL
     KitTCL_SRCS
     "${Kit_SRCS}"
     ""
     )
   CONFIGURE_FILE(
     "${CMAKE_CURRENT_SOURCE_DIR}/vtkPVProcessModuleBatchHelperConfig.h.in"
     "${CMAKE_CURRENT_BINARY_DIR}/vtkPVProcessModuleBatchHelperConfig.h"
     @ONLY IMMEDIATE)
   ADD_LIBRARY(vtk${KIT}TCL ${KitTCL_SRCS}
     vtkPVProcessModuleBatchHelper.cxx
     )
   TARGET_LINK_LIBRARIES (vtk${KIT}TCL vtk${KIT} vtkCommonTCL)
   TARGET_LINK_LIBRARIES (vtk${KIT}TCL vtkPVServerCommonTCL)
ENDIF (PARAVIEW_BUILD_GUI)
...
   IF (PARAVIEW_BUILD_GUI)
     SET (targets_to_install
       vtk${KIT}TCL)
   ENDIF (PARAVIEW_BUILD_GUI)


Servers/Common/CMakeLists.txt:
# Create Tcl wrappers for classes.
IF (PARAVIEW_BUILD_GUI)
   SET(VTK_WRAP_TCL_EXE ${PARAVIEW_VTK_WRAP_TCL_EXE})
   SET(VTK_WRAP_TCL_INIT_EXE ${PARAVIEW_VTK_WRAP_TCL_INIT_EXE})
   INCLUDE("${VTK_CMAKE_DIR}/vtkWrapTcl.cmake")
   VTK_WRAP_TCL3(
     vtk${KIT}TCL
     KitTCL_SRCS
     "${Kit_SRCS}"
     ""
     )
   ADD_LIBRARY(vtk${KIT}TCL ${KitTCL_SRCS}
     )
   TARGET_LINK_LIBRARIES (vtk${KIT}TCL vtk${KIT} vtkCommonTCL)
ENDIF (PARAVIEW_BUILD_GUI)
...
   IF (PARAVIEW_BUILD_GUI)
     SET (temp_TO_INSTALL
       ${temp_TO_INSTALL}
       vtk${KIT}TCL)
   ENDIF(PARAVIEW_BUILD_GUI)

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


More information about the ParaView mailing list