Changes between Version 21 and Version 22 of vnc3d
- Timestamp:
- 02/19/16 14:10:22 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
vnc3d
v21 v22 60 60 61 61 {{{ #!ShellExample 62 # start job: allocate visualization node63 salloc -N 1 -p vis --gres=gpu: 262 # request allocation on visualization node -> start shell for job submission 63 salloc -N 1 -p vis --gres=gpu:0 64 64 65 # s tart task: an interactive bashon the visualization node66 srun - -cpu_bind=none -n 1 --pty /bin/bash -i65 # spawn interactive application 'bash' on the visualization node 66 srun -n 1 --pty /bin/bash -i 67 67 68 68 # create .vnc directory in HOME … … 76 76 echo "exec startxfce4" > ~/.vnc/xstartup 77 77 78 # stop task and job78 # exit job and release allocation 79 79 exit 80 80 exit … … 84 84 Open an ssh shell on a login node of JURECA the usual way.\\ 85 85 86 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. 87 86 88 To allocate a vis node with 512 GByte main memory for one hour, use: 87 89 {{{ #!ShellExample 90 # request allocation and spawn VNC server on visualization node 88 91 salloc -N 1 -p vis --gres=mem512,gpu:2 --start-xserver --time=1:00:00 89 92 srun -n 1 --cpu_bind=none --gres=gpu:0 vncserver -fg -geometry 1920x1080 90 93 }}} 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. 98 101 99 102 In case the VNC server could successfully be started, you will get an output like: