Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
visualisation [2013/03/08 15:39] – adminvisualisation [2015/01/09 09:49] (Version actuelle) – supprimée admin
Ligne 1: Ligne 1:
  
- 
- 
-====== Remote Visualization ====== 
- 
-**Using 3D hardware acceleration for remote visualization**  
- 
- 
- 
-Remote Visualization is the process of delegating the actual display (2d/3d) computations to a remote system while displaying the result locally. 
-It allows light clients without graphic cards to use remote dedicated ones to perform advanced graphic rendering. 
- 
- 
-===== Remote visualization at the Mesocentre ===== 
- 
- 
-Currently, the Mesocentre provides provisional remote visualization facilities on host **mesocluster2.univ-fcomte.fr**. These facilities are based on two open-source projects ''VirtualGL'' and ''TurboVNC'' using the 3D hardware acceleration support provided by Tesla nodes. 
- 
-<note important>Before using the remote visualizaion, you need to configure ''ssh'' for password-less (public-key based) authentication and to set a VNC access password using the''vncpassword'' command. 
- 
-**1. Download and Install [[http://sourceforge.net/projects/virtualgl/files/TurboVNC/|TurboVNC]] on your machine**\\ 
- 
-**2. connect to the dedicated login node:** mesocluster2.univ-fcomte.fr 
-<code> 
-   user@PC:~ > ssh user@mesocluster2.univ-fcomte.fr  
-</code>    
-**3. setup vncpassword**: __this password is unrelated to the one used for your Mesocentre account__. This VNC password will be required to connect to the vnc server.  
- 
-<code bash> 
-   user@mesocluster2:~ > module load turbovnc  
-   user@mesocluster2:~ > vncpasswd 
-</code>  
- 
-and follow the instructions. 
- 
-**4. setup ssh password-less authentication** 
- 
-<code bash> 
-   user@mesocluster2:~ > ssh-keygen -t rsa 
-   user@mesocluster2:~ > cat .ssh/id_rsa.pub >> .ssh/authorized_keys 
-</code>  
- 
-and follow the instructions. 
-</note> 
- 
- 
-===== X11 Image Transport ("raw mode")===== 
- 
- 
-  *     Recommended mode in low bandwidth/high latency networks 
-  *     Does not require an X-server running on the client PC 
-  *     Requires installation of TurboVNC on the client PC 
- 
- 
-===== Howto: ===== 
- 
-**1.** Login to the dedicated node (mesocluster2) using ssh: \\ 
-   
-<code bash>ssh user@mesocluster2.univ-fcomte.fr</code> 
-  
-**2.** From the login node start a VNC server: \\ 
-   
-<code bash> 
- 
- user@mesocomte2:~ > module load turbovnc 
- user@mesocomte2:~ > vncserver  :4 
- 
-</code> 
- 
-<note important>**:4** is the display number to use. You can choose another value if you have a message error like this : 
- 
-<color red>A VNC server is already running as :4</color> 
- 
- </note> 
-   
-**3.** From your PC start VNC client  
- 
-<code bash> user@PC:~ > /opt/TurboVNC/bin/vncviewer mesocolsuter2.univ-fcomte.fr:4</code> 
-   
-<note tip>Turbo VNCviewer opens a window with a GNOME display. Your GNOME desktop session is ready to work.</note> 
-   
- 
-**4.** Within the GNOME Desktop open a new terminal window and source any necessary application environment module needed for the corresponding OpenGL application :  
-   
- 
-<code bash>user@mesocomte2:~ > module load blender</code> 
-      
-**AND then submit your application to the the visualization server:** 
-   
- <code bash >user@mesocomte2:~ >  3dsub  blender</code> 
-  
-**5.** When your work session ends, first logout from your Turbo VNCviewer GNOME desktop session (Computer -> System -> Logout),then kill the vncserver : 
-    
- <code bash> user@mesocomte2:~ > vncserver -kill :4</code> 
-   
-**6.** You are done!   ;-) 
- 
- 
-====== FAQ ====== 
- 
-??? How to list all the TurboVNC session opened using my account on this host? 
- 
-Use: ''vncserver -list''. **e.g** 
- 
-<code bash> 
-user@mesocomte2:~ >  vncserver -list 
- 
-TurboVNC server sessions: 
- 
-X DISPLAY # PROCESS ID 
-:9 5424 
-</code> 
- 
-??? How to kill the TurboVNC session associated to a specific X display number?  
- 
-Use: ''vncserver -kill :display''  Where //**display**// is the number display. **e.g** 
- 
-<code bash> 
-user@mesocomte2:~ >  vncserver -kill :4 
-</code> 
- 
-??? How to access the settings of vncviewer? 
- 
-hit **F8** in the vncviewer window. 
- 
-??? My application needs more memory (>1.5G). How do I request more memory ?  
- 
- use ''3dsub -l h_vmem=value''. Where ''value'' is the amount of memory in G. 
- 
-**Example:** 
-<code bash> 
- 
-user@mesocomte2:~ >  3dsub -l h_vmem=2.5G blender 
- 
-</code> 
- 
-  
  • visualisation.1362757188.txt.gz
  • Dernière modification : 2015/02/25 08:45
  • (modification externe)