Visualization: Difference between revisions

→‎Visualization on new Compute Canada systems: Started adding material to Cedar/Graham visualization section.
No edit summary
(→‎Visualization on new Compute Canada systems: Started adding material to Cedar/Graham visualization section.)
Tags: Mobile edit Mobile web edit
Line 27: Line 27:


= Visualization on new Compute Canada systems = <!--T:6-->
= Visualization on new Compute Canada systems = <!--T:6-->
This section will be updated as the new systems come online starting with [[Cedar]] (SFU) and [[Graham]] (Waterloo).
 
Currently, we are working to bring GPU rendering to [[Cedar]] (SFU) and [[Graham]] (Waterloo). In the meantime, you can do client-server ParaView rendering on cluster CPUs. To get started, install ParaView 5.3.x (where "x" could be anything) on your laptop as you need the same version as on the cluster. Log in to Cedar or Graham and start a serial non-GPU interactive job:
 
  salloc --time=1:00:0 --ntasks=1 --account=xwp-462-aa
 
The job should automatically start on one of CPU interactive nodes. Once you get an interactive prompt (that is part of your job), load the offscreen ParaView module and start the server:
 
  module load paraview-offscreen/5.3.0
  pvserver --mesa-swr-avx2
 
The flag "--mesa-swr-avx2" is important for much faster software rendering with OpenSWR library. Wait for the server to be ready to accept client connection:
 
Connection URL: cs://cdr774.int.cedar.computecanada.ca:11111
Accepting connection(s): cdr774.int.cedar.computecanada.ca:11111
 
Take a note of the node (in this case cdr774) and the port (usually 11111) and then in another terminal on your laptop (on Mac/Linux, use a terminal emulator on Windows) link the port 11111 on your laptop and the same port on the compute node (make sure to use the correct compute node):
 
  ssh cedar.computecanada.ca -L 11111:cdr774:11111
 
 
 
This section will be updated as the new systems come online starting with .


== Client-server visualization in a cloud VM == <!--T:20-->
== Client-server visualization in a cloud VM == <!--T:20-->
cc_staff
292

edits