Changes between Version 21 and Version 22 of vnc3d


Ignore:
Timestamp:
02/19/16 14:10:22 (8 years ago)
Author:
Jens Henrik Goebbert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • vnc3d

    v21 v22  
    6060
    6161{{{ #!ShellExample
    62 # start job: allocate visualization node
    63 salloc -N 1 -p vis --gres=gpu:2
     62# request allocation on visualization node -> start shell for job submission
     63salloc -N 1 -p vis --gres=gpu:0
    6464
    65 # start task: an interactive bash on the visualization node
    66 srun --cpu_bind=none -n 1 --pty /bin/bash -i
     65# spawn interactive application 'bash' on the visualization node
     66srun -n 1 --pty /bin/bash -i
    6767
    6868# create .vnc directory in HOME
     
    7676echo "exec startxfce4" > ~/.vnc/xstartup
    7777
    78 # stop task and job
     78# exit job and release allocation
    7979exit
    8080exit
     
    8484Open an ssh shell on a login node of JURECA the usual way.\\
    8585
     86salloc 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.
     87
    8688To allocate a vis node with 512 GByte main memory for one hour, use:
    8789{{{ #!ShellExample
     90# request allocation and spawn VNC server on visualization node
    8891salloc -N 1 -p vis --gres=mem512,gpu:2 --start-xserver --time=1:00:00
    8992srun -n 1 --cpu_bind=none --gres=gpu:0 vncserver -fg -geometry 1920x1080
    9093}}}
    91 
    92 Alternatively you may want to allocate a vis node with 1024 GByte main memory by:
    93 {{{ #!ShellExample
    94 salloc -N 1 -p vis --gres=mem1024,gpu:2 --start-xserver --time=1:00:00
    95 srun -n 1 --cpu_bind=none --gres=gpu:0 vncserver -fg -geometry 1920x1080
    96 }}}
    97 The default wallclock time is 1 hour, the maximum is 24 hours.
     94* -N 1            -> Set number of requested nodes.
     95* -p vis          -> Limit request to nodes from the visualization partition.
     96* --gres=mem512   -> Set the size of main memory per node (mem512 or mem1024).
     97* --gres=gpu:2    -> Set the number of requested GPUs in the range of 0-2.
     98* --start-xserver -> Start an Xserver for usage with VirtualGL.
     99* --time=1:00:00  -> Set the default wallclock time to 1 hour (the maximum is 24 hours).
     100* Please check 'salloc --help' and 'srun --help' for more details.
    98101
    99102In case the VNC server could successfully be started, you will get an output like: