Agent skill
paraview-interface-cli-execution
Sub-skill of paraview-interface: CLI Execution (+3).
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/engineering/cfd/paraview/cli-execution
SKILL.md
CLI Execution (+3)
CLI Execution
# Run ParaView Python script (with GUI libraries, offscreen)
pvpython script.py
# Run in pure batch mode (no GUI libraries needed)
pvbatch script.py
# Parallel execution with MPI
mpirun -np 4 pvbatch script.py
# With offscreen rendering (mesa)
pvbatch --force-offscreen-rendering script.py
# Specify specific mesa/EGL
DISPLAY=:0 pvpython script.py
pvpython vs pvbatch
| Feature | pvpython | pvbatch |
|---|---|---|
| GUI available | Yes (can show windows) | No (headless only) |
| MPI parallel | No | Yes |
| Offscreen | Via --force-offscreen-rendering |
Default |
| Use case | Interactive scripts, debugging | Production batch jobs |
CLI Flags
| Flag | Purpose |
|---|---|
--force-offscreen-rendering |
Force offscreen (no display needed) |
--mesa |
Use Mesa software rendering |
-dr |
Disable registry (ignore saved settings) |
--state=file.pvsm |
Load ParaView state file |
--data=file.vtk |
Load data file |
Environment Setup
# Typical ParaView environment (installed via package manager)
export PATH=/usr/bin:$PATH # pvpython, pvbatch in standard path
# Or from tarball installation
export PARAVIEW_HOME=/opt/ParaView-5.12
export PATH=$PARAVIEW_HOME/bin:$PATH
export LD_LIBRARY_PATH=$PARAVIEW_HOME/lib:$LD_LIBRARY_PATH
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?