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édentesRévision précédente
Prochaine révision
Révision précédente
en:documentation:tutorials:visualisation [2020/05/11 10:18] flerouxen:documentation:tutorials:visualisation [2023/12/12 12:52] (Version actuelle) – supprimée ltaulell
Ligne 1: Ligne 1:
-====== Visualization server ====== 
- 
-The **r740visu** server is dedicated to extensive visualization (OpenGL/Mesa/CUDA8) at PSMN. 
- 
-It is equipped with 2 Intel processors Xeon Gold 5122 @3.6GHz (16 logical cores) with 192 GiB of RAM. 
-It is accessible using **x2go** and has a hardware accelerator **NVidia Quadro P4000©**. 
- 
-Finally, and most importantly, the server give access to the ''/scratch/E5N'' (scratch system common to ''E5-*'' queues. 
- 
-<WRAP round important>**r740visu is not a submission node.**</WRAP> 
- 
-<WRAP info>This machine was set up thanks to the preparatory work, recipes and integrations carried out on the CBP experimental platform.</WRAP> 
- 
- 
-===== 1. Prerequisites ===== 
- 
-  - [[en:documentation:tutorials:ssh:accueil|Connect to clusters]] 
-  - [[en:documentation:tutorials:ssh:clef_agent_ssh|Use SSH keys and ssh-agent]] (**or** [[documentation:tutorials:ssh:putty|PuTTY/KiTTY for Windows]]) 
-  - [[en:documentation:tutorials:ssh:multihop_ssh|Doing hops with SSH]] 
-  - Install **x2go** (x2goclient) on user's workstation (Linux, Mac or Windows => http://wiki.x2go.org/) 
- 
-===== 2. Configure the x2goclient ===== 
- 
-  * New session 
- 
-<WRAP group> 
-<WRAP half column> 
- 
-{{ :documentation:tutorials:x2go-01-config.png?direct&300 |}} 
- 
-</WRAP> 
-<WRAP half column> 
- 
-  - Session -> New, 
-  - You can return to the parameters by clicking on the small arrowhead, 
-  - The session is saved in this white rectangle. 
- 
-</WRAP> 
-</WRAP> 
- 
-  * Parameters: Tab Session 
- 
-<WRAP group> 
-<WRAP half column> 
- 
-{{ :documentation:tutorials:x2go-02-config.png?direct&300 |}} 
- 
-</WRAP> 
-<WRAP half column> 
- 
-  - Name the session, 
-  - Host = **r740visu**, 
-  - Try auto login -> Checked, 
-  - Use proxy server -> Checked, 
-  - SSH -> Checked, 
-  - Host = **allo-psmn.psmn.ens-lyon.fr**, 
-  - Same login -> Checked, 
-  - Same password -> Checked, 
-  - ssh-agent -> Checked, 
-  - Session type = :!: **XFCE** :!:. 
- 
-</WRAP> 
-</WRAP> 
- 
-<note warning>:!: **WARNING : the ''Session type'' NEED to be SET TO  ''XFCE''** :!:</note> 
- 
- 
-  * Parameters: Tab Connection 
- 
-<WRAP group> 
-<WRAP half column> 
- 
-{{ :documentation:tutorials:x2go-03-config.png?direct&300 |}} 
- 
-</WRAP> 
-<WRAP half column> 
- 
-  - choose a speed between ADSL and WAN. 
- 
-</WRAP> 
-</WRAP> 
- 
-  * Parameters: Tab Input/Output 
- 
-<WRAP group> 
-<WRAP half column> 
- 
-{{ :documentation:tutorials:x2go-04-config.png?direct&300 |}} 
- 
-</WRAP> 
-<WRAP half column> 
- 
-  - Customize the screen size, or leave in Full/whole mode, your choice, 
-  - If necessary, force keyboard settings (Mac and Windows). 
- 
-</WRAP> 
-</WRAP> 
- 
-  * Parameters : Tab Media 
- 
-<WRAP group> 
-<WRAP half column> 
- 
-{{ :documentation:tutorials:x2go-05-config.png?direct&300 |}} 
- 
-</WRAP> 
-<WRAP half column> 
- 
-  - Sound support -> Unchecked, 
-  - printing support -> Unchecked. 
- 
-</WRAP> 
-</WRAP> 
- 
-  * Parameters: Tab Directory 
- 
-<WRAP group> 
-<WRAP half column> 
- 
-{{ :documentation:tutorials:x2go-06-config.png?direct&300 |}} 
- 
-</WRAP> 
-<WRAP half column> 
- 
-//(nothing to do)// 
- 
-</WRAP> 
-</WRAP> 
- 
- 
-===== 3. Connection ===== 
- 
-<WRAP group> 
-<WRAP half column> 
- 
-{{ :documentation:tutorials:x2go-01-config.png?direct&300 |}} 
- 
-</WRAP> 
-<WRAP half column> 
- 
-Just click on the session of your choice (arrow 3) to start the connection process. 
- 
-</WRAP> 
-</WRAP> 
- 
-Expected result: 
- 
-{{ :documentation:tutorials:x2go-r730visu-07-xfce-desktop.png?direct |XFCE Desktop}} 
- 
-===== 3,5. Connection from outside (Linux, Mac) ===== 
- 
-This paragraph concerns a connection to the visualization machine from outside the School, **from a Linux or Mac OSX client**. SSH bounces must be active, make sure you have read (understood and tested) the 
-[[documentation:tutorials:ssh:multihop_ssh|related documentation]]. 
- 
-<WRAP group> 
-<WRAP half column> 
- 
-{{:documentation:tutorials:diagramme_ssh_externe.png?direct&300|}} 
- 
-</WRAP> 
-<WRAP half column> 
- 
-__Keys :__ 
-  * **black** : physical connection 
-  * <wrap round notice>blue</wrap> : standard ssh connection 
-  * <wrap round danger>red</wrap> : virtual ssh connection (bounce) 
-  * <wrap round safety>green</wrap> : NFS link (/home) 
- 
-</WRAP> 
-</WRAP> 
- 
-  * Minimal modification to be made in your ''~/.ssh/config'' (on user station): 
- 
-<code bash> 
-Host allo-psmn-multihop 
-  User $USER 
-  ProxyCommand ssh -qt $USER@ssh.psmn.ens-lyon.fr tcpconnect allo-psmn.psmn.ens-lyon.fr %p 
-</code> 
- 
-<wrap important>Replace ''$USER'' by your PSMN login.</wrap> 
- 
-  * Modification x2go : 
- 
-In the tab ''Session'', block ''Proxy server'', box ''Host'', replace ''allo-psmn.psmn.ens-lyon.fr'' by the new configuration : ''allo-psmn-multihop''. You must get the same thing as in §3 at the login x2go. 
- 
-===== 4. Connection Windows/PuTTY, External access ===== 
- 
-This part is about connection to visualization server from a network outside of ENS de Lyon (see {{documentation:tutorials:diagramme_ssh_externe.png?linkonly|illustration}}). 
- 
- 
-<WRAP group> 
-<WRAP half column> 
- 
-{{:documentation:tutorials:diagramme_ssh_externe.png?direct&300|}} 
- 
-</WRAP> 
-<WRAP half column> 
- 
-__Légende :__ 
-  * **black** : physical link 
-  * <wrap round notice>blue</wrap> : ssh standard connection 
-  * <wrap round danger>red</wrap> : ssh virtual connection (hops) 
-  * <wrap round safety>green</wrap> : NFS mount (/home) 
- 
-</WRAP> 
-</WRAP> 
- 
-==== Creating an SSH tunnel ==== 
- 
-<note important>**The following steps assume that you have already configured your SSH rebounds to allo-psmn (see [[documentation:tutorials:ssh:putty&#configurer_le_proxy_putty_plink|this documentation]])**</note> 
- 
-The first step is to create an SSH tunnel to the visualization machine. : 
- 
-  * Copy the gateway session (allo-psmn, Load, rename, save). 
- 
-Change the "Host Name" to that of the display machine (here, for the example, r740visu). So rename the session to **r740visu** (to follow the example) and save. 
- 
-<note important>Be sure to enter the full name in ''Host Name'' (here **r740visu.psmn.ens-lyon.fr)**</note> 
- 
-{{:documentation:tutorials:putty_conf_session_visu.png?direct&300|}}. 
- 
-  * In ''Connection->Proxy'', select ''Local''. 
-  * In ''Connection->Proxy'', set "Telnet command" as follows : <code>plink.exe -load allo-psmn -nc %host:%port</code> 
- 
-{{:documentation:tutorials:putty_conf_conn_proxy_x5770.png?direct&300|}} 
- 
-  * In ''Connection->SSH->Tunnels'', set ''Source port'' on port 2222 and ''Destination'' sur <code>r740visu.psmn.ens-lyon.fr:22</code> 
- 
-{{:documentation:tutorials:putty_conf_tunnel_visu.png?direct&300|}} 
- 
-  * Return to ''Session'', save, then click ''Open''. Your tunnel is now open. 
- 
-==== X2Go connection ==== 
- 
-<WRAP group> 
-<WRAP half column> 
-<note important>**The SSH session from Putty to r740visu must remain open, do not close the login window.**</note> 
-</WRAP> 
-<WRAP half column> 
-{{:documentation:tutorials:putty-tunnel-cmd.png?direct&300|}} 
-</WRAP> 
-</WRAP> 
- 
-<WRAP group> 
-<WRAP half column> 
-{{:documentation:tutorials:x2go.png?direct&300|}} 
-</WRAP> 
-<WRAP half column> 
-The X2Go session settings are as follows: 
- 
-  * In ''Host'' enter ''localhost''. 
-  * In ''Username'' enter your login. 
-  * Set ''SSH Port'' to 2222. 
-  * Check the box ''Try automatic authentication''. 
-  * Set ''Session Type'' to ''XFCE''. 
-</WRAP> 
-</WRAP> 
- 
- 
-Confirm with OK, then double-click the session icon on the right side of the X2Go client. You are now connected to the graphical interface of the machine. 
- 
-{{:documentation:tutorials:x2go_desktop.png?direct&300|}} 
- 
-===== Usage ===== 
- 
-Every application installed in the PSMN environment can be used as is. 
- 
-==== Numeric keyboard ==== 
- 
-If your numeric keypad is not recognized, in a terminal, run the program ''numlockx''. 
- 
-==== modulefiles ==== 
- 
-For every application requiring the loading of a modulefile, it is necessary to first load from a terminal the modulefile then run the application. 
- 
-Sometimes, x2go sessions don't load the ''~/.profile''. You can force it, by hand, with ''source ~/.profile'', or add this line to your ''~/.bashrc'' : 
- 
-<code bash>source /usr/share/lmod/lmod/init/bash</code> 
- 
-==== Mac users ==== 
- 
-MacOS X users must have X11 Mac server installed and running prior to use x2go-client, see [[https://wiki.x2go.org/doku.php/doc:installation:x2goclient#os_x|x2goclient documentation]] 
-==== VirtualGL ==== 
- 
-For every application requiring hardware acceleration (OpenGL / GLX / GLSL / ...), after loading the corresponding modulefile, you must prefix the call to the application by calling the VirtualGL wrapper: '' vglrun MyApp '' 
- 
-===== Examples ===== 
- 
-  * VMD 
-   
-In a terminal run: 
- 
-<code> 
-source ~/.profile 
-module load VMD/1.9.2 
-vglrun vmd 
-</code> 
- 
-{{ :documentation:tutorials:x2go-r730visu-08b-vmd.png?direct |VMD}} 
- 
-  * molden/gmolden 
- 
-In a terminal run: 
- 
-<code> 
-source ~/.profile 
-module load Molden/5.4 
-vglrun gmolden 
-</code> 
- 
-{{ :documentation:tutorials:x2go-r730visu-09-gmolden.png?direct |gmolden}} 
- 
-  * ParaView 
- 
-In a terminal run: 
- 
-<code> 
-source ~/.profile 
-module load ParaView/4.4.0 
-vglrun paraview 
-</code> 
- 
-{{ :documentation:tutorials:x2go-r730visu-10-paraview-pressure.png?direct |ParaView "pressure-volume"}} 
- 
-{{ :documentation:tutorials:x2go-r730visu-11-paraview-surfacelic.png?direct |ParaView "velocity-surfaceLIC}} 
- 
-  * Avogadro 
- 
-In a terminal run: 
- 
-<code> 
-source ~/.profile 
-vglrun avogadro 
-</code> 
- 
-{{ :documentation:tutorials:x2go-r730visu-12-avogadro.png?direct&600 |}} 
  
en/documentation/tutorials/visualisation.1589192295.txt.gz · Dernière modification : 2020/08/25 15:58 (modification externe)