ParaView Job Scripts

From UFRC
Jump to navigation Jump to search

Return to ParaView main page

ParaView server single node with 32 cores and a GPU

#!/bin/bash
#SBATCH --job-name=paraview_server_test
#SBATCH --mail-type=NONE
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=32
#SBATCH --nodes=1
#SBATCH --mem-per-cpu=2gb
#SBATCH --partition=gpu
#SBATCH --gres=gpu:a100:1
#SBATCH --time=02:00:00
#SBATCH --output=paraview_server_test.log

echo "Job started on $(hostname) at $(date)..."

module load gcc/8.2.0  openmpi/4.0.3 paraview/5.9.1

srun --mpi=pmix_v3 pvserver --force-offscreen-rendering --server-port=11111

echo "Job completeed at $(date)."
  • Notice that for previous versions of Paraview, such as paraview/5.4.1, the option --force-offscreen-rendering is not available. Instead, invoke --use-offscreen-rendering.