start:software:visualization:paraview

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

start:software:visualization:paraview [2020/04/16 15:41] (current)
jrutte02 created
Line 1: Line 1:
 +====== Paraview ======
  
 +<​grid>​
 +<col lg="​6"​ md="​12"​ sm="​12"​ xs="​12">​
 +<callout type="​danger"​ title="​Outdated"​ icon="​true">​
 +This page is outdated and under revision!
 +</​callout>​
 +</​col>​
 +</​grid>​
 +
 +===== Starting an (interactive) job via bash script =====
 +
 +Of course you can start your jobs manually if you want to. If not, you can use the following scripts according to your desired mpi version.
 +Copy it, modify it, start it.
 +
 +To use more cores, only change the value for n. Additional params can be added at the end of the bsub line.
 +Don't change the "​-R"​ param and much more important like mentioned before: **Don'​t use more than one core on the login nodes. **
 +
 +Please remember, that client and server version should not mismatch!
 +
 +=== Script for mvapich ===
 +
 +<code bash>
 +#!/bin/bash
 +
 +# mvapich
 +n=8
 +
 +((m=n+1))
 +module add gcc/4.7.0 mpi/​mvapich2/​1.9/​gcc_4.7.0 software/​paraview/​mvapich2/​4.1.0_offscreen
 +bsub -q visualize -n $m -a mvapich2 -R "​1*{type==LOGIN1 span[ptile=1]} + $n*{type!=LOGIN1}"​ -Is mpirun ​ pvserver --use-offscreen-rendering --server-port=$(get_free_pv_port) #add more params here
 +</​code>​\\
 +
 +=== Script for Platform MPI CE ===
 +
 +<code bash>
 +#!/bin/bash
 +
 +# platform_mpi_ce
 +n=8
 +
 +((m=n+1))
 +module load gcc/4.8.2 mpi/​platform_mpi_ce/​9.1.2 software/​paraview/​platform_mpi_ce/​4.2.0_offscreen
 +bsub -q visualize -n $m -R "​1*{type==LOGIN1 span[ptile=1]} + $n*{type!=LOGIN1}"​ -Is mpirun -lsf pvserver --use-offscreen-rendering --server-port=$(get_free_pv_port) #add more params here
 +</​code>​\\
 +
 +===== Output =====
 +
 +**Don'​t forget to make your script executable with `chmod +x`!**\\
 +If started you will get following output:
 +<code bash>
 +<<​Waiting for dispatch ...>>
 +<<​Starting on login02>>​
 +Waiting for client...
 +Connection URL: cs://​login02.mogon:​11111
 +Accepting connection(s):​ login02.mogon:​11111
 +</​code>​ \\ 
 +
 +===== Connecting to the server =====
 +
 +==== Inside Campus network ====
 +
 +  - Start the client on your desired machine (local).
 +  - Select "​Connect ..." \\ {{:​pv_step1.png?​300|}}
 +  - Click on "Add Server"​ \\ {{:​pv_step2.png?​300|}}
 +  - Enter mogon as hostname, your chosen port and click "​Configure"​ \\ {{:​pv_step3.png?​300|}}
 +  - Leave the settings as it and click on "​Save"​
 +  - Now select the created entry and click on "​Connect"​ \\ {{:​pv_step4.png?​300|}}
 +  - If no error message pops up, you should have connected. To check, open the memory viewer \\ {{:​pv_step5.png?​300|}}
 +  - The result should look like this: \\ {{:​pv_step6.png?​300|}}
 +  - To disconnect, simply select File >> Disconnect
 +
 +==== Outside Campus network ====
 +
 +It is possible to use paraview outside from the campus network. There are two possibilities to achieve it:
 +
 +=== Easy method: Configure VPN ===
  • start/software/visualization/paraview.txt
  • Last modified: 2020/04/16 15:41
  • by jrutte02