Difference between revisions of "ParaView Job Scripts"
Jump to navigation
Jump to search
Johnbullard (talk | contribs) |
|||
(One intermediate revision by the same user not shown) | |||
Line 23: | Line 23: | ||
echo "Job completeed at $(date)." | echo "Job completeed at $(date)." | ||
</pre> | </pre> | ||
+ | {{Note|For previous versions of Paraview, such as paraview/5.4.1, the option <code>--force-offscreen-rendering</code> is not available. Instead, invoke <code>--use-offscreen-rendering</code>.|info}} |
Latest revision as of 16:25, 16 February 2022
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)."
For previous versions of Paraview, such as paraview/5.4.1, the option
--force-offscreen-rendering
is not available. Instead, invoke --use-offscreen-rendering
.