Changes between Version 34 and Version 35 of vnc3d


Ignore:
Timestamp:
04/05/16 10:31:19 (8 years ago)
Author:
Jens Henrik Goebbert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • vnc3d

    v34 v35  
    6262(attention: __without__ VirtualGL software, rendering using the CPU instead of the GPU must be used (if available), which is much slower).
    6363
    64 
    65 The following steps are necessary to start a VNC session for remote rendering with !VisIt on JURECA. \\
    66 Please notice that the VNC server is only available on vis-nodes!
    67 
    68 === 1. Start VNC server on a vis node
    69 Open an ssh shell on any login node of JURECA the usual way.\\
    70 
    71 salloc is used to request an allocation. When the job is started, a shell (or other program specified on the command line) is started on the submission host (login node). From the shell srun can be used to interactively spawn parallel applications. The allocation is released when the user exits the shell.
     64==== ok, what do I have to do?
     65Using VNC requires two general steps.
     661. '''Start a VNC server''' on a JURECA node.
     672. '''Tunnel VNC traffic''' to your workstation.
     68
     69\\
     70=== 1. Start VNC server ...
     71The following steps are necessary to start a VNC server on JURECA. \\
     72Please notice that you have two general options:
     73
     74You can start the VNC server ...
     75* ... on an '''interactive vis login node'''
     76 * + no batch system == instant access
     77 * -- system is shared with other users
     78* ... on a '''dedicated vis node'''
     79 * + system is not shared (exclusive use)
     80 * -- access through batch system
     81
     82In case the VNC server could successfully be started (details in 1a,b), you will find a simular line in the output:
     83{{{ #!sh
     84Desktop 'TurboVNC: jrc1391.zam.kfa-juelich.de:1 (<USERID>)' started on display jrc1391.fz-juelich.de:1
     85}}}
     86
     87Two important informations have to be taken from this output \\
     88to setup the required SSH tunnel (with the correct network port) to the allocated node in step 2:
     891. The allocated node is '''jrc1391'''
     902. The number of the VNC display is ''':1'''
     91
     92It is very important to know that the network port of the VNC server depends on this display number. \\
     93The actual port number is 5900+<VNC display>, therefore port '''5901''' must be tunneled in this case.
     94
     95Important notes:
     96* To ensure VNC sessions are not forgotten and keep on running forever, they will be '''killed after 24 hours ''' (WITHOUT warning).
     97* Logout from your VNC session, after you have finished your work. This will save resources and close the VNC server. \\
     98* If you start the VNC server the first time, you will be asked for a password (which is stored in ~/.vnc/passwd). \\
     99  You will be asked for this password by the VNC viewer, when you connect to the VNC server. \\
     100  To reset the password just delete the file ~/.vnc/passwd.
     101
     102==== a. ... on an interactive vis login node
     103Open a SSH shell on an interactive vis login node (jurecavis.fz-juelich.de):
     104{{{ #!sh
     105ssh <USERID>@jurecavis.fz-juelich.de
     106}}}
     107
     108Start your own VNC server on jurecavis.
     109Usefull vncserver parameters are:
     110* -profile        -> choose a profile (eg. -profile vis)
     111* -geometry       -> set the screen size (eg. -geometry 1920x1080)
     112{{{ #!sh
     113vncserver
     114}}}
     115
     116==== b. ... on a dedicated vis node
     117Open an SSH shell on any login node of JURECA the usual way:
     118
     119{{{ #!sh
     120ssh <USERID>@jureca.fz-juelich.de
     121}}}
     122
     123salloc is used to request an allocation.\\
     124When the job is started, a shell (or other program specified on the command line) is started on the submission host (login node). \\
     125From the shell srun can be used to interactively spawn parallel applications. \\
     126The allocation is released when the user exits the shell.
    72127
    73128To allocate a vis node with 512 GByte main memory for one hour, use:
     
    77132srun -n 1 --cpu_bind=none --gres=gpu:1 vncserver -fg -profile vis -geometry 1920x1080
    78133}}}
     134
    79135salloc/srun options
    80136* -N 1            -> Set number of requested nodes.
     
    86142* Please check 'salloc --help' and 'srun --help' for more details.
    87143
    88 vncserver options
    89 * -fg             -> start VNC server in the foreground (ensure the end of job-script is not reached, as this will stop the job)
    90 * -profile        -> choose a profile (eg. default, vis)
    91 * -geometry       -> set the screen size (optional)
    92 
    93 In case the VNC server could successfully be started, you will get an output like:
    94 {{{ #!sh
    95 Desktop 'TurboVNC: jrc1384.zam.kfa-juelich.de:1 (<USERID>)' started on display jurecavis01.fz-juelich.de:1
    96 }}}
    97 
    98 As you have to setup an ssh tunnel (with the correct network port) to the allocated node in step 2, \\
    99 two important informations have to be taken from this output:
    100 1. The allocated node is '''jrc1391'''
    101 1. The number of the VNC display is ''':1'''
    102 
    103 It is very important to know that the network port of the VNC server depends on this display number. \\
    104 The actual port number is 5900+<VNC display>, therefore port '''5901''' must be tunneled in this case.
    105144
    106145=== 2. Tunnel VNC traffic to workstation
    107 Now you have to open an ssh tunnel from your workstation to this node. \\
     146Now you have to open an SSH tunnel from your workstation to node on which your VNC server is running. \\
    108147The steps to be done depend strongly on your operating system and your setup.
    109148
     
    148187
    149188# load ParaView dependency
    150 module load intel-para/2015.07
     189module load intel-para
    151190
    152191# load ParaView
    153 module load ParaView/4.3.1
     192module load ParaView
    154193}}}
    155194