Difference between revisions of "ParaView Job Scripts"
Jump to navigation
Jump to search
Johnbullard (talk | contribs) (Created page with "==ParaView server single node with 32 cores and a GPU== <pre> #!/bin/bash #SBATCH --job-name=paraview_server_test #SBATCH --mail-type=NONE #SBATCH --ntasks=1 #SBATCH --cpus-pe...") |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | [[ParaView#Using_Client.2FServer_Mode|Return to ParaView main page]] | ||
+ | |||
==ParaView server single node with 32 cores and a GPU== | ==ParaView server single node with 32 cores and a GPU== | ||
<pre> | <pre> | ||
Line 21: | 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
.