# Inefficient use of sources on HPC systems

**URL:** https://discourse.paraview.org/t/inefficient-use-of-sources-on-hpc-systems/16815
**Category:** ParaView Support
**Created:** [June 14, 2025, 7:21pm UTC](https://discourse.paraview.org/t/inefficient-use-of-sources-on-hpc-systems/16815 "2025-06-14T19:21:11Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Ercan](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/e/c4cdca/32.png) [@Ercan](https://discourse.paraview.org/u/Ercan)
#### Post date: [June 14, 2025, 7:21pm UTC](https://discourse.paraview.org/t/inefficient-use-of-sources-on-hpc-systems/16815/1 "2025-06-14T19:21:11Z")

</div>

Hello everybody,

I am trying to use Paraview-Superbuild on a HPC cluster to generate an animation via terminal. When I run my batch file, which looks like this:

```auto
#!/bin/bash
#SBATCH -p 
#SBATCH -A 
#SBATCH -J unst
#SBATCH --nodes=1
#SBATCH --ntasks=55
#SBATCH --cpus-per-task=1
#SBATCH -C weka
#SBATCH --time=12:10:00
#SBATCH --output=slurm-%j.out
#SBATCH --error=slurm-%j.err

echo "SLURM_NODELIST $SLURM_NODELIST"
echo "NUMBER OF CORES $SLURM_NTASKS"

module purge
module load comp/gcc/14.1.0

export PATH=/arf/program/cmake-3.31.2/bin:$PATH
export PATH=/arf/program/ParaView/paraview-superbuild/install/bin:$PATH

mpiexec pvbatch --force-offscreen-rendering --verbosity=OFF sample3D.py

sstat -j $SLURM_JOB_ID

```

I always get the warnings in the picture.

![WhatsApp Image 2025-06-14 at 22.20.33](https://discourse.paraview.org/uploads/default/original/3X/7/9/79df27c1f3ec008563d277b6490faf87ee6b298e.jpeg)

What could be the reason for this and any idea on how to solve it?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 16, 2025, 6:30am UTC](https://discourse.paraview.org/t/inefficient-use-of-sources-on-hpc-systems/16815/2 "2025-06-16T06:30:25Z")

</div>

> I always get the warnings in the picture.

These warning are not coming from ParaView, are they coming from slurm maybe ?

> `mpiexec pvbatch --force-offscreen-rendering --verbosity=OFF sample3D.py`

Please note this is not running distributed but serially, on a single MPI process

> `export PATH=/arf/program/cmake-3.31.2/bin:$PATH`

I don’t see a reason why you would need CMake in your path

---

<div class="post-metadata">

### Author: ![Ercan](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/e/c4cdca/32.png) [@Ercan](https://discourse.paraview.org/u/Ercan)
#### Post date: [June 16, 2025, 8:10am UTC](https://discourse.paraview.org/t/inefficient-use-of-sources-on-hpc-systems/16815/3 "2025-06-16T08:10:09Z")

</div>

> [@mwestphal](#):
>
> These warning are not coming from ParaView, are they coming from slurm maybe ?

Exactly, they are from slurm. But I guess they are saying that ParaView does not use all of the sources, right? I guess every CPU is used, let’s say, 5% instead of 90% and this creates a warning. I had an screenshot of memory inspector taken some time ago where I had to open ParaView on OpenOnDemand with GUI and it showed something similar. HPC system bans the user due to inefficient use and that would create a lot of hassle for me ☹

 ![Screenshot from 2025-03-18 11-15-38](https://discourse.paraview.org/uploads/default/original/3X/e/2/e2e97ce056afbb86a82646208ce9b1acd65ebcc6.png)

> [@mwestphal](#):
>
> Please note this is not running distributed but serially, on a single MPI process

How can I make it work distributed? Would it distribute the load all the available CPUs equally? I noticed that task0 takes the main load.

> [@mwestphal](#):
>
> I don’t see a reason why you would need CMake in your path

I always put install dependencies in my slurm file, as a habit. Would it affect anything?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 16, 2025, 8:47am UTC](https://discourse.paraview.org/t/inefficient-use-of-sources-on-hpc-systems/16815/4 "2025-06-16T08:47:44Z")

</div>

> [@Ercan](#):
>
> How can I make it work distributed? Would it distribute the load all the available CPUs equally? I noticed that task0 takes the main load.

`mpiexec -np N`, where N is the number of cores you want to use, however, in the context of HPC and multi node computation, you may need to generate and use a host file.
