{"id":1813,"date":"2021-10-27T16:35:39","date_gmt":"2021-10-27T14:35:39","guid":{"rendered":"http:\/\/calculs.univ-cotedazur.fr\/?page_id=1813"},"modified":"2025-12-17T15:23:26","modified_gmt":"2025-12-17T14:23:26","slug":"how-to-use-the-visualization-node","status":"publish","type":"page","link":"https:\/\/calculs.univ-cotedazur.fr\/?page_id=1813&lang=en","title":{"rendered":"How to use the visualization node"},"content":{"rendered":"\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_11 counter-hierarchy counter-decimal ez-toc-grey\">\n<nav><ul class=\"ez-toc-list ez-toc-list-level-1\"><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/calculs.univ-cotedazur.fr\/?page_id=1813&amp;lang=en#Retrieve_the_Slurm_script\" title=\"Retrieve the Slurm script\">Retrieve the Slurm script<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/calculs.univ-cotedazur.fr\/?page_id=1813&amp;lang=en#Launch_the_job\" title=\"Launch the job\">Launch the job<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/calculs.univ-cotedazur.fr\/?page_id=1813&amp;lang=en#Open_a_session_on_the_visualization_node\" title=\"Open a session on the visualization node\">Open a session on the visualization node<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/calculs.univ-cotedazur.fr\/?page_id=1813&amp;lang=en#Work_on_the_visualization_node\" title=\"Work on the visualization node\">Work on the visualization node<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/calculs.univ-cotedazur.fr\/?page_id=1813&amp;lang=en#Software_to_be_used_on_the_visualization_node\" title=\"Software to be used on the visualization node\">Software to be used on the visualization node<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/calculs.univ-cotedazur.fr\/?page_id=1813&amp;lang=en#How_to_set_custom_screen_resolution\" title=\"How to set custom screen resolution\">How to set custom screen resolution<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Retrieve_the_Slurm_script\"><\/span>Retrieve the Slurm script<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Go to your home directory:<\/p>\n\n\n\n<pre class=\"wp-block-verse\">cd<\/pre>\n\n\n\n<p>Copy this folder:<\/p>\n\n\n\n<pre class=\"wp-block-verse\">cp -R \/workspace\/visu .<\/pre>\n\n\n\n<p>This folder contains a <strong>visu.slurm<\/strong> script of which you must modify lines 34 and 35 to put the name of your Slurm account and the duration of use of the visualization node (cannot exceed 24 hours). For example, if your account is math and the reservation should last 2 hours:<\/p>\n\n\n\n<pre class=\"wp-block-verse\">#SBATCH --account=math\n#SBATCH --time=02:00:00<\/pre>\n\n\n\n<h3><span class=\"ez-toc-section\" id=\"Launch_the_job\"><\/span>Launch the job<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Once visu.slurm has been modified, you can submit the job:<\/p>\n\n\n\n<pre class=\"wp-block-verse\">sbatch visu.slurm<\/pre>\n\n\n\n<p>This will create an output file into your visu folder. You can list the content of your folder using:<\/p>\n\n\n\n<pre class=\"wp-block-verse\">ll<\/pre>\n\n\n\n<p>Print the content of your output file. For instance:<\/p>\n\n\n\n<pre class=\"wp-block-verse\">cat visu-41489.out<\/pre>\n\n\n\n<p>Copy the line containing an ssh command. It comes after <strong>To setup the tunnel, run the following command from your desktop:<\/strong>. For example:<\/p>\n\n\n\n<p> ssh -L 5901:visu01:5901 user9@134.XX.XX.XX<\/p>\n\n\n\n<h3><span class=\"ez-toc-section\" id=\"Open_a_session_on_the_visualization_node\"><\/span>Open a session on the visualization node<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Open a second terminal and paste the previous ssh command. A new session opens on Azzurra.<\/p>\n\n\n\n<p>Open a VNC client, for example <a rel=\"noreferrer noopener\" href=\"https:\/\/www.tightvnc.com\/download.php\" target=\"_blank\">TightVNC<\/a>. Your output file shows the Remote Host to define \u00ab\u00a0After successful login you can access the VNC session at <strong>localhost:5901<\/strong> on your desktop\u00a0\u00bb. Type <strong>localhost:5901<\/strong> as Remote Host:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"533\" height=\"381\" src=\"https:\/\/calculs.univ-cotedazur.fr\/wp-content\/uploads\/2021\/10\/tightvnc1.png\" alt=\"\" class=\"wp-image-1765\" srcset=\"https:\/\/calculs.univ-cotedazur.fr\/wp-content\/uploads\/2021\/10\/tightvnc1.png 533w, https:\/\/calculs.univ-cotedazur.fr\/wp-content\/uploads\/2021\/10\/tightvnc1-300x214.png 300w\" sizes=\"(max-width: 533px) 100vw, 533px\" \/><\/figure>\n\n\n\n<p>Then, use the password at line 6 in your output file to log in.<\/p>\n\n\n\n<h3><span class=\"ez-toc-section\" id=\"Work_on_the_visualization_node\"><\/span>Work on the visualization node<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Once connected via VNC, a new window opens. Right click on the wallpaper and click on <strong>Open Terminal Here<\/strong> to open a terminal:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"754\" src=\"https:\/\/calculs.univ-cotedazur.fr\/wp-content\/uploads\/2025\/05\/visu1-1-1024x754.png\" alt=\"\" class=\"wp-image-3015\" srcset=\"https:\/\/calculs.univ-cotedazur.fr\/wp-content\/uploads\/2025\/05\/visu1-1-1024x754.png 1024w, https:\/\/calculs.univ-cotedazur.fr\/wp-content\/uploads\/2025\/05\/visu1-1-300x221.png 300w, https:\/\/calculs.univ-cotedazur.fr\/wp-content\/uploads\/2025\/05\/visu1-1-768x565.png 768w, https:\/\/calculs.univ-cotedazur.fr\/wp-content\/uploads\/2025\/05\/visu1-1.png 1257w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>To make sure that you use the Quadro RTX 6000 graphics card, precede the command to launch your software by <strong>vglrun<\/strong>. Example:<\/p>\n\n\n\n<pre class=\"wp-block-verse\">module load paraview\/6.0.1\nvglrun paraview<\/pre>\n\n\n\n<h3><span class=\"ez-toc-section\" id=\"Software_to_be_used_on_the_visualization_node\"><\/span>Software to be used on the visualization node<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>To be used only on the visualization node, without loading any module:<\/p>\n\n\n\n<ul><li>Gnuplot 5.4.3<\/li><li>Octave 7.3.0<\/li><li>evince (pdf viewer)<\/li><li>gthumb (png viewer)<\/li><\/ul>\n\n\n\n<p>Other visualization software available as modules:<\/p>\n\n\n\n<ul><li>vmd\/2.0.0<\/li><li>gaussview\/6.1.1<\/li><li>paraview\/5.13.3<\/li><li>paraview\/6.0.1<\/li><\/ul>\n\n\n\n<p>If you need another software to be installed, please <a href=\"https:\/\/calculs.univ-cotedazur.fr\/?page_id=463&amp;lang=en\" data-type=\"page\" data-id=\"463\">contact us<\/a>.<\/p>\n\n\n\n<h3><span class=\"ez-toc-section\" id=\"How_to_set_custom_screen_resolution\"><\/span>How to set custom screen resolution<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>By default, the resolution is 1240&#215;900 and your display&rsquo;s name is \u00ab\u00a0VNC-0\u00a0\u00bb. You can check this in the visu01 node terminal using the <strong>xrandr<\/strong> command.<\/p>\n\n\n\n<p>If you want to modify this resolution, for instance: 1920&#215;1080 and 60&nbsp;as refresh-rate:<\/p>\n\n\n\n<pre class=\"wp-block-verse\">gtf 1920 1080 60<\/pre>\n\n\n\n<p>Copy the output line starting with Modeline \u00ab\u00a01920x1080_60.00\u00a0\u00bb &#8230; Start copying at \u00ab\u00a01920x1080_60.00\u00a0\u00bb \u2026 (do not copy \u00ab&nbsp;Modeline&nbsp;\u00bb)<\/p>\n\n\n\n<p>For example, copy: <strong>\u00ab\u00a01920x1080_60.00\u00a0\u00bb&nbsp; 172.80&nbsp; 1920 2040 2248 2576&nbsp; 1080 1081 1084 1118&nbsp; -HSync +Vsync<\/strong><\/p>\n\n\n\n<p>\u00ab\u00a01920x1080_60.00\u00a0\u00bb&nbsp;is the name of your new screen resolution.<\/p>\n\n\n\n<p>Still in the terminal (do not forget to adjust these names with your own output if you chose another resolution):<\/p>\n\n\n\n<pre class=\"wp-block-verse\">xrandr --newmode \"1920x1080_60.00\"&nbsp; 172.80&nbsp; 1920 2040 2248 2576&nbsp; 1080 1081 1084 1118&nbsp; -HSync +Vsync\nxrandr --addmode VNC-0 \"1920x1080_60.00\"\nxrandr --output VNC-0 --mode \"1920x1080_60.00\"<\/pre>\n\n\n\n<p>The window should be modified automatically. You can check the new resolution with the <strong>xrandr<\/strong> command. The new resolution will be applied to the current session only.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Retrieve the Slurm script Go to your home directory: cd Copy this folder: cp -R \/workspace\/visu . This folder contains a visu.slurm script of which you must modify lines 34 and 35 to put the name of your Slurm account &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"parent":580,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/calculs.univ-cotedazur.fr\/index.php?rest_route=\/wp\/v2\/pages\/1813"}],"collection":[{"href":"https:\/\/calculs.univ-cotedazur.fr\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/calculs.univ-cotedazur.fr\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/calculs.univ-cotedazur.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/calculs.univ-cotedazur.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1813"}],"version-history":[{"count":20,"href":"https:\/\/calculs.univ-cotedazur.fr\/index.php?rest_route=\/wp\/v2\/pages\/1813\/revisions"}],"predecessor-version":[{"id":3210,"href":"https:\/\/calculs.univ-cotedazur.fr\/index.php?rest_route=\/wp\/v2\/pages\/1813\/revisions\/3210"}],"up":[{"embeddable":true,"href":"https:\/\/calculs.univ-cotedazur.fr\/index.php?rest_route=\/wp\/v2\/pages\/580"}],"wp:attachment":[{"href":"https:\/\/calculs.univ-cotedazur.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1813"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}