Tags:
view all tags
---+ Remote Visualization with !TurboVNC To render large amounts of data with programs like vapor, palma50 is equipped with fast graphics cards. This makes it possible to render the data directly on Palma without transferring it via the LAN to you local computer. To keep the amount of submitted data small, only the desktop output of palma50 is transferred via a vnc session. For a fast transmission, !turboVNC is used. The client for Linux and Windows can be downloaded [[http://www.virtualgl.org/Downloads/TurboVNC][here]] . ---++ Initial configuration Create the executable file ~/.vnc/xstartup.turbovnc on palma50 with the following content: <verbatim> #!/bin/sh startxfce4 & </verbatim> ---++ Starting the VNC server Connect to palma50. Under Linux type: <verbatim> ssh palma50 </verbatim> Under Windows use putty <verbatim> /opt/TurboVNC/bin/vncserver :{port number between 10 and 99} -geometry 1200x1000 </verbatim> The switch -g determines the size of the winows. To end the session, type: <verbatim> /opt/TurboVNC/bin/vncserver -kill :{port number} </verbatim> All users share the ports between 10 and 99. If it is already used, just pick another. ---++ Connecting to the session (from your own computer) With Linux: <verbatim> /opt/TurboVNC/bin/vncviewer -via User@palma50 localhost:{Portnummer} </verbatim> The command established a ssh-tunnel and opens the connection to the vnc session on palma50. With Windows: Create a ssh-tunnel with putty (in this example for port 10): <img src="%ATTACHURLPATH%/putty.png" alt="putty.png" width='456' height='433' /> As long as the ssh connection stays open, the turbovnc client is able to connect to localhost:{port number} ---++ Executing 3D applications <verbatim> /opt/VirtualGL/bin/vglrun [vglrun options] {application_executable_or_script} {arguments} </verbatim> for example VAPOR via <verbatim> module add vapor /opt/VirtualGL/bin/vglrun vaporgui </verbatim> ---++ Software for visualizing data on palma50 At the moment there are different programs avaliable, which can be added to the environment variables via modules: * ParaView * Vapor * Voreen ---+ GPGPU palma50 can be used to develop and execute codes that use the techniques CUDA and OpenCL. ---++ Choosing the GPU with CUDA-codes Since there is no batch system on palma50, it is necessary to choose the GPU by hand. For this purpose, use the command =cudaSetDevice()= Example: <verbatim> //-------------------------------------------------- // Use specific GPU int gpu=3; cudaSetDevice(gpu); // Choose GPU //-------------------------------------------------- </verbatim> Please use only the GPUs 1-3 for GPGPU so card number 0 remains free for the remote visualization. ---++ Demo codes The nVidia demo codes for CUDA and OpenCL are located in /local/NVIDIA_GPU_COMPUTING_SDK ---++ Monitoring the usage of the GPUs Unfortunately, nVidia disabled the support for the usage of the GPUs in CUDA version 4. It is therefore neecssary to monitor the temperature of the GPUs to find the cards in use. In the webinterface [[http://palma2/ganglia/?m=mem_report&r=hour&s=descending&c=PALMA+Linux+Cluster&h=palma050.palma.wwu&sh=1&hc=4&z=small][Ganglia]] this can be done in a graphical manner.
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
png
putty.png
r1
manage
8.7 K
2011-11-10 - 10:18
HolgerAngenent
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r5
<
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r4 - 2013-03-26
-
HolgerAngenent
Home
Site map
Anleitungen web
Exchange web
Main web
TWiki web
Anleitungen Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Български
Cesky
Dansk
Deutsch
English
Español
Suomi
_Français_
Italiano
日本語
한글
Nederlands
Polski
Português
Русский
Svenska
Українська
简体中文
簡體中文
Edit
Attach
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding ZIVwiki?
Send feedback
Datenschutzerklärung
Impressum