# pvbatch problems

**URL:** https://discourse.paraview.org/t/pvbatch-problems/5256
**Category:** ParaView Support
**Tags:** python
**Created:** [September 3, 2020, 10:38am UTC](https://discourse.paraview.org/t/pvbatch-problems/5256 "2020-09-03T10:38:14Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sharaborin](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/9de053/32.png) [@sharaborin](https://discourse.paraview.org/u/sharaborin)
#### Post date: [September 3, 2020, 10:38am UTC](https://discourse.paraview.org/t/pvbatch-problems/5256/1 "2020-09-03T10:38:14Z")

</div>

Hello,  
I am trying to run my pvpython script in parallel because the file is huge (~3Gb). For these purposes, I have used [Pat’s advice](https://public.kitware.com/pipermail/paraview/2013-February/027516.htmll)  
where he runs using pvbatch  
“mpirun -np 1 /path/to/pvbatch /path/to/script.py”

I am running my code in a Mac OS laptop “mpirun -np 4 /path/to/pvbatch /path/to/script.py”  
and I am getting

> ```
> ( 9.626s) [pvbatch.1] vtkDelaunay3D.cxx:452 ERR| vtkDelaunay3D (0x2f21d60): <<Cannot triangulate; no input points
> ( 9.627s) [pvbatch.1] vtkPVContourFilter.cxx:183 INFO| Contour array is null.
> ( 9.622s) [pvbatch.2] vtkDelaunay3D.cxx:452 ERR| vtkDelaunay3D (0x2560e30): <<Cannot triangulate; no input points
> ( 9.623s) [pvbatch.3] vtkDelaunay3D.cxx:452 ERR| vtkDelaunay3D (0x1b5bce0): <<Cannot triangulate; no input points
> ( 9.622s) [pvbatch.2] vtkPVContourFilter.cxx:183 INFO| Contour array is null.
> ( 9.623s) [pvbatch.3] vtkPVContourFilter.cxx:183 INFO| Contour array is null.
> 
> ```

It seems that it does not parallelize computations because a master node does not share points with other cores.  
Paraviiew version 5.8.0  
I am using \*.pvd format, in which I put \*.pvtu files, which are a header for \*.vtu files. Is it possible to run the code in parallel if the script reads a huge single file, or input files should be splitted into several files to ease parallel reading?  
Thank you in advance)

Best regards,  
Evgenii

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [September 3, 2020, 12:56pm UTC](https://discourse.paraview.org/t/pvbatch-problems/5256/2 "2020-09-03T12:56:38Z")

</div>

You can split the .vtu files, but it might be simpler to use the **Redistribute DataSet** filter to partition the data across ranks.
