<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.scinet.utoronto.ca/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mponce</id>
	<title>SciNet Users Documentation - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.scinet.utoronto.ca/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mponce"/>
	<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php/Special:Contributions/Mponce"/>
	<updated>2026-05-08T20:22:02Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.12</generator>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Visualization&amp;diff=3177</id>
		<title>Visualization</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Visualization&amp;diff=3177"/>
		<updated>2021-07-30T06:28:09Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* VisIt Client-Server Configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Software Available ==&lt;br /&gt;
We have recent versions of the open source visualization suites installed on Niagara: VMD (1.9.4) is available as a module in the default NiaEnv/'''2019b''' environment. The NiaEnv/'''2018a''' environment additionally has modules for VisIt (2.13.1) and ParaView (5.5.0, and 5.6.0 for offscreen rendering only).&lt;br /&gt;
&lt;br /&gt;
Notice that for using ParaView you need to explicitly specify one of the mesa flags in order to avoid trying to use openGL, i.e.,&lt;br /&gt;
after loading the paraview module, use the following command:&lt;br /&gt;
&lt;br /&gt;
  paraview --mesa-swr&lt;br /&gt;
&lt;br /&gt;
Notice that Niagara does not have specialized nodes nor specially designated hardware for visualization, so if you want to perform interactive visualization or exploration of your data you will need to submit an interactive job (debug job, see [[https://docs.scinet.utoronto.ca/index.php/Niagara_Quickstart#Testing]]).&lt;br /&gt;
For the same reason you won't be able to request or use GPUs for rendering as there are none!&lt;br /&gt;
&lt;br /&gt;
== Interactive Visualization ==&lt;br /&gt;
Runtime is limited on the login nodes, so you will need to request a testing job in order to have more time for exploring and visualizing your data.&lt;br /&gt;
Additionally by doing so, you will have access to the 40 cores of each of the nodes requested.&lt;br /&gt;
For performing an interactive visualization session in this way please follow these steps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; ssh into niagara.scinet.utoronto.ca with the -X/-Y flag for [https://docs.scinet.utoronto.ca/index.php/SSH#X11_Forwarding X-forwarding]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; request an interactive job, ie.&amp;lt;/li&amp;gt;&lt;br /&gt;
   debugjob&lt;br /&gt;
this will connect you to a node, let's say for the argument &amp;quot;niaXYZW&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; run your favourite visualization program, eg. VisIt/ParaView &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   module load NiaEnv/2018a visit&lt;br /&gt;
   visit&lt;br /&gt;
&lt;br /&gt;
   module load NiaEnv/2018a paraview&lt;br /&gt;
   paraview --mesa-swr&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; exit the debug session.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Parallel Visualization with VisIt ==&lt;br /&gt;
In order to be able to use VisIt's parallel rendering capabilities, the following command must be issued after loading the corresponding VisIt module:&lt;br /&gt;
&lt;br /&gt;
  export  LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${SCINET_VISIT_ROOT}/2.13.1/linux-x86_64/lib&lt;br /&gt;
&lt;br /&gt;
In this case, the command is used for the visit/2.13.1 module from the NiaEnv/2018a environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Remote Visualization -- Client-Server Mode ==&lt;br /&gt;
You can use any of the remote visualization protocols supported for both VisIt and ParaView.&lt;br /&gt;
&lt;br /&gt;
Both, VisIt and ParaView, support &amp;quot;remote visualization&amp;quot; protocols.&lt;br /&gt;
This includes:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;  accessing data remotely, ie. stored on the cluster&lt;br /&gt;
&amp;lt;li&amp;gt; rendering visualizations using the compute nodes as rendering engines&lt;br /&gt;
&amp;lt;li&amp;gt; or both&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VisIt Client-Server Configuration ===&lt;br /&gt;
For allowing VisIt connect to the Niagara cluster you need to set up a &amp;quot;Host Configuration&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Choose *one* of the methods bellow:&lt;br /&gt;
&lt;br /&gt;
==== Niagara Host Configuration File ====&lt;br /&gt;
You can just download the Niagara host file, right click on the following link&lt;br /&gt;
[https://monitor.scinet.utoronto.ca/gitlab/teaching/ihpcss-2021_sciviz/-/raw/main/examples/host_niagara.xml host_niagara.xml] and select save as... &lt;br /&gt;
Depending on the OS you are using on your local machine:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; on a Linux/Mac OS place this file in &amp;lt;code&amp;gt;~/.visit/hosts/&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; on a Windows machine, place the file in  &amp;lt;code&amp;gt;My Documents\VisIt 2.13.0\hosts\&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart VisIt and check that the niagara profile should be available in your hosts.&lt;br /&gt;
&lt;br /&gt;
==== Manual Niagara Host Configuration ====&lt;br /&gt;
If you prefer to set up the verser yourself, instead of the configuration file from the previous section, just follow along these steps.&lt;br /&gt;
Open VisIt in your computer, go to the 'Options' menu, and click on &amp;quot;Host profiles...&amp;quot;&lt;br /&gt;
Then click on 'New Host' and select:&lt;br /&gt;
&lt;br /&gt;
 Host nickname = niagara&lt;br /&gt;
 Remote host name = niagara.scinet.utoronto.ca&lt;br /&gt;
 Username = Enter_Your_OWN_username_HERE&lt;br /&gt;
 Path to VisIt installation = /scinet/niagara/software/2018a/opt/base/visit/2.13.1&lt;br /&gt;
&lt;br /&gt;
Click on the &amp;quot;&amp;lt;code&amp;gt;Tunnel data connections through SSH&amp;lt;/code&amp;gt;&amp;quot;, and then hit Apply!&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
| [[File:Visit_niagara-01.png|480px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on the top of the window click on 'Launch Profiles' tab.&lt;br /&gt;
You will have to create two profiles:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;code&amp;gt;login&amp;lt;/code&amp;gt;: for connecting through the login nodes and accessing data &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;code&amp;gt;slurm&amp;lt;/code&amp;gt;: for using compute nodes as rendering engines &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
For doing so, click on 'New Profile', set the corresponding profile name, ie. login/slurm.&lt;br /&gt;
Then click on the Parallel tab and set the &amp;quot;Launch parallel engine&amp;quot;&lt;br /&gt;
&lt;br /&gt;
For the slurm profile, you will need to set the parameters as seen below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot; /&amp;gt;&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
| [[File:Visit_niagara-02.png|400px|]]&lt;br /&gt;
| [[File:Visit_niagara-03.png|400px|]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, after you are done with these changes, go to the &amp;quot;Options&amp;quot; menu and select &amp;quot;Save settings&amp;quot;, so that your changes are saved and available next time you relaunch VisIt.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Multi-node configuration in Client-Server Mode ====&lt;br /&gt;
As described in &amp;lt;a href='https://docs.scinet.utoronto.ca/index.php/Visualization#Parallel_Visualization_with_VisIt'&amp;gt;Parallel Visualization&amp;lt;/a&amp;gt;, some additional steps must be follow in order to have VisIt running in parallel across multiple nodes even when using the client-server approach.&lt;br /&gt;
For that the simplest way to achieve this is to add the following lines to your &amp;lt;code&amp;gt;.bashrc&amp;lt;/code&amp;gt; file:&lt;br /&gt;
&lt;br /&gt;
  # load needed modules&lt;br /&gt;
  module load NiaEnv/2018a&lt;br /&gt;
  module load intel/2018.2 intelmpi/2018.2 &lt;br /&gt;
  module load visit&lt;br /&gt;
  # adjust LD_LIBRARY_PATH for VisIt&lt;br /&gt;
  export  LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${SCINET_VISIT_ROOT}/2.13.1/linux-x86_64/lib&lt;br /&gt;
&lt;br /&gt;
=== ParaView Client-Server Configuration ===&lt;br /&gt;
Similarly to VisIt you will need to start a &amp;lt;code&amp;gt;debugjob&amp;lt;/code&amp;gt; in order to use a compute node to files and compute resources.&lt;br /&gt;
Here are the steps to follow:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Launch an interactive job (debugjob) on Niagara,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  debugjob&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; After getting a compute node, let's say niaXYZW, load the ParaView &amp;quot;offscreen&amp;quot; module and start a ParaView server,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  module load NiaEnv/2018a paraview-offscreen/5.6.0&lt;br /&gt;
  pvserver --mesa-swr-avx2&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;--mesa-swr-avx2&amp;lt;/code&amp;gt; flag has been reported to offer faster software rendering using the OpenSWR library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Now, you have to wait a few seconds for the server to be ready to accept client connections.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  Waiting for client...&lt;br /&gt;
  Connection URL: cs://niaXYZW.scinet.local:11111&lt;br /&gt;
  Accepting connection(s): niaXYZW.scinet.local:11111&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Open a new terminal without closing your debugjob, and ssh into Niagara using the following command,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  ssh YOURusername@niagara.scinet.utoronto.ca -L11111:niaXYZW:11111 -N&lt;br /&gt;
&lt;br /&gt;
this will establish a tunnel mapping the port 11111 in your computer (&amp;lt;code&amp;gt;localhost&amp;lt;/code&amp;gt;) to the port 11111 on the Niagara's compute node, &amp;lt;code&amp;gt;niaXYZW&amp;lt;/code&amp;gt;, where the ParaView server will be waiting for connections.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Start ParaView on your local computer, go to &amp;quot;File -&amp;gt; Connect&amp;quot; and click on 'Add Server'.&lt;br /&gt;
You will need to point ParaView to your local port &amp;lt;code&amp;gt;11111&amp;lt;/code&amp;gt;, so you can do something like&amp;lt;/li&amp;gt;&lt;br /&gt;
 name = niagara&lt;br /&gt;
 server type = Client/Server&lt;br /&gt;
 host = localhost&lt;br /&gt;
 port = 11111&lt;br /&gt;
then click Configure, select &amp;lt;code&amp;gt;Manual&amp;lt;/code&amp;gt; and click Save.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Once the remote server is added to the configuration, simply select the server from the list and click Connect.&lt;br /&gt;
The first terminal window that read &amp;lt;code&amp;gt;Accepting connection...&amp;lt;/code&amp;gt; will now read &amp;lt;code&amp;gt;Client connected&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Open a file in ParaView (it will point you to the remote filesystem) and visualize it as usual.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Multiple CPUs ====&lt;br /&gt;
For performing parallel rendering using multiple CPUs, &amp;lt;code&amp;gt;pvserver&amp;lt;/code&amp;gt; should be run using &amp;lt;code&amp;gt;mpiexec&amp;lt;/code&amp;gt;, ie. either submit a job script or request a job using&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt; salloc --ntasks=N*40 --nodes=N --time=1:00:00&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  module load NiaEnv/2018a paraview-offscreen/5.6.0&lt;br /&gt;
  mpiexec pvserver --mesa-swr-avx2&lt;br /&gt;
&lt;br /&gt;
=== Final Considerations ===&lt;br /&gt;
Usually both VisIt and ParaView require to use the same version between the local client and the remote host, please try to stick to that to avoid having incompatibility issues, which might result in potential problems during the connections.&lt;br /&gt;
&lt;br /&gt;
== Batch mode and Scripting ==&lt;br /&gt;
Both, VisIt and ParaView, allow for batch processing using scripting in different languages.&lt;br /&gt;
&lt;br /&gt;
=== VisIt ===&lt;br /&gt;
In order to run or launch the Python interpreter for VisIt, you will need to execute the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; visit -cli -no-win -norun engine_par &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the 'engine_par' flag is needed in order to run the visualization engine in parallel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to execute scripts in batch mode, use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; visit -cli -no-win -norun engine_par  -s scriptName.py&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that for running in parallel, in addition to loading the VisIt module, an mpi  module should also be loaded.&lt;br /&gt;
Eg.&lt;br /&gt;
&lt;br /&gt;
   module load NiaEnv/2018a&lt;br /&gt;
   module load visit&lt;br /&gt;
   module load intel/2018.2 intelmpi/2018.2 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, if one wants to assign resources from the cluster just from within the script one should add the following line to the script&lt;br /&gt;
&lt;br /&gt;
   OpenComputeEngine(&amp;quot;localhost&amp;quot;, (&amp;quot;-l&amp;quot;, &amp;quot;srun&amp;quot;, &amp;quot;-np&amp;quot;, &amp;quot;40&amp;quot;))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=ParallelPorting#Making_sure_you_actually_have_a_parallel_engine https://www.visitusers.org/index.php?title=ParallelPorting#Making_sure_you_actually_have_a_parallel_engine]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=VisIt-tutorial-Python-scripting https://www.visitusers.org/index.php?title=VisIt-tutorial-Python-scripting]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=Python_examples https://www.visitusers.org/index.php?title=Python_examples]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=VisIt-tutorial-Advanced-scripting https://www.visitusers.org/index.php?title=VisIt-tutorial-Advanced-scripting]&lt;br /&gt;
&lt;br /&gt;
=== ParaView ===&lt;br /&gt;
ParaView offers a python interpreter &amp;lt;code&amp;gt;pvbatch&amp;lt;/code&amp;gt; to use &lt;br /&gt;
&lt;br /&gt;
 pvbatch --mesa-swr-avx2 --force-offscreen-rendering scriptName.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.paraview.org/Wiki/ParaView_and_Batch https://www.paraview.org/Wiki/ParaView_and_Batch]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.paraview.org/Wiki/ParaView/Python_Scripting https://www.paraview.org/Wiki/ParaView/Python_Scripting]&lt;br /&gt;
&lt;br /&gt;
== Other Versions ==&lt;br /&gt;
Alternatively you can try to use the visualization modules available on the CCEnv stack, for doing so just load the CCEnv module and select your favourite visualization module.&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Visualization&amp;diff=3176</id>
		<title>Visualization</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Visualization&amp;diff=3176"/>
		<updated>2021-07-30T06:25:37Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* Remote Visualization -- Client-Server Mode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Software Available ==&lt;br /&gt;
We have recent versions of the open source visualization suites installed on Niagara: VMD (1.9.4) is available as a module in the default NiaEnv/'''2019b''' environment. The NiaEnv/'''2018a''' environment additionally has modules for VisIt (2.13.1) and ParaView (5.5.0, and 5.6.0 for offscreen rendering only).&lt;br /&gt;
&lt;br /&gt;
Notice that for using ParaView you need to explicitly specify one of the mesa flags in order to avoid trying to use openGL, i.e.,&lt;br /&gt;
after loading the paraview module, use the following command:&lt;br /&gt;
&lt;br /&gt;
  paraview --mesa-swr&lt;br /&gt;
&lt;br /&gt;
Notice that Niagara does not have specialized nodes nor specially designated hardware for visualization, so if you want to perform interactive visualization or exploration of your data you will need to submit an interactive job (debug job, see [[https://docs.scinet.utoronto.ca/index.php/Niagara_Quickstart#Testing]]).&lt;br /&gt;
For the same reason you won't be able to request or use GPUs for rendering as there are none!&lt;br /&gt;
&lt;br /&gt;
== Interactive Visualization ==&lt;br /&gt;
Runtime is limited on the login nodes, so you will need to request a testing job in order to have more time for exploring and visualizing your data.&lt;br /&gt;
Additionally by doing so, you will have access to the 40 cores of each of the nodes requested.&lt;br /&gt;
For performing an interactive visualization session in this way please follow these steps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; ssh into niagara.scinet.utoronto.ca with the -X/-Y flag for [https://docs.scinet.utoronto.ca/index.php/SSH#X11_Forwarding X-forwarding]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; request an interactive job, ie.&amp;lt;/li&amp;gt;&lt;br /&gt;
   debugjob&lt;br /&gt;
this will connect you to a node, let's say for the argument &amp;quot;niaXYZW&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; run your favourite visualization program, eg. VisIt/ParaView &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   module load NiaEnv/2018a visit&lt;br /&gt;
   visit&lt;br /&gt;
&lt;br /&gt;
   module load NiaEnv/2018a paraview&lt;br /&gt;
   paraview --mesa-swr&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; exit the debug session.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Parallel Visualization with VisIt ==&lt;br /&gt;
In order to be able to use VisIt's parallel rendering capabilities, the following command must be issued after loading the corresponding VisIt module:&lt;br /&gt;
&lt;br /&gt;
  export  LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${SCINET_VISIT_ROOT}/2.13.1/linux-x86_64/lib&lt;br /&gt;
&lt;br /&gt;
In this case, the command is used for the visit/2.13.1 module from the NiaEnv/2018a environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Remote Visualization -- Client-Server Mode ==&lt;br /&gt;
You can use any of the remote visualization protocols supported for both VisIt and ParaView.&lt;br /&gt;
&lt;br /&gt;
Both, VisIt and ParaView, support &amp;quot;remote visualization&amp;quot; protocols.&lt;br /&gt;
This includes:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;  accessing data remotely, ie. stored on the cluster&lt;br /&gt;
&amp;lt;li&amp;gt; rendering visualizations using the compute nodes as rendering engines&lt;br /&gt;
&amp;lt;li&amp;gt; or both&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VisIt Client-Server Configuration ===&lt;br /&gt;
For allowing VisIt connect to the Niagara cluster you need to set up a &amp;quot;Host Configuration&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Choose *one* of the methods bellow:&lt;br /&gt;
&lt;br /&gt;
==== Niagara Host Configuration File ====&lt;br /&gt;
You can just download the Niagara host file, right click on the following link&lt;br /&gt;
[https://monitor.scinet.utoronto.ca/gitlab/teaching/ihpcss-2021_sciviz/-/raw/main/examples/host_niagara.xml host_niagara.xml] and select save as... &lt;br /&gt;
Depending on the OS you are using on your local machine:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; on a Linux/Mac OS place this file in &amp;lt;code&amp;gt;~/.visit/hosts/&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; on a Windows machine, place the file in  &amp;lt;code&amp;gt;My Documents\VisIt 2.13.0\hosts\&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart VisIt and check that the niagara profile should be available in your hosts.&lt;br /&gt;
&lt;br /&gt;
==== Manual Niagara Host Configuration ====&lt;br /&gt;
If you prefer to set up the verser yourself, instead of the configuration file from the previous section, just follow along these steps.&lt;br /&gt;
Open VisIt in your computer, go to the 'Options' menu, and click on &amp;quot;Host profiles...&amp;quot;&lt;br /&gt;
Then click on 'New Host' and select:&lt;br /&gt;
&lt;br /&gt;
 Host nickname = niagara&lt;br /&gt;
 Remote host name = niagara.scinet.utoronto.ca&lt;br /&gt;
 Username = Enter_Your_OWN_username_HERE&lt;br /&gt;
 Path to VisIt installation = /scinet/niagara/software/2018a/opt/base/visit/2.13.1&lt;br /&gt;
&lt;br /&gt;
Click on the &amp;quot;&amp;lt;code&amp;gt;Tunnel data connections through SSH&amp;lt;/code&amp;gt;&amp;quot;, and then hit Apply!&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
| [[File:Visit_niagara-01.png|480px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on the top of the window click on 'Launch Profiles' tab.&lt;br /&gt;
You will have to create two profiles:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;code&amp;gt;login&amp;lt;/code&amp;gt;: for connecting through the login nodes and accessing data &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;code&amp;gt;slurm&amp;lt;/code&amp;gt;: for using compute nodes as rendering engines &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
For doing so, click on 'New Profile', set the corresponding profile name, ie. login/slurm.&lt;br /&gt;
Then click on the Parallel tab and set the &amp;quot;Launch parallel engine&amp;quot;&lt;br /&gt;
&lt;br /&gt;
For the slurm profile, you will need to set the parameters as seen below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot; /&amp;gt;&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
| [[File:Visit_niagara-02.png|400px|]]&lt;br /&gt;
| [[File:Visit_niagara-03.png|400px|]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, after you are done with these changes, go to the &amp;quot;Options&amp;quot; menu and select &amp;quot;Save settings&amp;quot;, so that your changes are saved and available next time you relaunch VisIt.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Multi-node configuration in Client-Server Mode ====&lt;br /&gt;
As described in XXX, some additional steps must be follow in order to have VisIt running in parallel across multiple nodes even when using the client-server approach.&lt;br /&gt;
For that the simplest way to achieve this is to add the following lines to your &amp;lt;code&amp;gt;.bashrc&amp;lt;/code&amp;gt; file:&lt;br /&gt;
&lt;br /&gt;
  module load NiaEnv/2018a&lt;br /&gt;
  module load intel/2018.2 intelmpi/2018.2 &lt;br /&gt;
  module load visit&lt;br /&gt;
&lt;br /&gt;
  export  LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${SCINET_VISIT_ROOT}/2.13.1/linux-x86_64/lib&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== ParaView Client-Server Configuration ===&lt;br /&gt;
Similarly to VisIt you will need to start a &amp;lt;code&amp;gt;debugjob&amp;lt;/code&amp;gt; in order to use a compute node to files and compute resources.&lt;br /&gt;
Here are the steps to follow:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Launch an interactive job (debugjob) on Niagara,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  debugjob&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; After getting a compute node, let's say niaXYZW, load the ParaView &amp;quot;offscreen&amp;quot; module and start a ParaView server,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  module load NiaEnv/2018a paraview-offscreen/5.6.0&lt;br /&gt;
  pvserver --mesa-swr-avx2&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;--mesa-swr-avx2&amp;lt;/code&amp;gt; flag has been reported to offer faster software rendering using the OpenSWR library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Now, you have to wait a few seconds for the server to be ready to accept client connections.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  Waiting for client...&lt;br /&gt;
  Connection URL: cs://niaXYZW.scinet.local:11111&lt;br /&gt;
  Accepting connection(s): niaXYZW.scinet.local:11111&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Open a new terminal without closing your debugjob, and ssh into Niagara using the following command,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  ssh YOURusername@niagara.scinet.utoronto.ca -L11111:niaXYZW:11111 -N&lt;br /&gt;
&lt;br /&gt;
this will establish a tunnel mapping the port 11111 in your computer (&amp;lt;code&amp;gt;localhost&amp;lt;/code&amp;gt;) to the port 11111 on the Niagara's compute node, &amp;lt;code&amp;gt;niaXYZW&amp;lt;/code&amp;gt;, where the ParaView server will be waiting for connections.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Start ParaView on your local computer, go to &amp;quot;File -&amp;gt; Connect&amp;quot; and click on 'Add Server'.&lt;br /&gt;
You will need to point ParaView to your local port &amp;lt;code&amp;gt;11111&amp;lt;/code&amp;gt;, so you can do something like&amp;lt;/li&amp;gt;&lt;br /&gt;
 name = niagara&lt;br /&gt;
 server type = Client/Server&lt;br /&gt;
 host = localhost&lt;br /&gt;
 port = 11111&lt;br /&gt;
then click Configure, select &amp;lt;code&amp;gt;Manual&amp;lt;/code&amp;gt; and click Save.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Once the remote server is added to the configuration, simply select the server from the list and click Connect.&lt;br /&gt;
The first terminal window that read &amp;lt;code&amp;gt;Accepting connection...&amp;lt;/code&amp;gt; will now read &amp;lt;code&amp;gt;Client connected&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Open a file in ParaView (it will point you to the remote filesystem) and visualize it as usual.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Multiple CPUs ====&lt;br /&gt;
For performing parallel rendering using multiple CPUs, &amp;lt;code&amp;gt;pvserver&amp;lt;/code&amp;gt; should be run using &amp;lt;code&amp;gt;mpiexec&amp;lt;/code&amp;gt;, ie. either submit a job script or request a job using&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt; salloc --ntasks=N*40 --nodes=N --time=1:00:00&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  module load NiaEnv/2018a paraview-offscreen/5.6.0&lt;br /&gt;
  mpiexec pvserver --mesa-swr-avx2&lt;br /&gt;
&lt;br /&gt;
=== Final Considerations ===&lt;br /&gt;
Usually both VisIt and ParaView require to use the same version between the local client and the remote host, please try to stick to that to avoid having incompatibility issues, which might result in potential problems during the connections.&lt;br /&gt;
&lt;br /&gt;
== Batch mode and Scripting ==&lt;br /&gt;
Both, VisIt and ParaView, allow for batch processing using scripting in different languages.&lt;br /&gt;
&lt;br /&gt;
=== VisIt ===&lt;br /&gt;
In order to run or launch the Python interpreter for VisIt, you will need to execute the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; visit -cli -no-win -norun engine_par &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the 'engine_par' flag is needed in order to run the visualization engine in parallel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to execute scripts in batch mode, use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; visit -cli -no-win -norun engine_par  -s scriptName.py&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that for running in parallel, in addition to loading the VisIt module, an mpi  module should also be loaded.&lt;br /&gt;
Eg.&lt;br /&gt;
&lt;br /&gt;
   module load NiaEnv/2018a&lt;br /&gt;
   module load visit&lt;br /&gt;
   module load intel/2018.2 intelmpi/2018.2 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, if one wants to assign resources from the cluster just from within the script one should add the following line to the script&lt;br /&gt;
&lt;br /&gt;
   OpenComputeEngine(&amp;quot;localhost&amp;quot;, (&amp;quot;-l&amp;quot;, &amp;quot;srun&amp;quot;, &amp;quot;-np&amp;quot;, &amp;quot;40&amp;quot;))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=ParallelPorting#Making_sure_you_actually_have_a_parallel_engine https://www.visitusers.org/index.php?title=ParallelPorting#Making_sure_you_actually_have_a_parallel_engine]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=VisIt-tutorial-Python-scripting https://www.visitusers.org/index.php?title=VisIt-tutorial-Python-scripting]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=Python_examples https://www.visitusers.org/index.php?title=Python_examples]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=VisIt-tutorial-Advanced-scripting https://www.visitusers.org/index.php?title=VisIt-tutorial-Advanced-scripting]&lt;br /&gt;
&lt;br /&gt;
=== ParaView ===&lt;br /&gt;
ParaView offers a python interpreter &amp;lt;code&amp;gt;pvbatch&amp;lt;/code&amp;gt; to use &lt;br /&gt;
&lt;br /&gt;
 pvbatch --mesa-swr-avx2 --force-offscreen-rendering scriptName.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.paraview.org/Wiki/ParaView_and_Batch https://www.paraview.org/Wiki/ParaView_and_Batch]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.paraview.org/Wiki/ParaView/Python_Scripting https://www.paraview.org/Wiki/ParaView/Python_Scripting]&lt;br /&gt;
&lt;br /&gt;
== Other Versions ==&lt;br /&gt;
Alternatively you can try to use the visualization modules available on the CCEnv stack, for doing so just load the CCEnv module and select your favourite visualization module.&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Visualization&amp;diff=3175</id>
		<title>Visualization</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Visualization&amp;diff=3175"/>
		<updated>2021-07-29T04:28:14Z</updated>

		<summary type="html">&lt;p&gt;Mponce: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Software Available ==&lt;br /&gt;
We have recent versions of the open source visualization suites installed on Niagara: VMD (1.9.4) is available as a module in the default NiaEnv/'''2019b''' environment. The NiaEnv/'''2018a''' environment additionally has modules for VisIt (2.13.1) and ParaView (5.5.0, and 5.6.0 for offscreen rendering only).&lt;br /&gt;
&lt;br /&gt;
Notice that for using ParaView you need to explicitly specify one of the mesa flags in order to avoid trying to use openGL, i.e.,&lt;br /&gt;
after loading the paraview module, use the following command:&lt;br /&gt;
&lt;br /&gt;
  paraview --mesa-swr&lt;br /&gt;
&lt;br /&gt;
Notice that Niagara does not have specialized nodes nor specially designated hardware for visualization, so if you want to perform interactive visualization or exploration of your data you will need to submit an interactive job (debug job, see [[https://docs.scinet.utoronto.ca/index.php/Niagara_Quickstart#Testing]]).&lt;br /&gt;
For the same reason you won't be able to request or use GPUs for rendering as there are none!&lt;br /&gt;
&lt;br /&gt;
== Interactive Visualization ==&lt;br /&gt;
Runtime is limited on the login nodes, so you will need to request a testing job in order to have more time for exploring and visualizing your data.&lt;br /&gt;
Additionally by doing so, you will have access to the 40 cores of each of the nodes requested.&lt;br /&gt;
For performing an interactive visualization session in this way please follow these steps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; ssh into niagara.scinet.utoronto.ca with the -X/-Y flag for [https://docs.scinet.utoronto.ca/index.php/SSH#X11_Forwarding X-forwarding]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; request an interactive job, ie.&amp;lt;/li&amp;gt;&lt;br /&gt;
   debugjob&lt;br /&gt;
this will connect you to a node, let's say for the argument &amp;quot;niaXYZW&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; run your favourite visualization program, eg. VisIt/ParaView &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   module load NiaEnv/2018a visit&lt;br /&gt;
   visit&lt;br /&gt;
&lt;br /&gt;
   module load NiaEnv/2018a paraview&lt;br /&gt;
   paraview --mesa-swr&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; exit the debug session.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Parallel Visualization with VisIt ==&lt;br /&gt;
In order to be able to use VisIt's parallel rendering capabilities, the following command must be issued after loading the corresponding VisIt module:&lt;br /&gt;
&lt;br /&gt;
  export  LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${SCINET_VISIT_ROOT}/2.13.1/linux-x86_64/lib&lt;br /&gt;
&lt;br /&gt;
In this case, the command is used for the visit/2.13.1 module from the NiaEnv/2018a environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Remote Visualization -- Client-Server Mode ==&lt;br /&gt;
You can use any of the remote visualization protocols supported for both VisIt and ParaView.&lt;br /&gt;
&lt;br /&gt;
Both, VisIt and ParaView, support &amp;quot;remote visualization&amp;quot; protocols.&lt;br /&gt;
This includes:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;  accessing data remotely, ie. stored on the cluster&lt;br /&gt;
&amp;lt;li&amp;gt; rendering visualizations using the compute nodes as rendering engines&lt;br /&gt;
&amp;lt;li&amp;gt; or both&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VisIt Client-Server Configuration ===&lt;br /&gt;
For allowing VisIt connect to the Niagara cluster you need to set up a &amp;quot;Host Configuration&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Choose *one* of the methods bellow:&lt;br /&gt;
&lt;br /&gt;
====Niagara Host Configuration File====&lt;br /&gt;
You can just download the Niagara host file, right click on the following link&lt;br /&gt;
[https://monitor.scinet.utoronto.ca/gitlab/teaching/ihpcss-2021_sciviz/-/raw/main/examples/host_niagara.xml host_niagara.xml] and select save as... &lt;br /&gt;
Depending on the OS you are using on your local machine:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; on a Linux/Mac OS place this file in &amp;lt;code&amp;gt;~/.visit/hosts/&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; on a Windows machine, place the file in  &amp;lt;code&amp;gt;My Documents\VisIt 2.13.0\hosts\&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart VisIt and check that the niagara profile should be available in your hosts.&lt;br /&gt;
&lt;br /&gt;
====Manual Niagara Host Configuration====&lt;br /&gt;
If you prefer to set up the verser yourself, instead of the configuration file from the previous section, just follow along these steps.&lt;br /&gt;
Open VisIt in your computer, go to the 'Options' menu, and click on &amp;quot;Host profiles...&amp;quot;&lt;br /&gt;
Then click on 'New Host' and select:&lt;br /&gt;
&lt;br /&gt;
 Host nickname = niagara&lt;br /&gt;
 Remote host name = niagara.scinet.utoronto.ca&lt;br /&gt;
 Username = Enter_Your_OWN_username_HERE&lt;br /&gt;
 Path to VisIt installation = /scinet/niagara/software/2018a/opt/base/visit/2.13.1&lt;br /&gt;
&lt;br /&gt;
Click on the &amp;quot;&amp;lt;code&amp;gt;Tunnel data connections through SSH&amp;lt;/code&amp;gt;&amp;quot;, and then hit Apply!&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
| [[File:Visit_niagara-01.png|480px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on the top of the window click on 'Launch Profiles' tab.&lt;br /&gt;
You will have to create two profiles:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;code&amp;gt;login&amp;lt;/code&amp;gt;: for connecting through the login nodes and accessing data &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;code&amp;gt;slurm&amp;lt;/code&amp;gt;: for using compute nodes as rendering engines &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
For doing so, click on 'New Profile', set the corresponding profile name, ie. login/slurm.&lt;br /&gt;
Then click on the Parallel tab and set the &amp;quot;Launch parallel engine&amp;quot;&lt;br /&gt;
&lt;br /&gt;
For the slurm profile, you will need to set the parameters as seen below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot; /&amp;gt;&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
| [[File:Visit_niagara-02.png|400px|]]&lt;br /&gt;
| [[File:Visit_niagara-03.png|400px|]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, after you are done with these changes, go to the &amp;quot;Options&amp;quot; menu and select &amp;quot;Save settings&amp;quot;, so that your changes are saved and available next time you relaunch VisIt.&lt;br /&gt;
&lt;br /&gt;
=== ParaView Client-Server Configuration ===&lt;br /&gt;
Similarly to VisIt you will need to start a &amp;lt;code&amp;gt;debugjob&amp;lt;/code&amp;gt; in order to use a compute node to files and compute resources.&lt;br /&gt;
Here are the steps to follow:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Launch an interactive job (debugjob) on Niagara,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  debugjob&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; After getting a compute node, let's say niaXYZW, load the ParaView &amp;quot;offscreen&amp;quot; module and start a ParaView server,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  module load NiaEnv/2018a paraview-offscreen/5.6.0&lt;br /&gt;
  pvserver --mesa-swr-avx2&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;--mesa-swr-avx2&amp;lt;/code&amp;gt; flag has been reported to offer faster software rendering using the OpenSWR library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Now, you have to wait a few seconds for the server to be ready to accept client connections.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  Waiting for client...&lt;br /&gt;
  Connection URL: cs://niaXYZW.scinet.local:11111&lt;br /&gt;
  Accepting connection(s): niaXYZW.scinet.local:11111&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Open a new terminal without closing your debugjob, and ssh into Niagara using the following command,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  ssh YOURusername@niagara.scinet.utoronto.ca -L11111:niaXYZW:11111 -N&lt;br /&gt;
&lt;br /&gt;
this will establish a tunnel mapping the port 11111 in your computer (&amp;lt;code&amp;gt;localhost&amp;lt;/code&amp;gt;) to the port 11111 on the Niagara's compute node, &amp;lt;code&amp;gt;niaXYZW&amp;lt;/code&amp;gt;, where the ParaView server will be waiting for connections.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Start ParaView on your local computer, go to &amp;quot;File -&amp;gt; Connect&amp;quot; and click on 'Add Server'.&lt;br /&gt;
You will need to point ParaView to your local port &amp;lt;code&amp;gt;11111&amp;lt;/code&amp;gt;, so you can do something like&amp;lt;/li&amp;gt;&lt;br /&gt;
 name = niagara&lt;br /&gt;
 server type = Client/Server&lt;br /&gt;
 host = localhost&lt;br /&gt;
 port = 11111&lt;br /&gt;
then click Configure, select &amp;lt;code&amp;gt;Manual&amp;lt;/code&amp;gt; and click Save.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Once the remote server is added to the configuration, simply select the server from the list and click Connect.&lt;br /&gt;
The first terminal window that read &amp;lt;code&amp;gt;Accepting connection...&amp;lt;/code&amp;gt; will now read &amp;lt;code&amp;gt;Client connected&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Open a file in ParaView (it will point you to the remote filesystem) and visualize it as usual.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multiple CPUs====&lt;br /&gt;
For performing parallel rendering using multiple CPUs, &amp;lt;code&amp;gt;pvserver&amp;lt;/code&amp;gt; should be run using &amp;lt;code&amp;gt;mpiexec&amp;lt;/code&amp;gt;, ie. either submit a job script or request a job using&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt; salloc --ntasks=N*40 --nodes=N --time=1:00:00&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  module load NiaEnv/2018a paraview-offscreen/5.6.0&lt;br /&gt;
  mpiexec pvserver --mesa-swr-avx2&lt;br /&gt;
&lt;br /&gt;
=== Final Considerations ===&lt;br /&gt;
Usually both VisIt and ParaView require to use the same version between the local client and the remote host, please try to stick to that to avoid having incompatibility issues, which might result in potential problems during the connections.&lt;br /&gt;
&lt;br /&gt;
== Batch mode and Scripting ==&lt;br /&gt;
Both, VisIt and ParaView, allow for batch processing using scripting in different languages.&lt;br /&gt;
&lt;br /&gt;
=== VisIt ===&lt;br /&gt;
In order to run or launch the Python interpreter for VisIt, you will need to execute the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; visit -cli -no-win -norun engine_par &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the 'engine_par' flag is needed in order to run the visualization engine in parallel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to execute scripts in batch mode, use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; visit -cli -no-win -norun engine_par  -s scriptName.py&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that for running in parallel, in addition to loading the VisIt module, an mpi  module should also be loaded.&lt;br /&gt;
Eg.&lt;br /&gt;
&lt;br /&gt;
   module load NiaEnv/2018a&lt;br /&gt;
   module load visit&lt;br /&gt;
   module load intel/2018.2 intelmpi/2018.2 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, if one wants to assign resources from the cluster just from within the script one should add the following line to the script&lt;br /&gt;
&lt;br /&gt;
   OpenComputeEngine(&amp;quot;localhost&amp;quot;, (&amp;quot;-l&amp;quot;, &amp;quot;srun&amp;quot;, &amp;quot;-np&amp;quot;, &amp;quot;40&amp;quot;))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=ParallelPorting#Making_sure_you_actually_have_a_parallel_engine https://www.visitusers.org/index.php?title=ParallelPorting#Making_sure_you_actually_have_a_parallel_engine]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=VisIt-tutorial-Python-scripting https://www.visitusers.org/index.php?title=VisIt-tutorial-Python-scripting]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=Python_examples https://www.visitusers.org/index.php?title=Python_examples]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=VisIt-tutorial-Advanced-scripting https://www.visitusers.org/index.php?title=VisIt-tutorial-Advanced-scripting]&lt;br /&gt;
&lt;br /&gt;
=== ParaView ===&lt;br /&gt;
ParaView offers a python interpreter &amp;lt;code&amp;gt;pvbatch&amp;lt;/code&amp;gt; to use &lt;br /&gt;
&lt;br /&gt;
 pvbatch --mesa-swr-avx2 --force-offscreen-rendering scriptName.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.paraview.org/Wiki/ParaView_and_Batch https://www.paraview.org/Wiki/ParaView_and_Batch]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.paraview.org/Wiki/ParaView/Python_Scripting https://www.paraview.org/Wiki/ParaView/Python_Scripting]&lt;br /&gt;
&lt;br /&gt;
== Other Versions ==&lt;br /&gt;
Alternatively you can try to use the visualization modules available on the CCEnv stack, for doing so just load the CCEnv module and select your favourite visualization module.&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Visualization&amp;diff=3174</id>
		<title>Visualization</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Visualization&amp;diff=3174"/>
		<updated>2021-07-29T04:26:54Z</updated>

		<summary type="html">&lt;p&gt;Mponce: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Software Available ==&lt;br /&gt;
We have recent versions of the open source visualization suites installed on Niagara: VMD (1.9.4) is available as a module in the default NiaEnv/'''2019b''' environment. The NiaEnv/'''2018a''' environment additionally has modules for VisIt (2.13.1) and ParaView (5.5.0, and 5.6.0 for offscreen rendering only).&lt;br /&gt;
&lt;br /&gt;
Notice that for using ParaView you need to explicitly specify one of the mesa flags in order to avoid trying to use openGL, i.e.,&lt;br /&gt;
after loading the paraview module, use the following command:&lt;br /&gt;
&lt;br /&gt;
  paraview --mesa-swr&lt;br /&gt;
&lt;br /&gt;
Notice that Niagara does not have specialized nodes nor specially designated hardware for visualization, so if you want to perform interactive visualization or exploration of your data you will need to submit an interactive job (debug job, see [[https://docs.scinet.utoronto.ca/index.php/Niagara_Quickstart#Testing]]).&lt;br /&gt;
For the same reason you won't be able to request or use GPUs for rendering as there are none!&lt;br /&gt;
&lt;br /&gt;
== Interactive Visualization ==&lt;br /&gt;
Runtime is limited on the login nodes, so you will need to request a testing job in order to have more time for exploring and visualizing your data.&lt;br /&gt;
Additionally by doing so, you will have access to the 40 cores of each of the nodes requested.&lt;br /&gt;
For performing an interactive visualization session in this way please follow these steps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; ssh into niagara.scinet.utoronto.ca with the -X/-Y flag for [https://docs.scinet.utoronto.ca/index.php/SSH#X11_Forwarding X-forwarding]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; request an interactive job, ie.&amp;lt;/li&amp;gt;&lt;br /&gt;
   debugjob&lt;br /&gt;
this will connect you to a node, let's say for the argument &amp;quot;niaXYZW&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; run your favourite visualization program, eg. VisIt/ParaView &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   module load NiaEnv/2018a visit&lt;br /&gt;
   visit&lt;br /&gt;
&lt;br /&gt;
   module load NiaEnv/2018a paraview&lt;br /&gt;
   paraview --mesa-swr&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; exit the debug session.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Parallel Visualization with VisIt ==&lt;br /&gt;
In order to be able to use VisIt's parallel rendering capabilities, the following command must be issued after loading the corresponding VisIt module:&lt;br /&gt;
&lt;br /&gt;
  export  LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${SCINET_VISIT_ROOT}/2.13.1/linux-x86_64/lib&lt;br /&gt;
&lt;br /&gt;
In this case, the command is used for the visit/2.13.1 module from the NiaEnv/2018a environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Remote Visualization -- Client-Server Mode ==&lt;br /&gt;
You can use any of the remote visualization protocols supported for both VisIt and ParaView.&lt;br /&gt;
&lt;br /&gt;
Both, VisIt and ParaView, support &amp;quot;remote visualization&amp;quot; protocols.&lt;br /&gt;
This includes:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;  accessing data remotely, ie. stored on the cluster&lt;br /&gt;
&amp;lt;li&amp;gt; rendering visualizations using the compute nodes as rendering engines&lt;br /&gt;
&amp;lt;li&amp;gt; or both&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VisIt Client-Server Configuration ===&lt;br /&gt;
For allowing VisIt connect to the Niagara cluster you need to set up a &amp;quot;Host Configuration&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Choose *one* of the methods bellow:&lt;br /&gt;
&lt;br /&gt;
====Niagara Host Configuration File====&lt;br /&gt;
You can just download the Niagara host file, right click on the following link&lt;br /&gt;
[https://monitor.scinet.utoronto.ca/gitlab/teaching/ihpcss-2021_sciviz/-/raw/main/examples/host_niagara.xml|host_niagara.xml] and select save as... &lt;br /&gt;
Depending on the OS you are using on your local machine:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; on a Linux/Mac OS place this file in &amp;lt;code&amp;gt;~/.visit/hosts/&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; on a Windows machine, place the file in  &amp;lt;code&amp;gt;My Documents\VisIt 2.13.0\hosts\&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart VisIt and check that the niagara profile should be available in your hosts.&lt;br /&gt;
&lt;br /&gt;
====Manual Niagara Host Configuration====&lt;br /&gt;
If you prefer to set up the verser yourself, instead of the configuration file from the previous section, just follow along these steps.&lt;br /&gt;
Open VisIt in your computer, go to the 'Options' menu, and click on &amp;quot;Host profiles...&amp;quot;&lt;br /&gt;
Then click on 'New Host' and select:&lt;br /&gt;
&lt;br /&gt;
 Host nickname = niagara&lt;br /&gt;
 Remote host name = niagara.scinet.utoronto.ca&lt;br /&gt;
 Username = Enter_Your_OWN_username_HERE&lt;br /&gt;
 Path to VisIt installation = /scinet/niagara/software/2018a/opt/base/visit/2.13.1&lt;br /&gt;
&lt;br /&gt;
Click on the &amp;quot;&amp;lt;code&amp;gt;Tunnel data connections through SSH&amp;lt;/code&amp;gt;&amp;quot;, and then hit Apply!&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
| [[File:Visit_niagara-01.png|480px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on the top of the window click on 'Launch Profiles' tab.&lt;br /&gt;
You will have to create two profiles:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;code&amp;gt;login&amp;lt;/code&amp;gt;: for connecting through the login nodes and accessing data &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;code&amp;gt;slurm&amp;lt;/code&amp;gt;: for using compute nodes as rendering engines &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
For doing so, click on 'New Profile', set the corresponding profile name, ie. login/slurm.&lt;br /&gt;
Then click on the Parallel tab and set the &amp;quot;Launch parallel engine&amp;quot;&lt;br /&gt;
&lt;br /&gt;
For the slurm profile, you will need to set the parameters as seen below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot; /&amp;gt;&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
| [[File:Visit_niagara-02.png|400px|]]&lt;br /&gt;
| [[File:Visit_niagara-03.png|400px|]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, after you are done with these changes, go to the &amp;quot;Options&amp;quot; menu and select &amp;quot;Save settings&amp;quot;, so that your changes are saved and available next time you relaunch VisIt.&lt;br /&gt;
&lt;br /&gt;
=== ParaView Client-Server Configuration ===&lt;br /&gt;
Similarly to VisIt you will need to start a &amp;lt;code&amp;gt;debugjob&amp;lt;/code&amp;gt; in order to use a compute node to files and compute resources.&lt;br /&gt;
Here are the steps to follow:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Launch an interactive job (debugjob) on Niagara,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  debugjob&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; After getting a compute node, let's say niaXYZW, load the ParaView &amp;quot;offscreen&amp;quot; module and start a ParaView server,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  module load NiaEnv/2018a paraview-offscreen/5.6.0&lt;br /&gt;
  pvserver --mesa-swr-avx2&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;--mesa-swr-avx2&amp;lt;/code&amp;gt; flag has been reported to offer faster software rendering using the OpenSWR library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Now, you have to wait a few seconds for the server to be ready to accept client connections.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  Waiting for client...&lt;br /&gt;
  Connection URL: cs://niaXYZW.scinet.local:11111&lt;br /&gt;
  Accepting connection(s): niaXYZW.scinet.local:11111&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Open a new terminal without closing your debugjob, and ssh into Niagara using the following command,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  ssh YOURusername@niagara.scinet.utoronto.ca -L11111:niaXYZW:11111 -N&lt;br /&gt;
&lt;br /&gt;
this will establish a tunnel mapping the port 11111 in your computer (&amp;lt;code&amp;gt;localhost&amp;lt;/code&amp;gt;) to the port 11111 on the Niagara's compute node, &amp;lt;code&amp;gt;niaXYZW&amp;lt;/code&amp;gt;, where the ParaView server will be waiting for connections.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Start ParaView on your local computer, go to &amp;quot;File -&amp;gt; Connect&amp;quot; and click on 'Add Server'.&lt;br /&gt;
You will need to point ParaView to your local port &amp;lt;code&amp;gt;11111&amp;lt;/code&amp;gt;, so you can do something like&amp;lt;/li&amp;gt;&lt;br /&gt;
 name = niagara&lt;br /&gt;
 server type = Client/Server&lt;br /&gt;
 host = localhost&lt;br /&gt;
 port = 11111&lt;br /&gt;
then click Configure, select &amp;lt;code&amp;gt;Manual&amp;lt;/code&amp;gt; and click Save.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Once the remote server is added to the configuration, simply select the server from the list and click Connect.&lt;br /&gt;
The first terminal window that read &amp;lt;code&amp;gt;Accepting connection...&amp;lt;/code&amp;gt; will now read &amp;lt;code&amp;gt;Client connected&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Open a file in ParaView (it will point you to the remote filesystem) and visualize it as usual.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multiple CPUs====&lt;br /&gt;
For performing parallel rendering using multiple CPUs, &amp;lt;code&amp;gt;pvserver&amp;lt;/code&amp;gt; should be run using &amp;lt;code&amp;gt;mpiexec&amp;lt;/code&amp;gt;, ie. either submit a job script or request a job using&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt; salloc --ntasks=N*40 --nodes=N --time=1:00:00&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  module load NiaEnv/2018a paraview-offscreen/5.6.0&lt;br /&gt;
  mpiexec pvserver --mesa-swr-avx2&lt;br /&gt;
&lt;br /&gt;
=== Final Considerations ===&lt;br /&gt;
Usually both VisIt and ParaView require to use the same version between the local client and the remote host, please try to stick to that to avoid having incompatibility issues, which might result in potential problems during the connections.&lt;br /&gt;
&lt;br /&gt;
== Batch mode and Scripting ==&lt;br /&gt;
Both, VisIt and ParaView, allow for batch processing using scripting in different languages.&lt;br /&gt;
&lt;br /&gt;
=== VisIt ===&lt;br /&gt;
In order to run or launch the Python interpreter for VisIt, you will need to execute the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; visit -cli -no-win -norun engine_par &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the 'engine_par' flag is needed in order to run the visualization engine in parallel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to execute scripts in batch mode, use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; visit -cli -no-win -norun engine_par  -s scriptName.py&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that for running in parallel, in addition to loading the VisIt module, an mpi  module should also be loaded.&lt;br /&gt;
Eg.&lt;br /&gt;
&lt;br /&gt;
   module load NiaEnv/2018a&lt;br /&gt;
   module load visit&lt;br /&gt;
   module load intel/2018.2 intelmpi/2018.2 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, if one wants to assign resources from the cluster just from within the script one should add the following line to the script&lt;br /&gt;
&lt;br /&gt;
   OpenComputeEngine(&amp;quot;localhost&amp;quot;, (&amp;quot;-l&amp;quot;, &amp;quot;srun&amp;quot;, &amp;quot;-np&amp;quot;, &amp;quot;40&amp;quot;))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=ParallelPorting#Making_sure_you_actually_have_a_parallel_engine https://www.visitusers.org/index.php?title=ParallelPorting#Making_sure_you_actually_have_a_parallel_engine]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=VisIt-tutorial-Python-scripting https://www.visitusers.org/index.php?title=VisIt-tutorial-Python-scripting]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=Python_examples https://www.visitusers.org/index.php?title=Python_examples]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=VisIt-tutorial-Advanced-scripting https://www.visitusers.org/index.php?title=VisIt-tutorial-Advanced-scripting]&lt;br /&gt;
&lt;br /&gt;
=== ParaView ===&lt;br /&gt;
ParaView offers a python interpreter &amp;lt;code&amp;gt;pvbatch&amp;lt;/code&amp;gt; to use &lt;br /&gt;
&lt;br /&gt;
 pvbatch --mesa-swr-avx2 --force-offscreen-rendering scriptName.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.paraview.org/Wiki/ParaView_and_Batch https://www.paraview.org/Wiki/ParaView_and_Batch]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.paraview.org/Wiki/ParaView/Python_Scripting https://www.paraview.org/Wiki/ParaView/Python_Scripting]&lt;br /&gt;
&lt;br /&gt;
== Other Versions ==&lt;br /&gt;
Alternatively you can try to use the visualization modules available on the CCEnv stack, for doing so just load the CCEnv module and select your favourite visualization module.&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Visualization&amp;diff=3173</id>
		<title>Visualization</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Visualization&amp;diff=3173"/>
		<updated>2021-07-29T04:25:16Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* Niagara Host Configuration File */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Software Available ==&lt;br /&gt;
We have recent versions of the open source visualization suites installed on Niagara: VMD (1.9.4) is available as a module in the default NiaEnv/'''2019b''' environment. The NiaEnv/'''2018a''' environment additionally has modules for VisIt (2.13.1) and ParaView (5.5.0, and 5.6.0 for offscreen rendering only).&lt;br /&gt;
&lt;br /&gt;
Notice that for using ParaView you need to explicitly specify one of the mesa flags in order to avoid trying to use openGL, i.e.,&lt;br /&gt;
after loading the paraview module, use the following command:&lt;br /&gt;
&lt;br /&gt;
  paraview --mesa-swr&lt;br /&gt;
&lt;br /&gt;
Notice that Niagara does not have specialized nodes nor specially designated hardware for visualization, so if you want to perform interactive visualization or exploration of your data you will need to submit an interactive job (debug job, see [[https://docs.scinet.utoronto.ca/index.php/Niagara_Quickstart#Testing]]).&lt;br /&gt;
For the same reason you won't be able to request or use GPUs for rendering as there are none!&lt;br /&gt;
&lt;br /&gt;
== Interactive Visualization ==&lt;br /&gt;
Runtime is limited on the login nodes, so you will need to request a testing job in order to have more time for exploring and visualizing your data.&lt;br /&gt;
Additionally by doing so, you will have access to the 40 cores of each of the nodes requested.&lt;br /&gt;
For performing an interactive visualization session in this way please follow these steps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; ssh into niagara.scinet.utoronto.ca with the -X/-Y flag for [https://docs.scinet.utoronto.ca/index.php/SSH#X11_Forwarding X-forwarding]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; request an interactive job, ie.&amp;lt;/li&amp;gt;&lt;br /&gt;
   debugjob&lt;br /&gt;
this will connect you to a node, let's say for the argument &amp;quot;niaXYZW&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; run your favourite visualization program, eg. VisIt/ParaView &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   module load NiaEnv/2018a visit&lt;br /&gt;
   visit&lt;br /&gt;
&lt;br /&gt;
   module load NiaEnv/2018a paraview&lt;br /&gt;
   paraview --mesa-swr&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; exit the debug session.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Parallel Visualization with VisIt ==&lt;br /&gt;
In order to be able to use VisIt's parallel rendering capabilities, the following command must be issued after loading the corresponding VisIt module:&lt;br /&gt;
&lt;br /&gt;
  export  LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${SCINET_VISIT_ROOT}/2.13.1/linux-x86_64/lib&lt;br /&gt;
&lt;br /&gt;
In this case, the command is used for the visit/2.13.1 module from the NiaEnv/2018a environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Remote Visualization -- Client-Server Mode ==&lt;br /&gt;
You can use any of the remote visualization protocols supported for both VisIt and ParaView.&lt;br /&gt;
&lt;br /&gt;
Both, VisIt and ParaView, support &amp;quot;remote visualization&amp;quot; protocols.&lt;br /&gt;
This includes:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;  accessing data remotely, ie. stored on the cluster&lt;br /&gt;
&amp;lt;li&amp;gt; rendering visualizations using the compute nodes as rendering engines&lt;br /&gt;
&amp;lt;li&amp;gt; or both&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VisIt Client-Server Configuration ===&lt;br /&gt;
For allowing VisIt connect to the Niagara cluster you need to set up a &amp;quot;Host Configuration&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Choose *one* of the methods bellow:&lt;br /&gt;
&lt;br /&gt;
====Niagara Host Configuration File====&lt;br /&gt;
You can just download the Niagara host file, right click on the following link [https://monitor.scinet.utoronto.ca/gitlab/teaching/ihpcss-2021_sciviz/-/raw/main/examples/host_niagara.xml] and select save as... &lt;br /&gt;
Depending on the OS you are using on your local machine:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; on a Linux/Mac OS place this file in &amp;lt;code&amp;gt;~/.visit/hosts/&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; on a Windows machine, place the file in  &amp;lt;code&amp;gt;My Documents\VisIt 2.13.0\hosts\&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart VisIt and check that the niagara profile should be available in your hosts.&lt;br /&gt;
&lt;br /&gt;
====Manual Niagara Host Configuration====&lt;br /&gt;
If you prefer to set up the verser yourself, instead of the configuration file from the previous section, just follow along these steps.&lt;br /&gt;
Open VisIt in your computer, go to the 'Options' menu, and click on &amp;quot;Host profiles...&amp;quot;&lt;br /&gt;
Then click on 'New Host' and select:&lt;br /&gt;
&lt;br /&gt;
 Host nickname = niagara&lt;br /&gt;
 Remote host name = niagara.scinet.utoronto.ca&lt;br /&gt;
 Username = Enter_Your_OWN_username_HERE&lt;br /&gt;
 Path to VisIt installation = /scinet/niagara/software/2018a/opt/base/visit/2.13.1&lt;br /&gt;
&lt;br /&gt;
Click on the &amp;quot;&amp;lt;code&amp;gt;Tunnel data connections through SSH&amp;lt;/code&amp;gt;&amp;quot;, and then hit Apply!&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
| [[File:Visit_niagara-01.png|480px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on the top of the window click on 'Launch Profiles' tab.&lt;br /&gt;
You will have to create two profiles:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;code&amp;gt;login&amp;lt;/code&amp;gt;: for connecting through the login nodes and accessing data &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;code&amp;gt;slurm&amp;lt;/code&amp;gt;: for using compute nodes as rendering engines &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
For doing so, click on 'New Profile', set the corresponding profile name, ie. login/slurm.&lt;br /&gt;
Then click on the Parallel tab and set the &amp;quot;Launch parallel engine&amp;quot;&lt;br /&gt;
&lt;br /&gt;
For the slurm profile, you will need to set the parameters as seen below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot; /&amp;gt;&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
| [[File:Visit_niagara-02.png|400px|]]&lt;br /&gt;
| [[File:Visit_niagara-03.png|400px|]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, after you are done with these changes, go to the &amp;quot;Options&amp;quot; menu and select &amp;quot;Save settings&amp;quot;, so that your changes are saved and available next time you relaunch VisIt.&lt;br /&gt;
&lt;br /&gt;
=== ParaView Client-Server Configuration ===&lt;br /&gt;
Similarly to VisIt you will need to start a &amp;lt;code&amp;gt;debugjob&amp;lt;/code&amp;gt; in order to use a compute node to files and compute resources.&lt;br /&gt;
Here are the steps to follow:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Launch an interactive job (debugjob) on Niagara,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  debugjob&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; After getting a compute node, let's say niaXYZW, load the ParaView &amp;quot;offscreen&amp;quot; module and start a ParaView server,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  module load NiaEnv/2018a paraview-offscreen/5.6.0&lt;br /&gt;
  pvserver --mesa-swr-avx2&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;--mesa-swr-avx2&amp;lt;/code&amp;gt; flag has been reported to offer faster software rendering using the OpenSWR library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Now, you have to wait a few seconds for the server to be ready to accept client connections.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  Waiting for client...&lt;br /&gt;
  Connection URL: cs://niaXYZW.scinet.local:11111&lt;br /&gt;
  Accepting connection(s): niaXYZW.scinet.local:11111&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Open a new terminal without closing your debugjob, and ssh into Niagara using the following command,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  ssh YOURusername@niagara.scinet.utoronto.ca -L11111:niaXYZW:11111 -N&lt;br /&gt;
&lt;br /&gt;
this will establish a tunnel mapping the port 11111 in your computer (&amp;lt;code&amp;gt;localhost&amp;lt;/code&amp;gt;) to the port 11111 on the Niagara's compute node, &amp;lt;code&amp;gt;niaXYZW&amp;lt;/code&amp;gt;, where the ParaView server will be waiting for connections.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Start ParaView on your local computer, go to &amp;quot;File -&amp;gt; Connect&amp;quot; and click on 'Add Server'.&lt;br /&gt;
You will need to point ParaView to your local port &amp;lt;code&amp;gt;11111&amp;lt;/code&amp;gt;, so you can do something like&amp;lt;/li&amp;gt;&lt;br /&gt;
 name = niagara&lt;br /&gt;
 server type = Client/Server&lt;br /&gt;
 host = localhost&lt;br /&gt;
 port = 11111&lt;br /&gt;
then click Configure, select &amp;lt;code&amp;gt;Manual&amp;lt;/code&amp;gt; and click Save.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Once the remote server is added to the configuration, simply select the server from the list and click Connect.&lt;br /&gt;
The first terminal window that read &amp;lt;code&amp;gt;Accepting connection...&amp;lt;/code&amp;gt; will now read &amp;lt;code&amp;gt;Client connected&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Open a file in ParaView (it will point you to the remote filesystem) and visualize it as usual.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multiple CPUs====&lt;br /&gt;
For performing parallel rendering using multiple CPUs, &amp;lt;code&amp;gt;pvserver&amp;lt;/code&amp;gt; should be run using &amp;lt;code&amp;gt;mpiexec&amp;lt;/code&amp;gt;, ie. either submit a job script or request a job using&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt; salloc --ntasks=N*40 --nodes=N --time=1:00:00&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  module load NiaEnv/2018a paraview-offscreen/5.6.0&lt;br /&gt;
  mpiexec pvserver --mesa-swr-avx2&lt;br /&gt;
&lt;br /&gt;
=== Final Considerations ===&lt;br /&gt;
Usually both VisIt and ParaView require to use the same version between the local client and the remote host, please try to stick to that to avoid having incompatibility issues, which might result in potential problems during the connections.&lt;br /&gt;
&lt;br /&gt;
== Batch mode and Scripting ==&lt;br /&gt;
Both, VisIt and ParaView, allow for batch processing using scripting in different languages.&lt;br /&gt;
&lt;br /&gt;
=== VisIt ===&lt;br /&gt;
In order to run or launch the Python interpreter for VisIt, you will need to execute the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; visit -cli -no-win -norun engine_par &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the 'engine_par' flag is needed in order to run the visualization engine in parallel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to execute scripts in batch mode, use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; visit -cli -no-win -norun engine_par  -s scriptName.py&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that for running in parallel, in addition to loading the VisIt module, an mpi  module should also be loaded.&lt;br /&gt;
Eg.&lt;br /&gt;
&lt;br /&gt;
   module load NiaEnv/2018a&lt;br /&gt;
   module load visit&lt;br /&gt;
   module load intel/2018.2 intelmpi/2018.2 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, if one wants to assign resources from the cluster just from within the script one should add the following line to the script&lt;br /&gt;
&lt;br /&gt;
   OpenComputeEngine(&amp;quot;localhost&amp;quot;, (&amp;quot;-l&amp;quot;, &amp;quot;srun&amp;quot;, &amp;quot;-np&amp;quot;, &amp;quot;40&amp;quot;))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=ParallelPorting#Making_sure_you_actually_have_a_parallel_engine https://www.visitusers.org/index.php?title=ParallelPorting#Making_sure_you_actually_have_a_parallel_engine]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=VisIt-tutorial-Python-scripting https://www.visitusers.org/index.php?title=VisIt-tutorial-Python-scripting]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=Python_examples https://www.visitusers.org/index.php?title=Python_examples]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=VisIt-tutorial-Advanced-scripting https://www.visitusers.org/index.php?title=VisIt-tutorial-Advanced-scripting]&lt;br /&gt;
&lt;br /&gt;
=== ParaView ===&lt;br /&gt;
ParaView offers a python interpreter &amp;lt;code&amp;gt;pvbatch&amp;lt;/code&amp;gt; to use &lt;br /&gt;
&lt;br /&gt;
 pvbatch --mesa-swr-avx2 --force-offscreen-rendering scriptName.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.paraview.org/Wiki/ParaView_and_Batch https://www.paraview.org/Wiki/ParaView_and_Batch]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.paraview.org/Wiki/ParaView/Python_Scripting https://www.paraview.org/Wiki/ParaView/Python_Scripting]&lt;br /&gt;
&lt;br /&gt;
== Other Versions ==&lt;br /&gt;
Alternatively you can try to use the visualization modules available on the CCEnv stack, for doing so just load the CCEnv module and select your favourite visualization module.&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Visualization&amp;diff=3172</id>
		<title>Visualization</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Visualization&amp;diff=3172"/>
		<updated>2021-07-28T05:24:41Z</updated>

		<summary type="html">&lt;p&gt;Mponce: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Software Available ==&lt;br /&gt;
We have recent versions of the open source visualization suites installed on Niagara: VMD (1.9.4) is available as a module in the default NiaEnv/'''2019b''' environment. The NiaEnv/'''2018a''' environment additionally has modules for VisIt (2.13.1) and ParaView (5.5.0, and 5.6.0 for offscreen rendering only).&lt;br /&gt;
&lt;br /&gt;
Notice that for using ParaView you need to explicitly specify one of the mesa flags in order to avoid trying to use openGL, i.e.,&lt;br /&gt;
after loading the paraview module, use the following command:&lt;br /&gt;
&lt;br /&gt;
  paraview --mesa-swr&lt;br /&gt;
&lt;br /&gt;
Notice that Niagara does not have specialized nodes nor specially designated hardware for visualization, so if you want to perform interactive visualization or exploration of your data you will need to submit an interactive job (debug job, see [[https://docs.scinet.utoronto.ca/index.php/Niagara_Quickstart#Testing]]).&lt;br /&gt;
For the same reason you won't be able to request or use GPUs for rendering as there are none!&lt;br /&gt;
&lt;br /&gt;
== Interactive Visualization ==&lt;br /&gt;
Runtime is limited on the login nodes, so you will need to request a testing job in order to have more time for exploring and visualizing your data.&lt;br /&gt;
Additionally by doing so, you will have access to the 40 cores of each of the nodes requested.&lt;br /&gt;
For performing an interactive visualization session in this way please follow these steps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; ssh into niagara.scinet.utoronto.ca with the -X/-Y flag for [https://docs.scinet.utoronto.ca/index.php/SSH#X11_Forwarding X-forwarding]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; request an interactive job, ie.&amp;lt;/li&amp;gt;&lt;br /&gt;
   debugjob&lt;br /&gt;
this will connect you to a node, let's say for the argument &amp;quot;niaXYZW&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; run your favourite visualization program, eg. VisIt/ParaView &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   module load NiaEnv/2018a visit&lt;br /&gt;
   visit&lt;br /&gt;
&lt;br /&gt;
   module load NiaEnv/2018a paraview&lt;br /&gt;
   paraview --mesa-swr&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; exit the debug session.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Parallel Visualization with VisIt ==&lt;br /&gt;
In order to be able to use VisIt's parallel rendering capabilities, the following command must be issued after loading the corresponding VisIt module:&lt;br /&gt;
&lt;br /&gt;
  export  LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${SCINET_VISIT_ROOT}/2.13.1/linux-x86_64/lib&lt;br /&gt;
&lt;br /&gt;
In this case, the command is used for the visit/2.13.1 module from the NiaEnv/2018a environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Remote Visualization -- Client-Server Mode ==&lt;br /&gt;
You can use any of the remote visualization protocols supported for both VisIt and ParaView.&lt;br /&gt;
&lt;br /&gt;
Both, VisIt and ParaView, support &amp;quot;remote visualization&amp;quot; protocols.&lt;br /&gt;
This includes:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;  accessing data remotely, ie. stored on the cluster&lt;br /&gt;
&amp;lt;li&amp;gt; rendering visualizations using the compute nodes as rendering engines&lt;br /&gt;
&amp;lt;li&amp;gt; or both&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VisIt Client-Server Configuration ===&lt;br /&gt;
For allowing VisIt connect to the Niagara cluster you need to set up a &amp;quot;Host Configuration&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Choose *one* of the methods bellow:&lt;br /&gt;
&lt;br /&gt;
====Niagara Host Configuration File====&lt;br /&gt;
You can just download the Niagara host file, right click on the following link [https://support.scinet.utoronto.ca/~mponce/viz/host_niagara.xml host_niagara.xml] and select save as... &lt;br /&gt;
Depending on the OS you are using on your local machine:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; on a Linux/Mac OS place this file in &amp;lt;code&amp;gt;~/.visit/hosts/&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; on a Windows machine, place the file in  &amp;lt;code&amp;gt;My Documents\VisIt 2.13.0\hosts\&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart VisIt and check that the niagara profile should be available in your hosts.&lt;br /&gt;
&lt;br /&gt;
====Manual Niagara Host Configuration====&lt;br /&gt;
If you prefer to set up the verser yourself, instead of the configuration file from the previous section, just follow along these steps.&lt;br /&gt;
Open VisIt in your computer, go to the 'Options' menu, and click on &amp;quot;Host profiles...&amp;quot;&lt;br /&gt;
Then click on 'New Host' and select:&lt;br /&gt;
&lt;br /&gt;
 Host nickname = niagara&lt;br /&gt;
 Remote host name = niagara.scinet.utoronto.ca&lt;br /&gt;
 Username = Enter_Your_OWN_username_HERE&lt;br /&gt;
 Path to VisIt installation = /scinet/niagara/software/2018a/opt/base/visit/2.13.1&lt;br /&gt;
&lt;br /&gt;
Click on the &amp;quot;&amp;lt;code&amp;gt;Tunnel data connections through SSH&amp;lt;/code&amp;gt;&amp;quot;, and then hit Apply!&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
| [[File:Visit_niagara-01.png|480px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on the top of the window click on 'Launch Profiles' tab.&lt;br /&gt;
You will have to create two profiles:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;code&amp;gt;login&amp;lt;/code&amp;gt;: for connecting through the login nodes and accessing data &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;code&amp;gt;slurm&amp;lt;/code&amp;gt;: for using compute nodes as rendering engines &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
For doing so, click on 'New Profile', set the corresponding profile name, ie. login/slurm.&lt;br /&gt;
Then click on the Parallel tab and set the &amp;quot;Launch parallel engine&amp;quot;&lt;br /&gt;
&lt;br /&gt;
For the slurm profile, you will need to set the parameters as seen below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot; /&amp;gt;&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
| [[File:Visit_niagara-02.png|400px|]]&lt;br /&gt;
| [[File:Visit_niagara-03.png|400px|]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, after you are done with these changes, go to the &amp;quot;Options&amp;quot; menu and select &amp;quot;Save settings&amp;quot;, so that your changes are saved and available next time you relaunch VisIt.&lt;br /&gt;
&lt;br /&gt;
=== ParaView Client-Server Configuration ===&lt;br /&gt;
Similarly to VisIt you will need to start a &amp;lt;code&amp;gt;debugjob&amp;lt;/code&amp;gt; in order to use a compute node to files and compute resources.&lt;br /&gt;
Here are the steps to follow:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Launch an interactive job (debugjob) on Niagara,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  debugjob&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; After getting a compute node, let's say niaXYZW, load the ParaView &amp;quot;offscreen&amp;quot; module and start a ParaView server,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  module load NiaEnv/2018a paraview-offscreen/5.6.0&lt;br /&gt;
  pvserver --mesa-swr-avx2&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;--mesa-swr-avx2&amp;lt;/code&amp;gt; flag has been reported to offer faster software rendering using the OpenSWR library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Now, you have to wait a few seconds for the server to be ready to accept client connections.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  Waiting for client...&lt;br /&gt;
  Connection URL: cs://niaXYZW.scinet.local:11111&lt;br /&gt;
  Accepting connection(s): niaXYZW.scinet.local:11111&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Open a new terminal without closing your debugjob, and ssh into Niagara using the following command,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  ssh YOURusername@niagara.scinet.utoronto.ca -L11111:niaXYZW:11111 -N&lt;br /&gt;
&lt;br /&gt;
this will establish a tunnel mapping the port 11111 in your computer (&amp;lt;code&amp;gt;localhost&amp;lt;/code&amp;gt;) to the port 11111 on the Niagara's compute node, &amp;lt;code&amp;gt;niaXYZW&amp;lt;/code&amp;gt;, where the ParaView server will be waiting for connections.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Start ParaView on your local computer, go to &amp;quot;File -&amp;gt; Connect&amp;quot; and click on 'Add Server'.&lt;br /&gt;
You will need to point ParaView to your local port &amp;lt;code&amp;gt;11111&amp;lt;/code&amp;gt;, so you can do something like&amp;lt;/li&amp;gt;&lt;br /&gt;
 name = niagara&lt;br /&gt;
 server type = Client/Server&lt;br /&gt;
 host = localhost&lt;br /&gt;
 port = 11111&lt;br /&gt;
then click Configure, select &amp;lt;code&amp;gt;Manual&amp;lt;/code&amp;gt; and click Save.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Once the remote server is added to the configuration, simply select the server from the list and click Connect.&lt;br /&gt;
The first terminal window that read &amp;lt;code&amp;gt;Accepting connection...&amp;lt;/code&amp;gt; will now read &amp;lt;code&amp;gt;Client connected&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Open a file in ParaView (it will point you to the remote filesystem) and visualize it as usual.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multiple CPUs====&lt;br /&gt;
For performing parallel rendering using multiple CPUs, &amp;lt;code&amp;gt;pvserver&amp;lt;/code&amp;gt; should be run using &amp;lt;code&amp;gt;mpiexec&amp;lt;/code&amp;gt;, ie. either submit a job script or request a job using&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt; salloc --ntasks=N*40 --nodes=N --time=1:00:00&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  module load NiaEnv/2018a paraview-offscreen/5.6.0&lt;br /&gt;
  mpiexec pvserver --mesa-swr-avx2&lt;br /&gt;
&lt;br /&gt;
=== Final Considerations ===&lt;br /&gt;
Usually both VisIt and ParaView require to use the same version between the local client and the remote host, please try to stick to that to avoid having incompatibility issues, which might result in potential problems during the connections.&lt;br /&gt;
&lt;br /&gt;
== Batch mode and Scripting ==&lt;br /&gt;
Both, VisIt and ParaView, allow for batch processing using scripting in different languages.&lt;br /&gt;
&lt;br /&gt;
=== VisIt ===&lt;br /&gt;
In order to run or launch the Python interpreter for VisIt, you will need to execute the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; visit -cli -no-win -norun engine_par &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the 'engine_par' flag is needed in order to run the visualization engine in parallel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to execute scripts in batch mode, use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; visit -cli -no-win -norun engine_par  -s scriptName.py&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that for running in parallel, in addition to loading the VisIt module, an mpi  module should also be loaded.&lt;br /&gt;
Eg.&lt;br /&gt;
&lt;br /&gt;
   module load NiaEnv/2018a&lt;br /&gt;
   module load visit&lt;br /&gt;
   module load intel/2018.2 intelmpi/2018.2 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, if one wants to assign resources from the cluster just from within the script one should add the following line to the script&lt;br /&gt;
&lt;br /&gt;
   OpenComputeEngine(&amp;quot;localhost&amp;quot;, (&amp;quot;-l&amp;quot;, &amp;quot;srun&amp;quot;, &amp;quot;-np&amp;quot;, &amp;quot;40&amp;quot;))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=ParallelPorting#Making_sure_you_actually_have_a_parallel_engine https://www.visitusers.org/index.php?title=ParallelPorting#Making_sure_you_actually_have_a_parallel_engine]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=VisIt-tutorial-Python-scripting https://www.visitusers.org/index.php?title=VisIt-tutorial-Python-scripting]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=Python_examples https://www.visitusers.org/index.php?title=Python_examples]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=VisIt-tutorial-Advanced-scripting https://www.visitusers.org/index.php?title=VisIt-tutorial-Advanced-scripting]&lt;br /&gt;
&lt;br /&gt;
=== ParaView ===&lt;br /&gt;
ParaView offers a python interpreter &amp;lt;code&amp;gt;pvbatch&amp;lt;/code&amp;gt; to use &lt;br /&gt;
&lt;br /&gt;
 pvbatch --mesa-swr-avx2 --force-offscreen-rendering scriptName.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.paraview.org/Wiki/ParaView_and_Batch https://www.paraview.org/Wiki/ParaView_and_Batch]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.paraview.org/Wiki/ParaView/Python_Scripting https://www.paraview.org/Wiki/ParaView/Python_Scripting]&lt;br /&gt;
&lt;br /&gt;
== Other Versions ==&lt;br /&gt;
Alternatively you can try to use the visualization modules available on the CCEnv stack, for doing so just load the CCEnv module and select your favourite visualization module.&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Visualization&amp;diff=2897</id>
		<title>Visualization</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Visualization&amp;diff=2897"/>
		<updated>2021-01-04T21:26:26Z</updated>

		<summary type="html">&lt;p&gt;Mponce: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Software Available ==&lt;br /&gt;
We have installed the latest versions of the open source visualization suites: VMD, VisIt and ParaView.&lt;br /&gt;
&lt;br /&gt;
Notice that for using ParaView you need to explicitly specify one of the mesa flags in order to avoid trying to use openGL, i.e.,&lt;br /&gt;
after loading the paraview module, use the following command:&lt;br /&gt;
&lt;br /&gt;
  paraview --mesa-swr&lt;br /&gt;
&lt;br /&gt;
Notice that Niagara does not have specialized nodes nor specially designated hardware for visualization, so if you want to perform interactive visualization or exploration of your data you will need to submit an interactive job (debug job, see [[https://docs.scinet.utoronto.ca/index.php/Niagara_Quickstart#Testing]]).&lt;br /&gt;
For the same reason you won't be able to request or use GPUs for rendering as there are none!&lt;br /&gt;
&lt;br /&gt;
== Interactive Visualization ==&lt;br /&gt;
Runtime is limited on the login nodes, so you will need to request a testing job in order to have more time for exploring and visualizing your data.&lt;br /&gt;
Additionally by doing so, you will have access to the 40 cores of each of the nodes requested.&lt;br /&gt;
For performing an interactive visualization session in this way please follow these steps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; ssh into niagara.scinet.utoronto.ca with the -X/-Y flag for [https://docs.scinet.utoronto.ca/index.php/SSH#X11_Forwarding X-forwarding]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; request an interactive job, ie.&amp;lt;/li&amp;gt;&lt;br /&gt;
   debugjob&lt;br /&gt;
this will connect you to a node, let's say for the argument &amp;quot;niaXYZW&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; run your favourite visualization program, eg. VisIt/ParaView &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   module load visit&lt;br /&gt;
   visit&lt;br /&gt;
&lt;br /&gt;
   module load paraview&lt;br /&gt;
   paraview --mesa-swr&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; exit the debug session.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Parallel Visualization with VisIt ==&lt;br /&gt;
In order to be able to use VisIt's parallel rendering capabilities, the following command must be issued after loading the corresponding VisIt module:&lt;br /&gt;
&lt;br /&gt;
  export  LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${SCINET_VISIT_BASE}/2.13.1/linux-x86_64/lib&lt;br /&gt;
&lt;br /&gt;
In this case, the command is used for the visit/2.13.1 module from the NiaEnv/2018a environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Remote Visualization -- Client-Server Mode ==&lt;br /&gt;
You can use any of the remote visualization protocols supported for both VisIt and ParaView.&lt;br /&gt;
&lt;br /&gt;
Both, VisIt and ParaView, support &amp;quot;remote visualization&amp;quot; protocols.&lt;br /&gt;
This includes:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;  accessing data remotely, ie. stored on the cluster&lt;br /&gt;
&amp;lt;li&amp;gt; rendering visualizations using the compute nodes as rendering engines&lt;br /&gt;
&amp;lt;li&amp;gt; or both&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VisIt Client-Server Configuration ===&lt;br /&gt;
For allowing VisIt connect to the Niagara cluster you need to set up a &amp;quot;Host Configuration&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Choose *one* of the methods bellow:&lt;br /&gt;
&lt;br /&gt;
====Niagara Host Configuration File====&lt;br /&gt;
You can just download the Niagara host file, right click on the following link [https://support.scinet.utoronto.ca/~mponce/viz/host_niagara.xml host_niagara.xml] and select save as... &lt;br /&gt;
Depending on the OS you are using on your local machine:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; on a Linux/Mac OS place this file in &amp;lt;code&amp;gt;~/.visit/hosts/&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; on a Windows machine, place the file in  &amp;lt;code&amp;gt;My Documents\VisIt 2.13.0\hosts\&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart VisIt and check that the niagara profile should be available in your hosts.&lt;br /&gt;
&lt;br /&gt;
====Manual Niagara Host Configuration====&lt;br /&gt;
If you prefer to set up the verser yourself, instead of the configuration file from the previous section, just follow along these steps.&lt;br /&gt;
Open VisIt in your computer, go to the 'Options' menu, and click on &amp;quot;Host profiles...&amp;quot;&lt;br /&gt;
Then click on 'New Host' and select:&lt;br /&gt;
&lt;br /&gt;
 Host nickname = niagara&lt;br /&gt;
 Remote host name = niagara.scinet.utoronto.ca&lt;br /&gt;
 Username = Enter_Your_OWN_username_HERE&lt;br /&gt;
 Path to VisIt installation = /scinet/niagara/software/2018a/opt/base/visit/2.13.1&lt;br /&gt;
&lt;br /&gt;
Click on the &amp;quot;&amp;lt;code&amp;gt;Tunnel data connections through SSH&amp;lt;/code&amp;gt;&amp;quot;, and then hit Apply!&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
| [[File:Visit_niagara-01.png|480px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on the top of the window click on 'Launch Profiles' tab.&lt;br /&gt;
You will have to create two profiles:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;code&amp;gt;login&amp;lt;/code&amp;gt;: for connecting through the login nodes and accessing data &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;code&amp;gt;slurm&amp;lt;/code&amp;gt;: for using compute nodes as rendering engines &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
For doing so, click on 'New Profile', set the corresponding profile name, ie. login/slurm.&lt;br /&gt;
Then click on the Parallel tab and set the &amp;quot;Launch parallel engine&amp;quot;&lt;br /&gt;
&lt;br /&gt;
For the slurm profile, you will need to set the parameters as seen below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot; /&amp;gt;&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
| [[File:Visit_niagara-02.png|400px|]]&lt;br /&gt;
| [[File:Visit_niagara-03.png|400px|]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, after you are done with these changes, go to the &amp;quot;Options&amp;quot; menu and select &amp;quot;Save settings&amp;quot;, so that your changes are saved and available next time you relaunch VisIt.&lt;br /&gt;
&lt;br /&gt;
=== ParaView Client-Server Configuration ===&lt;br /&gt;
Similarly to VisIt you will need to start a &amp;lt;code&amp;gt;debugjob&amp;lt;/code&amp;gt; in order to use a compute node to files and compute resources.&lt;br /&gt;
Here are the steps to follow:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Launch an interactive job (debugjob) on Niagara,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  debugjob&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; After getting a compute node, let's say niaXYZW, load the ParaView &amp;quot;offscreen&amp;quot; module and start a ParaView server,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  module load paraview-offscreen/5.6.0&lt;br /&gt;
  pvserver --mesa-swr-avx2&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;--mesa-swr-avx2&amp;lt;/code&amp;gt; flag has been reported to offer faster software rendering using the OpenSWR library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Now, you have to wait a few seconds for the server to be ready to accept client connections.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  Waiting for client...&lt;br /&gt;
  Connection URL: cs://niaXYZW.scinet.local:11111&lt;br /&gt;
  Accepting connection(s): niaXYZW.scinet.local:11111&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Open a new terminal without closing your debugjob, and ssh into Niagara using the following command,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  ssh YOURusername@niagara.scinet.utoronto.ca -L11111:niaXYZW:11111 -N&lt;br /&gt;
&lt;br /&gt;
this will establish a tunnel mapping the port 11111 in your computer (&amp;lt;code&amp;gt;localhost&amp;lt;/code&amp;gt;) to the port 11111 on the Niagara's compute node, &amp;lt;code&amp;gt;niaXYZW&amp;lt;/code&amp;gt;, where the ParaView server will be waiting for connections.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Start ParaView on your local computer, go to &amp;quot;File -&amp;gt; Connect&amp;quot; and click on 'Add Server'.&lt;br /&gt;
You will need to point ParaView to your local port &amp;lt;code&amp;gt;11111&amp;lt;/code&amp;gt;, so you can do something like&amp;lt;/li&amp;gt;&lt;br /&gt;
 name = niagara&lt;br /&gt;
 server type = Client/Server&lt;br /&gt;
 host = localhost&lt;br /&gt;
 port = 11111&lt;br /&gt;
then click Configure, select &amp;lt;code&amp;gt;Manual&amp;lt;/code&amp;gt; and click Save.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Once the remote server is added to the configuration, simply select the server from the list and click Connect.&lt;br /&gt;
The first terminal window that read &amp;lt;code&amp;gt;Accepting connection...&amp;lt;/code&amp;gt; will now read &amp;lt;code&amp;gt;Client connected&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Open a file in ParaView (it will point you to the remote filesystem) and visualize it as usual.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multiple CPUs====&lt;br /&gt;
For performing parallel rendering using multiple CPUs, &amp;lt;code&amp;gt;pvserver&amp;lt;/code&amp;gt; should be run using &amp;lt;code&amp;gt;mpiexec&amp;lt;/code&amp;gt;, ie. either submit a job script or request a job using&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt; salloc --ntasks=N*40 --nodes=N --time=1:00:00&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  module load paraview-offscreen/5.6.0&lt;br /&gt;
  mpiexec pvserver --mesa-swr-avx2&lt;br /&gt;
&lt;br /&gt;
=== Final Considerations ===&lt;br /&gt;
Usually both VisIt and ParaView require to use the same version between the local client and the remote host, please try to stick to that to avoid having incompatibility issues, which might result in potential problems during the connections.&lt;br /&gt;
&lt;br /&gt;
== Batch mode and Scripting ==&lt;br /&gt;
Both, VisIt and ParaView, allow for batch processing using scripting in different languages.&lt;br /&gt;
&lt;br /&gt;
=== VisIt ===&lt;br /&gt;
In order to run or launch the Python interpreter for VisIt, you will need to execute the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; visit -cli -no-win -norun engine_par &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the 'engine_par' flag is needed in order to run the visualization engine in parallel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to execute scripts in batch mode, use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; visit -cli -no-win -norun engine_par  -s scriptName.py&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that for running in parallel, in addition to loading the VisIt module, an mpi  module should also be loaded.&lt;br /&gt;
Eg.&lt;br /&gt;
&lt;br /&gt;
   module load visit&lt;br /&gt;
   module load intel/2018.2 intelmpi/2018.2 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, if one wants to assign resources from the cluster just from within the script one should add the following line to the script&lt;br /&gt;
&lt;br /&gt;
   OpenComputeEngine(&amp;quot;localhost&amp;quot;, (&amp;quot;-l&amp;quot;, &amp;quot;srun&amp;quot;, &amp;quot;-np&amp;quot;, &amp;quot;40&amp;quot;))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=ParallelPorting#Making_sure_you_actually_have_a_parallel_engine https://www.visitusers.org/index.php?title=ParallelPorting#Making_sure_you_actually_have_a_parallel_engine]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=VisIt-tutorial-Python-scripting https://www.visitusers.org/index.php?title=VisIt-tutorial-Python-scripting]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=Python_examples https://www.visitusers.org/index.php?title=Python_examples]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=VisIt-tutorial-Advanced-scripting https://www.visitusers.org/index.php?title=VisIt-tutorial-Advanced-scripting]&lt;br /&gt;
&lt;br /&gt;
=== ParaView ===&lt;br /&gt;
ParaView offers a python interpreter &amp;lt;code&amp;gt;pvbatch&amp;lt;/code&amp;gt; to use &lt;br /&gt;
&lt;br /&gt;
 pvbatch --mesa-swr-avx2 --force-offscreen-rendering scriptName.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.paraview.org/Wiki/ParaView_and_Batch https://www.paraview.org/Wiki/ParaView_and_Batch]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.paraview.org/Wiki/ParaView/Python_Scripting https://www.paraview.org/Wiki/ParaView/Python_Scripting]&lt;br /&gt;
&lt;br /&gt;
== Other Versions ==&lt;br /&gt;
Alternatively you can try to use the visualization modules available on the CCEnv stack, for doing so just load the CCEnv module and select your favourite visualization module.&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Teach&amp;diff=2895</id>
		<title>Teach</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Teach&amp;diff=2895"/>
		<updated>2020-12-22T16:45:16Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* Submit a Job */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox Computer&lt;br /&gt;
|image=[[Image:Ibm_idataplex_dx360_m4.jpg|center|300px|thumb]] &lt;br /&gt;
|name=Teach Cluster &lt;br /&gt;
|installed=(orig Feb 2013), Oct 2018&lt;br /&gt;
|operatingsystem= Linux (Centos 7.4)&lt;br /&gt;
|loginnode= teach01 (from &amp;lt;tt&amp;gt;teach.scinet&amp;lt;/tt&amp;gt;)&lt;br /&gt;
|nnodes=42 &lt;br /&gt;
|rampernode=64 Gb &lt;br /&gt;
|corespernode=16 &lt;br /&gt;
|interconnect=Infiniband (QDR)&lt;br /&gt;
|vendorcompilers=icc/gcc&lt;br /&gt;
|queuetype=slurm&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Teaching Cluster ==&lt;br /&gt;
&lt;br /&gt;
SciNet has assembled some older compute hardware into a small cluster provided primarily for teaching purposes. It is configured similarly to the production [[Niagara_Quickstart | Niagara ]] system, however uses repurposed hardware.  This system should not be used for production work as such the queuing policies are designed to provide fast job turnover and limit the amount of resources one person can use at a time.     Questions about its use or problems should be sent to '''support@scinet.utoronto.ca'''.&lt;br /&gt;
&lt;br /&gt;
== Specifications==&lt;br /&gt;
&lt;br /&gt;
The cluster consists of 42 repurposed x86_64 nodes each with 16 cores (from two octal core Intel XeonSandybridge E5-2650 CPUs) running at 2.0GHz with 64GB of RAM per node. &lt;br /&gt;
The nodes are interconnected with 2.6:1 blocking QDR Infiniband for MPI communications and disk I/O to the SciNet Niagara filesystems.  In total this cluster contains 672 cores.&lt;br /&gt;
&lt;br /&gt;
== Login/Devel Node ==&lt;br /&gt;
&lt;br /&gt;
Teach runs CentOS 7, which is a type of Linux.  You will need to be somewhat familiar with Linux systems to work on Teach.  If you are not, it will be worth your time to review our [https://support.scinet.utoronto.ca/education/users/browse.php?search=intro+to+shell&amp;amp;filter= Introduction to Linux Shell] class.&lt;br /&gt;
&lt;br /&gt;
As with all SciNet and Compute Canada systems, access to Teach is done via [[SSH]] (secure shell) only.  Open a terminal window (e.g. using [https://docs.computecanada.ca/wiki/Connecting_with_PuTTY PuTTY] or  [https://docs.computecanada.ca/wiki/Connecting_with_MobaXTerm MobaXTerm] on Windows), and type&lt;br /&gt;
 ssh -Y USERNAME@teach.scinet.utoronto.ca&lt;br /&gt;
This will bring directly to the command line of '''&amp;lt;tt&amp;gt;teach01&amp;lt;/tt&amp;gt;'''  the gateway/devel node for this cluster.  &lt;br /&gt;
From '''&amp;lt;tt&amp;gt;teach01&amp;lt;/tt&amp;gt;''' you can compile, do short tests, and submit your jobs to the queue.&lt;br /&gt;
The first time you login to Teach cluster, please make sure to check if the login node ssh key fingerprint&lt;br /&gt;
matches. [[Teach_fingerprints | See here how]].&lt;br /&gt;
&lt;br /&gt;
The login node teach01 is shared between students of a          &lt;br /&gt;
number of different courses. Use this node to develop and compile                  &lt;br /&gt;
code, to run short tests, and to submit computations to the scheduler (see below).&lt;br /&gt;
&lt;br /&gt;
== Software Modules ==&lt;br /&gt;
&lt;br /&gt;
Other than essentials, all installed software is made available [[Using_modules | using module commands]]. These modules set environment variables (PATH, etc.), allowing multiple, conflicting versions of a given package to be available.  A detailed explanation of the module system can be [[Using_modules | found on the modules page]].&lt;br /&gt;
&lt;br /&gt;
Common module subcommands are:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;module load &amp;lt;module-name&amp;gt;&amp;lt;/code&amp;gt;: load the default version of a particular software.&lt;br /&gt;
* &amp;lt;code&amp;gt;module load &amp;lt;module-name&amp;gt;/&amp;lt;module-version&amp;gt;&amp;lt;/code&amp;gt;: load a specific version of a particular software.&lt;br /&gt;
* &amp;lt;code&amp;gt;module purge&amp;lt;/code&amp;gt;: unload all currently loaded modules.&lt;br /&gt;
* &amp;lt;code&amp;gt;module spider&amp;lt;/code&amp;gt; (or &amp;lt;code&amp;gt;module spider &amp;lt;module-name&amp;gt;&amp;lt;/code&amp;gt;): list available software packages.&lt;br /&gt;
* &amp;lt;code&amp;gt;module avail&amp;lt;/code&amp;gt;: list loadable software packages.&lt;br /&gt;
* &amp;lt;code&amp;gt;module list&amp;lt;/code&amp;gt;: list loaded modules.&lt;br /&gt;
&lt;br /&gt;
For example, to make the GNU compilers (gcc, g++ and gfortran) available, you should type&lt;br /&gt;
&lt;br /&gt;
 module load gcc&lt;br /&gt;
&lt;br /&gt;
while the Intel compilers (icc, icpc and ifort) can be loaded by&lt;br /&gt;
&lt;br /&gt;
 module load intel&lt;br /&gt;
&lt;br /&gt;
Along with modifying common environment variables, such as PATH, and LD_LIBRARY_PATH, these modules also create a SCINET_MODULENAME_ROOT environment variable, which can be used to access commonly needed software directories, such as /include and /lib.&lt;br /&gt;
&lt;br /&gt;
There are handy abbreviations for the module commands. &amp;lt;code&amp;gt;ml&amp;lt;/code&amp;gt; is the same as &amp;lt;code&amp;gt;module list&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;ml &amp;lt;module-name&amp;gt;&amp;lt;/code&amp;gt; is the same as &amp;lt;code&amp;gt;module load &amp;lt;module-name&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A list of available software modules can be found below.&lt;br /&gt;
&lt;br /&gt;
== Interactive jobs ==&lt;br /&gt;
&lt;br /&gt;
For a interactive sessions on a compute node of the teach cluster that give access to non-shared resources, use the 'debugjob' command. &lt;br /&gt;
 teach01:~$ debugjob -n C&lt;br /&gt;
where C is the number of cores. An interactive session defaults to four hours when using at most one node (C&amp;lt;=16), and becomes 60 minutes when using four nodes (i.e., 48&amp;lt;C&amp;lt;=64), which the maximum number of nodes allowed for an interactive session by debugjob.&lt;br /&gt;
                                                             &lt;br /&gt;
For a short interactive sessions on a dedicated compute node of the teach cluster, use the 'debugjob' command as follows: &lt;br /&gt;
 teach01:~$ debugjob N&lt;br /&gt;
where N is the number of nodes.  On the Teach cluster, this is equivalent to &amp;lt;tt&amp;gt;debugjob -n 16*N &amp;lt;/tt&amp;gt;. The positive integer number &amp;lt;tt&amp;gt;N&amp;lt;/tt&amp;gt; can at most be 4.&lt;br /&gt;
&lt;br /&gt;
If no arguments are given to &amp;lt;tt&amp;gt;debugjob&amp;lt;/tt&amp;gt;, it allocates a single core on a Teach compute node.&lt;br /&gt;
&lt;br /&gt;
There are limits on the resources you can get with a debugjob, and how long you can get them.  No debugjob can run longer than four hours or use more than 64 cores, and each user can only run one at a time.  For longer computations, jobs must be submitted to the scheduler.&lt;br /&gt;
&lt;br /&gt;
== Submit a Job ==&lt;br /&gt;
&lt;br /&gt;
Teach uses SLURM as its job scheduler.  More-advanced details of how to interact with the scheduler can be found on the [[Slurm | Slurm page]].&lt;br /&gt;
&lt;br /&gt;
You submit jobs from a login node by passing a script to the sbatch command:&lt;br /&gt;
&lt;br /&gt;
 teach01:~scratch$ sbatch jobscript.sh&lt;br /&gt;
&lt;br /&gt;
This puts the job in the queue. It will run on the compute nodes in due course.&lt;br /&gt;
&lt;br /&gt;
It is worth mentioning some differences between the Niagara and Teach clusters:&lt;br /&gt;
&amp;lt;!--* On the Teach cluster, $HOME is writable on the compute nodes. On Niagara,--&amp;gt;&lt;br /&gt;
* $HOME is read-only on the compute nodes, so in most cases, you will want to submit jobs from your $SCRATCH directory.&lt;br /&gt;
* Each teach cluster node has two CPUs with 8 cores each, a total of 16 cores per node (there is no hyperthreading). Make sure to adjust accordingly the flags --ntasks-per-node or --ntasks together with --nodes for the examples found at [[Slurm | Slurm page]]. &lt;br /&gt;
* The current slurm configuration of the teach cluster allocates compute resources by core as opposed to by node. That means your tasks might land on nodes that have other jobs running, i.e. they might share the node. If you want to avoid that, make sure to add the following directive in your submitting script: #SBATCH --exclusive. This forces your job to use the compute nodes exclusively.&lt;br /&gt;
* The maximum walltime is currently set to 4 hours.&lt;br /&gt;
* There are 2 queues available: Compute queue and debug queue. Their usage limits are listed on the table below.&lt;br /&gt;
* 7 of the teach computing nodes have more memory than the 64GB default memory size. 5 of them have 128GB and 2 of them, 256GB. To run a big memory job on these nodes you need to add the following directive to your submitting script: #SBATCH --constraint=m128G. Replace m128G for m256G if you want your job to run exclusively on the 256GB nodes.&lt;br /&gt;
&lt;br /&gt;
== Limits ==&lt;br /&gt;
There are limits to the size and duration of your jobs, the number of jobs you can run and the number of jobs you can have queued. It also matters in which 'partition' the jobs runs. 'Partitions' are SLURM-speak for use cases. You specify the partition with the -p parameter to sbatch or salloc, but if you do not specify one, your job will run in the compute partition, which is the most common case.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Usage&lt;br /&gt;
!Partition&lt;br /&gt;
!Running jobs&lt;br /&gt;
!Submitted jobs (incl. running)&lt;br /&gt;
!Min. size of jobs&lt;br /&gt;
!Max. size of jobs&lt;br /&gt;
!Min. walltime&lt;br /&gt;
!Max. walltime &lt;br /&gt;
|-&lt;br /&gt;
|Interactive testing or troubleshooting || debug || 1 || 1 || 1 core || 4 nodes (64 cores)|| N/A || 4 hours&lt;br /&gt;
|-&lt;br /&gt;
|Compute jobs ||compute || 6 || 12 || 1 core || 8 nodes (128 cores)|| 15 minutes || 4 hours&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Within these limits, jobs may still have to wait in the queue.  Although there are no allocations on the teach cluster, the waiting time still depends on many factors, such as the number of nodes and the walltime, how many other jobs are waiting in the queue, and whether a job can fill an otherwise unused spot in the schedule.&lt;br /&gt;
&lt;br /&gt;
== Jupyter Hub ==&lt;br /&gt;
&lt;br /&gt;
Some courses, like the Summer School, use Jupyter notebooks.  In those cases, some (or all) of the large memory compute nodes are dedicated as jupyterhub nodes.  &lt;br /&gt;
&lt;br /&gt;
To connect to these, you must first set up an ssh tunnel from your local computer to the jupyterhub node in the SciNet datacenter.&lt;br /&gt;
On a local terminal on your computer (i.e., not logged into SciNet), use the following command:&lt;br /&gt;
&lt;br /&gt;
 ssh -L8888:jupyterhub7:8000 teach.scinet.utoronto.ca -N&lt;br /&gt;
&lt;br /&gt;
Instead of jupyterhub7, you can also choose jupyterhub1, jupyterhub2, jupyterhub3, jupyterhub4, jupyterhub5, or jupyterhub 6.&lt;br /&gt;
&lt;br /&gt;
Note: It turns out that for many computers, in particular for Macs, this ssh command should be the first ssh to teach.scinet.utoronto.ca, i.e, you cannot already have another ssh session to teach running on your computer.&lt;br /&gt;
&lt;br /&gt;
Also Note that this command will seem to 'hang' there, but the tunnel will have been established.&lt;br /&gt;
&lt;br /&gt;
Next, open your browser and go to &amp;lt;tt&amp;gt;https://localhost:8888&amp;lt;/tt&amp;gt; and you can login to the jupyterhub. &lt;br /&gt;
&lt;br /&gt;
Note: You will likely have to tell your browser to trust this site.&lt;br /&gt;
      &lt;br /&gt;
== Available Modules ==&lt;br /&gt;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        &lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot; style=&amp;quot;width:100%&amp;quot;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            &lt;br /&gt;
! style=&amp;quot;width: 25%&amp;quot; align=&amp;quot;center&amp;quot; | Module                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                &lt;br /&gt;
! style=&amp;quot;width: 17%&amp;quot; align=&amp;quot;center&amp;quot; | Versions (2018a)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
! align=&amp;quot;center&amp;quot; | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://www.continuum.io/anaconda-overview anaconda2]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 5.1.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| &amp;lt;div&amp;gt;Built to complement the rich, open source Python community, the Anaconda platform provides an enterprise-ready data analytics platform that empowers companies to adopt a modern open data science analytics architecture&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://www.r-project.org/ anaconda3]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 5.2.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| &amp;lt;div&amp;gt;R is a free software environment for statistical computing and graphics&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://github.com/smirarab/ASTRAL astral]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 4.7.12                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &lt;br /&gt;
| &amp;lt;div&amp;gt;ASTRAL is a tool for estimating an unrooted species tree given a set of unrooted gene trees&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://www.htslib.org/ bcftools]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 1.8                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        &lt;br /&gt;
| &amp;lt;div&amp;gt;SAMtools is a suite of programs for interacting with high-throughput sequencing data&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://github.com/arq5x/bedtools2 bedtools]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 2.27.1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &lt;br /&gt;
| &amp;lt;div&amp;gt;The BEDTools utilities allow one to address common genomics tasks such as finding feature overlaps and computing coverage&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://blast.ncbi.nlm.nih.gov/ blast+]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 2.7.1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| &amp;lt;div&amp;gt;Basic Local Alignment Search Tool, or BLAST, is an algorithm for comparing primary biological sequence information, such as the amino-acid sequences of different proteins or the nucleotides of DNA sequences&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://www.boost.org/ boost]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 1.67.0&amp;amp;nbsp; 1.66.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        &lt;br /&gt;
| &amp;lt;div&amp;gt;Boost provides free peer-reviewed portable C++ source libraries&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [http://bowtie-bio.sourceforge.net/bowtie2/index.shtml bowtie2]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 2.3.4.3                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    &lt;br /&gt;
| &amp;lt;div&amp;gt;Bowtie 2 is an ultrafast and memory-efficient tool for aligning sequencing reads to long reference sequences&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [http://bio-bwa.sourceforge.net/ bwa]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 0.7.17                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &lt;br /&gt;
| &amp;lt;div&amp;gt;Burrows-Wheeler Aligner (BWA) is an efficient program that aligns relatively short nucleotide sequences against a long reference sequence such as the human genome&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://github.com/brentp/bwa-meth bwameth]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 0.4.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| &amp;lt;div&amp;gt;Fast and accurate alignment of BS-Seq reads&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://www.cmake.org cmake]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 3.12.3                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &lt;br /&gt;
| &amp;lt;div&amp;gt;CMake, the cross-platform, open-source build system&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [http://opensource.scilifelab.se/projects/cutadapt/ cutadapt]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 2.1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        &lt;br /&gt;
| &amp;lt;div&amp;gt;Cutadapt finds and removes adapter sequences, primers, poly-A tails and other types of unwanted sequence from your high-throughput sequencing reads&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [http://deeptools.readthedocs.org/ deeptools]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 3.2.1-anaconda2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            &lt;br /&gt;
| &amp;lt;div&amp;gt;deepTools is a suite of python tools particularly developed for the efficient analysis of high-throughput sequencing data, such as ChIP-seq, RNA-seq or MNase-seq&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://bioconductor.org/packages/release/bioc/html/DEXSeq.html dexseq]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 1.24.4                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &lt;br /&gt;
| &amp;lt;div&amp;gt;Inference of differential exon usage in RNA sequencing&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [http://www.bioinformatics.babraham.ac.uk/projects/fastqc/ fastqc]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 0.11.8                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &lt;br /&gt;
| &amp;lt;div&amp;gt;FastQC is a quality control application for high throughput sequence data&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [http://www.fftw.org fftw]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 3.3.7                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| &amp;lt;div&amp;gt;FFTW is a C subroutine library for computing the discrete Fourier transform (DFT) in one or more dimensions, of arbitrary input size, and of both real and complex data&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://gcc.gnu.org gcc]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 7.3.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| &amp;lt;div&amp;gt;The GNU Compiler Collection for C, C++, and Fortran&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://www.gnu.org/software/gdb/gdb.html gdb]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 8.1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        &lt;br /&gt;
| &amp;lt;div&amp;gt;The GNU Project Debugger&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://git-annex.branchable.com/ git-annex]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 2.8.1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| &amp;lt;div&amp;gt;git-annex allows managing files with git, without checking the file contents into git&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://gmplib.org/ gmp]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 6.1.2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| &amp;lt;div&amp;gt;GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://www.gnu.org/software/parallel gnu-parallel]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 20180322                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   &lt;br /&gt;
| &amp;lt;div&amp;gt;GNU parallel is a shell tool for executing (usually serial) jobs in parallel&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [http://gnuplot.sourceforge.net/ gnuplot]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 5.2.2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| &amp;lt;div&amp;gt;Portable interactive, function plotting utility&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://www.gnu.org/software/gsl/ gsl]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 2.4                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        &lt;br /&gt;
| &amp;lt;div&amp;gt;The GNU Scientific Library (GSL) is a numerical library for C and C++&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://portal.hdfgroup.org/display/support hdf5]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 1.8.20&amp;amp;nbsp; 1.10.4                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        &lt;br /&gt;
| &amp;lt;div&amp;gt;HDF5 is a data model, library, and file format for storing and managing data&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://ccb.jhu.edu/software/hisat2/index.shtml hisat2]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 2.1.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| &amp;lt;div&amp;gt;HISAT2 is a fast and sensitive alignment program for mapping next-generation sequencing reads (both DNA and RNA) against the general human population (as well as against a single reference genome)&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://www-huber.embl.de/users/anders/HTSeq/ htseq]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 0.11.1-anaconda2&amp;amp;nbsp; 0.11.1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              &lt;br /&gt;
| &amp;lt;div&amp;gt;A framework to process and analyze data from high-throughput sequencing (HTS) assays&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [http://www.htslib.org/ htslib]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 1.8                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        &lt;br /&gt;
| &amp;lt;div&amp;gt;A C library for reading/writing high-throughput sequencing data&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://software.intel.com/en-us/parallel-studio-xe intel]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 2018.4                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &lt;br /&gt;
| &amp;lt;div&amp;gt;Intel compilers suite for C, C++, and Fortran, including the MKL, TBB, IPP, DAAL, and PSTL libraries&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://software.intel.com/en-us/mpi-library intelmpi]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 2018.4                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &lt;br /&gt;
| &amp;lt;div&amp;gt;Intel MPI library with compiler wrappers for C, C++, and Fortran&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://java.com/ java]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 1.8.0_201                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  &lt;br /&gt;
| &amp;lt;div&amp;gt;Java Platform, Standard Edition (Java SE) lets you develop and deploy Java applications on desktops and servers&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://github.com/LMDB/lmdb lmdb]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 0.9.22                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &lt;br /&gt;
| &amp;lt;div&amp;gt;OpenLDAP's Lightning Memory-Mapped Database (LMDB) library&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://github.com/dpryan79/MethylDackel methyldackel]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 0.4.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| &amp;lt;div&amp;gt;A (mostly) universal methylation extractor for BS-seq experiments&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://www.bioinf.uni-leipzig.de/Software/metilene/ metilene]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 0.2.7                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| &amp;lt;div&amp;gt;Fast and sensitive detection of differential DNA methylation&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [http://hollywood.mit.edu/burgelab/miso miso]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 0.5.4                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| &amp;lt;div&amp;gt;A probabilistic framework that quantitates the expression level of alternatively spliced genes from RNA-Seq data, and identifies differentially regulated isoforms or exons across samples&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://software.intel.com/en-us/mkl mkl]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 2018.4                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &lt;br /&gt;
| &amp;lt;div&amp;gt;Intel Math Kernel Library&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://www.unidata.ucar.edu/software/netcdf/ netcdf]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 4.6.1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| &amp;lt;div&amp;gt;NetCDF (network Common Data Form) is a set of software libraries and machine-independent data formats that support the creation, access, and sharing of array-oriented scientific data&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://www.open-mpi.org/ openmpi]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 3.1.1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| &amp;lt;div&amp;gt;The Open MPI Project is an open source MPI-2 implementation&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [http://oprofile.sourceforge.net oprofile]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 1.3.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| &amp;lt;div&amp;gt;OProfile is a system-wide profiler for Linux systems, capable of profiling all running code at low overhead&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [http://www.stevekellylab.com/software/orthofinder orthofinder]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 2.2.7                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| &amp;lt;div&amp;gt;Program for identifying orthologous protein sequence families&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [http://www.astro.caltech.edu/~tjp/pgplot/ pgplot]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 5.2.2-x                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    &lt;br /&gt;
| &amp;lt;div&amp;gt;Graphics subroutine library for C/C++ and Fortran&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [http://prinseq.sourceforge.net prinseq]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 0.20.4                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &lt;br /&gt;
| &amp;lt;div&amp;gt;A bioinformatics tool to PRe-process and show INformation of SEQuence data&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://python.org/ python]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 3.6.8                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| &amp;lt;div&amp;gt;Python is a programming language that lets you work more quickly and integrate your systems more effectively&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://www.r-project.org/ r]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 3.5.1&amp;amp;nbsp; 3.5.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| &amp;lt;div&amp;gt;R is a free software environment for statistical computing and graphics&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://github.com/vanzonr/rarray rarray]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 1.2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        &lt;br /&gt;
| &amp;lt;div&amp;gt;Library for runtime multi-dimensional arrays in C++&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://github.com/stamatak/standard-RAxML raxml]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 8.2.12                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &lt;br /&gt;
| &amp;lt;div&amp;gt;RAxML search algorithm for maximum likelihood based inference of phylogenetic trees&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://www.htslib.org/ samtools]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 1.8                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        &lt;br /&gt;
| &amp;lt;div&amp;gt;SAM Tools provide various utilities for manipulating alignments in the SAM format, including sorting, merging, indexing and generating alignments in a per-position format&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://www.sylabs.io/docs/ singularity]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 2.6.1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| &amp;lt;div&amp;gt;Singularity is a portable application stack packaging and runtime utility.&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://www.hwaci.com/sw/sqlite/ sqlite]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 3.23.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &lt;br /&gt;
| &amp;lt;div&amp;gt;SQLite: SQL Database Engine in a C Library&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://ccb.jhu.edu/software/stringtie stringtie]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 1.3.5                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| &amp;lt;div&amp;gt;StringTie is a fast and highly efficient assembler of RNA-Seq alignments into potential transcripts&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://01.org/tbb/ tbb]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 2019.4                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &lt;br /&gt;
| &amp;lt;div&amp;gt;Intel(R) Threading Building Blocks (Intel(R) TBB) lets you easily write parallel C++ programs that take full advantage of multicore performance, that are portable, composable and have future-proof scalability&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://www.bioinformatics.babraham.ac.uk/projects/trim_galore/ trimgalore]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 0.6.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| &amp;lt;div&amp;gt;Function A wrapper tool around Cutadapt and FastQC to consistently apply quality and adapter trimming to FastQ files, with some extra functionality for MspI-digested RRBS-type (Reduced Representation Bisufite-Seq) libraries&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [https://cran.rstudio.com/web/packages/UpSetR upsetr]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 1.3.3                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      &lt;br /&gt;
| &amp;lt;div&amp;gt;R implementation of the UpSet set visualization technique published by Lex, Gehlenborg, et al&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  &lt;br /&gt;
|-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | [http://valgrind.org valgrind]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | 3.14.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &lt;br /&gt;
| &amp;lt;div&amp;gt;Valgrind provides debugging and profiling tools&amp;lt;/div&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                &lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2863</id>
		<title>Security Hub</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2863"/>
		<updated>2020-11-10T05:54:22Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* Security Recommendations, Updates and  ... */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Security Recommendations, Updates and  ... =&lt;br /&gt;
&lt;br /&gt;
We include here basic security advices, recommendations and the latest updates related to cyber-security topics.&lt;br /&gt;
&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH SSH]&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH_keys Using SSH keys]&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH#Two-Factor_authentication Multi Factor Authentication (MFA)]&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/Two-Factor_setup Using MFA on Niagara]&lt;br /&gt;
* MFA in your own computer (coming soon)&lt;br /&gt;
&lt;br /&gt;
* '''How to report a security incident''' -- to report a security incident, please send an email to:  security _at_ scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
= News and Updates =&lt;br /&gt;
&lt;br /&gt;
* 2020-07-08: New vulnerability found in putty, https://www.tenable.com/cve/CVE-2020-14002&lt;br /&gt;
* 2019-05: [https://docs.scinet.utoronto.ca/index.php/SSH_Changes_in_May_2019 SSH Changes on Niagara (May 2019)]&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2862</id>
		<title>Security Hub</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2862"/>
		<updated>2020-11-10T05:44:20Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* Security Recommendations, Updates and  ... */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Security Recommendations, Updates and  ... =&lt;br /&gt;
&lt;br /&gt;
We include here basic security advices, recommendations and the latest updates related to cyber-security topics.&lt;br /&gt;
&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH SSH]&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH_keys Using SSH keys]&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH#Two-Factor_authentication Multi Factor Authentication (MFA)]&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/Two-Factor_setup Using MFA on Niagara]&lt;br /&gt;
* MFA in your own computer&lt;br /&gt;
&lt;br /&gt;
* '''How to report a security incident''' -- to report a security incident, please send an email to:  security _at_ scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
= News and Updates =&lt;br /&gt;
&lt;br /&gt;
* 2020-07-08: New vulnerability found in putty, https://www.tenable.com/cve/CVE-2020-14002&lt;br /&gt;
* 2019-05: [https://docs.scinet.utoronto.ca/index.php/SSH_Changes_in_May_2019 SSH Changes on Niagara (May 2019)]&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2861</id>
		<title>Security Hub</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2861"/>
		<updated>2020-11-10T05:43:56Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* Security Recommendations, Updates and  ... */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Security Recommendations, Updates and  ... =&lt;br /&gt;
&lt;br /&gt;
We include here basic security advices, recommendations and the latest updates related to cyber-security topics.&lt;br /&gt;
&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH SSH]&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH_keys Using SSH keys]&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH#Two-Factor_authentication Multi Factor Authentication (MFA)]&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/Two-Factor_setup Using MFA on Niagara]&lt;br /&gt;
* MFA in your own computer&lt;br /&gt;
&lt;br /&gt;
* How to report a security incident -- to report a security incident, please send an email to:  security _at_ scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
= News and Updates =&lt;br /&gt;
&lt;br /&gt;
* 2020-07-08: New vulnerability found in putty, https://www.tenable.com/cve/CVE-2020-14002&lt;br /&gt;
* 2019-05: [https://docs.scinet.utoronto.ca/index.php/SSH_Changes_in_May_2019 SSH Changes on Niagara (May 2019)]&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=MATLAB&amp;diff=2761</id>
		<title>MATLAB</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=MATLAB&amp;diff=2761"/>
		<updated>2020-08-16T21:37:55Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* Avaiable MATLAB runtime versions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We often get questions about running MATLAB on Niagara.  With a few exceptions for compilers and debuggers, SciNet does not purchase licenses for commercial software.  As such, SciNet does not have a license for MATLAB, nor will it in the future.  If users wish to run MATLAB they must supply their own license, or explore alternative options.  This page gives information about the options for getting your MATLAB code to run, in recommended order. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Not using MATLAB ==&lt;br /&gt;
&lt;br /&gt;
Users can attempt to run MATLAB code using the open-source program [[Octave]], accessible through the octave module.  Though there are some differences between the two programs, Octave has been designed to interpret MATLAB code and can often be used in place of MATLAB.  If your MATLAB code does not use some of the more-fancy MATLAB toolboxes, you may be able to get away with using Octave instead.  Be sure to test your implementation in Octave thoroughly before committing to this option.&lt;br /&gt;
&lt;br /&gt;
It is worth observing that, while convenient for prototyping and running on a single workstation, there are reasons to avoid using MATLAB for larger HPC/ARC projects.  These include the prohibitive license cost for large-scale work, poor performance at scale, and portability issues.  If you can switch to a license-free option, such as Python, it may be worth the effort.&lt;br /&gt;
&lt;br /&gt;
== Using stand-alone MATLAB executables ==&lt;br /&gt;
&lt;br /&gt;
=== Creating a MATLAB stand-alone executable ===&lt;br /&gt;
&lt;br /&gt;
If MATLAB must be used, you may be able to compile your MATLAB code into a stand-alone executable, and run this on a Niagara compute node.  The version of MATLAB being used will require a compiler license, and the compilation must be done on a Linux machine (not Niagara).  &lt;br /&gt;
&lt;br /&gt;
Note: The compilation of a matlab code produces two files, e.g., compiling &amp;lt;tt&amp;gt;myscript.m&amp;lt;/tt&amp;gt; will produce a file &amp;lt;tt&amp;gt;myscript&amp;lt;/tt&amp;gt; and a file &amp;lt;tt&amp;gt;run_myscripts.sh&amp;lt;/tt&amp;gt;. You will need both files.&lt;br /&gt;
&lt;br /&gt;
=== Using a MATLAB stand-alone executable on Niagara ===&lt;br /&gt;
&lt;br /&gt;
Once the compilation is done, the executable and its run script (&amp;lt;tt&amp;gt;run_SOMETHING.sh&amp;lt;/tt&amp;gt;) can be copied to SciNet, and run using the MATLAB Compiler Runtime (MCR), which can be accessed using the MCR module.  The MCR used must be the same version of MATLAB as the compiler.  If the version of MCR that you need is not listed among the MCR module versions, contact us and we will install the version which you require.&lt;br /&gt;
&lt;br /&gt;
Here is an example script which uses the MCR.  Note that the &amp;quot;run_myscript.sh&amp;quot; script is produced by the MATLAB compiler, together with the &amp;quot;myscript&amp;quot; executable (assuming you were working on the myscript.m MATLAB code):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#SBATCH --nodes=1&lt;br /&gt;
#SBATCH --cpus-per-task=40&lt;br /&gt;
#SBATCH --time=1:00:00&lt;br /&gt;
#SBATCH --job-name test_matlab&lt;br /&gt;
#SBATCH --output=matlab_output_%j.txt&lt;br /&gt;
&lt;br /&gt;
# DIRECTORY TO RUN - $SLURM_SUBMIT_DIR is the directory from which the job was submitted&lt;br /&gt;
cd $SLURM_SUBMIT_DIR&lt;br /&gt;
&lt;br /&gt;
# load module&lt;br /&gt;
module load mcr/R2018a&lt;br /&gt;
&lt;br /&gt;
# Directory for the MCR to use to write temporary files.  Use whatever directory you wish.&lt;br /&gt;
mkdir -p $SCRATCH/temp&lt;br /&gt;
export MCR_CACHE_ROOT=$SCRATCH/temp&lt;br /&gt;
&lt;br /&gt;
# EXECUTION COMMAND (note that the MATLAB script may require that LD_LIBRARY_PATH be added&lt;br /&gt;
# to the script arguments).  Note that, if the calculations are serial, you must bundle 40 such&lt;br /&gt;
# calculations together for production runs!&lt;br /&gt;
./run_myscript.sh $MATLAB:$LD_LIBRARY_PATH&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Available MATLAB runtime versions ===&lt;br /&gt;
&lt;br /&gt;
Below is a list of the available MATLAB runtime versions on Niagara, with the required module command:&lt;br /&gt;
&lt;br /&gt;
 module load NiaEnv/2018a mcr/R2018a&lt;br /&gt;
 module load NiaEnv/2019b mcr/R2019a&lt;br /&gt;
 module load CCEnv nixpkgs/16.09 mcr/R2013a&lt;br /&gt;
 module load CCEnv nixpkgs/16.09 mcr/R2013b&lt;br /&gt;
 module load CCEnv nixpkgs/16.09 mcr/R2014a&lt;br /&gt;
 module load CCEnv nixpkgs/16.09 mcr/R2014b&lt;br /&gt;
 module load CCEnv nixpkgs/16.09 mcr/R2015a&lt;br /&gt;
 module load CCEnv nixpkgs/16.09 mcr/R2015b&lt;br /&gt;
 module load CCEnv nixpkgs/16.09 mcr/R2016a&lt;br /&gt;
 module load CCEnv nixpkgs/16.09 mcr/R2016b&lt;br /&gt;
 module load CCEnv nixpkgs/16.09 mcr/R2017a&lt;br /&gt;
 module load CCEnv nixpkgs/16.09 mcr/R2017b&lt;br /&gt;
&lt;br /&gt;
== Tunneling to a license server ==&lt;br /&gt;
&lt;br /&gt;
If you have access to a non-SciNet MATLAB license server, and have installed MATLAB in your $HOME directory, you can [[SSH_Tunneling|setup your submission script]] to access the external license server.  The following lines should be added to the beginning of your submission script, after the #SBATCH commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PORT=XXX                                         # port number of the license server&lt;br /&gt;
LICENSE_IP=AAA.BBB.CCC.DDD                       # IP address of the license server&lt;br /&gt;
ssh nia-gw -L${PORT}:${LICENSE_IP}:${PORT} -N &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This last line will tunnel the port from the compute node back to the license server, through nia-gw.  The port number and IP address of the licence server must be supplied by the system administrator of the license server.&lt;br /&gt;
&lt;br /&gt;
== Using a different Consortium ==&lt;br /&gt;
&lt;br /&gt;
Both [https://www.sharcnet.ca/my/software/show/54 Sharcnet] and [https://www.westgrid.ca/support/software/matlab Westgrid] have purchased different types of MATLAB licenses.  Users can contact those consortia if they wish to attempt to run on those systems.&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Main_Page&amp;diff=2712</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Main_Page&amp;diff=2712"/>
		<updated>2020-07-14T22:45:14Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* System Status */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{| style=&amp;quot;border-spacing:10px; width: 95%&amp;quot;&lt;br /&gt;
| style=&amp;quot;padding:1em; padding-top:.1em; border:2px solid #0645ad; background-color:#f6f6f6; border-radius:7px&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==System Status==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Use &amp;quot;Up&amp;quot; or &amp;quot;Down&amp;quot;; these are templates. --&amp;gt;&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot; &lt;br /&gt;
|{{Up|Niagara|Niagara_Quickstart}}&lt;br /&gt;
|{{up|HPSS|HPSS}}&lt;br /&gt;
|{{Up|Mist|Mist}}&lt;br /&gt;
|{{Up|Teach|Teach}}&lt;br /&gt;
|-&lt;br /&gt;
|{{Up|Jupyter Hub|Jupyter_Hub}}&lt;br /&gt;
|{{Up|Scheduler|Niagara_Quickstart#Submitting_jobs}}&lt;br /&gt;
|{{Up|File system|Niagara_Quickstart#Storage_and_quotas}}&lt;br /&gt;
|{{Up|Burst Buffer|Burst_Buffer}}&lt;br /&gt;
|-&lt;br /&gt;
|{{Up|Login Nodes|Niagara_Quickstart#Logging_in}} &lt;br /&gt;
|{{Up|External Network|Niagara_Quickstart#Logging_in}} &lt;br /&gt;
|{{Up|Globus|Globus}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Current Messages: --&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;July 13, 4:40 PM:&amp;lt;/b&amp;gt; Most systems are available again. Only Mist is still being brought up.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;July 13, 10:00 AM:&amp;lt;/b&amp;gt; '''SciNet/Niagara Downtime In Progress'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;SciNet/Niagara Downtime Announcement, July 13, 2020&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
All resources at SciNet will undergo a maintenance shutdown on Monday July 13, 2020, starting at 10:00 am EDT, for file system and scheduler upgrades.  There will be no access to any of the SciNet systems (Niagara, Mist, HPSS, Teach cluster, or the file systems) during this time.&lt;br /&gt;
We expect to be able to bring the systems back around 3 PM (EST) on the same day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; June 29, 6:21:00  PM:&amp;lt;/b&amp;gt; Systems are available again.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; June 29, 12:30:00  PM:&amp;lt;/b&amp;gt; Power Outage caused thermal shutdown.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;June 20, 2020, 10:24 PM:&amp;lt;/b&amp;gt; File systems are back up.  Unfortunately, all running jobs would have died and users are asked to resubmit them.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;June 20, 2020, 9:48 PM:&amp;lt;/b&amp;gt; An issue with the file systems is causing trouble.  We are investigating the cause.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;June 15, 2020, 10:30 PM:&amp;lt;/b&amp;gt; A &amp;lt;b&amp;gt;power glitch&amp;lt;/b&amp;gt; caused some compute nodes to be rebooted: jobs running at the time may have failed; users are asked to resubmit these jobs.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--  When removing system status entries, please archive them to: https://docs.scinet.utoronto.ca/index.php/Previous_messages --&amp;gt;&lt;br /&gt;
{|style=&amp;quot;border-spacing: 10px;width: 100%&amp;quot;&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;margin: 1em; padding:1em; padding-top:.1em; border:2px solid #000; background-color:#fff; border-radius:7px; width: 49.5%&amp;quot; |&lt;br /&gt;
&lt;br /&gt;
== QuickStart Guides ==&lt;br /&gt;
* [[Niagara Quickstart]]&lt;br /&gt;
* [[HPSS | HPSS archival storage]]&lt;br /&gt;
* [[SOSCIP_GPU | SOSCIP GPU cluster]]&lt;br /&gt;
* [[Mist| Mist Power 9 GPU cluster]]&lt;br /&gt;
* [[Teach|Teach cluster]]&lt;br /&gt;
* [[FAQ | FAQ (frequently asked questions)]]&lt;br /&gt;
* [[Acknowledging SciNet]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; style=&amp;quot;margin: 1em; padding:1em; padding-top:.1em; border:2px solid #000; background-color:#fff; border-radius:7px; width: 49.5%&amp;quot; |&lt;br /&gt;
&lt;br /&gt;
== Tutorials, Manuals, etc. ==&lt;br /&gt;
* [https://support.scinet.utoronto.ca/education/browse.php SciNet education material]&lt;br /&gt;
* [https://www.youtube.com/c/SciNetHPCattheUniversityofToronto SciNet's YouTube channel]&lt;br /&gt;
* [[Modules specific to Niagara|Software Modules specific to Niagara]] &lt;br /&gt;
* [[Commercial software]]&lt;br /&gt;
* [[Burst Buffer]]&lt;br /&gt;
* [[SSH Tunneling]]&lt;br /&gt;
* [[SSH#Two-Factor_authentication|Two-Factor Authentication]]&lt;br /&gt;
* [[Visualization]]&lt;br /&gt;
* [[Running Serial Jobs on Niagara]]&lt;br /&gt;
* [[Jupyter Hub]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=MediaWiki:Sidebar&amp;diff=2700</id>
		<title>MediaWiki:Sidebar</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=MediaWiki:Sidebar&amp;diff=2700"/>
		<updated>2020-07-09T21:20:46Z</updated>

		<summary type="html">&lt;p&gt;Mponce: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* Systems&lt;br /&gt;
** Niagara_Quickstart| Niagara&lt;br /&gt;
** HPSS |HPSS&lt;br /&gt;
** Mist |Mist&lt;br /&gt;
** Jupyter_Hub | Jupyter Hub&lt;br /&gt;
** Teach | Teach Cluster&lt;br /&gt;
* Knowledge Base&lt;br /&gt;
** FAQ|FAQ&lt;br /&gt;
** Using_modules | Using modules&lt;br /&gt;
** Slurm | Slurm scheduler&lt;br /&gt;
** Data_Management | Data management&lt;br /&gt;
** Security_Hub | Security Hub&lt;br /&gt;
* navigation&lt;br /&gt;
** Main Page|Main Page&lt;br /&gt;
** recentchanges-url|recentchanges&lt;br /&gt;
** randompage-url|randompage&lt;br /&gt;
** helppage|help&lt;br /&gt;
* SEARCH&lt;br /&gt;
* TOOLBOX&lt;br /&gt;
* LANGUAGES&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2699</id>
		<title>Security Hub</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2699"/>
		<updated>2020-07-09T16:50:31Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* Security Recommendations, Updates and  ... */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Security Recommendations, Updates and  ... =&lt;br /&gt;
&lt;br /&gt;
We include here basic security advices, recommendations and the latest updates related to cyber-security topics.&lt;br /&gt;
&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH SSH]&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH_keys Using SSH keys]&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH#Two-Factor_authentication Multi Factor Authentication (MFA)]&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/Two-Factor_setup Using MFA on Niagara]&lt;br /&gt;
* MFA in your own computer&lt;br /&gt;
&lt;br /&gt;
= News and Updates =&lt;br /&gt;
&lt;br /&gt;
* 2020-07-08: New vulnerability found in putty, https://www.tenable.com/cve/CVE-2020-14002&lt;br /&gt;
* 2019-05: [https://docs.scinet.utoronto.ca/index.php/SSH_Changes_in_May_2019 SSH Changes on Niagara (May 2019)]&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Security&amp;diff=2698</id>
		<title>Security</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Security&amp;diff=2698"/>
		<updated>2020-07-09T16:49:05Z</updated>

		<summary type="html">&lt;p&gt;Mponce: Mponce moved page Security to Security Hub&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Security Hub]]&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2697</id>
		<title>Security Hub</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2697"/>
		<updated>2020-07-09T16:49:05Z</updated>

		<summary type="html">&lt;p&gt;Mponce: Mponce moved page Security to Security Hub&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Security Recommendations, Updates and  ... =&lt;br /&gt;
&lt;br /&gt;
We include here basic security advices, recommendations and the latest updates related to cyber-security topics.&lt;br /&gt;
&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH SSH]&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH_keys Using SSH keys]&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH#Two-Factor_authentication Multi Factor Authentication (MFA)]&lt;br /&gt;
* Using MFA on Niagara&lt;br /&gt;
* MFA in your own computer&lt;br /&gt;
&lt;br /&gt;
= News and Updates =&lt;br /&gt;
&lt;br /&gt;
* 2020-07-08: New vulnerability found in putty, https://www.tenable.com/cve/CVE-2020-14002&lt;br /&gt;
* 2019-05: [https://docs.scinet.utoronto.ca/index.php/SSH_Changes_in_May_2019 SSH Changes on Niagara (May 2019)]&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2696</id>
		<title>Security Hub</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2696"/>
		<updated>2020-07-09T16:42:04Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* Security Recommendations, Updates and  ... */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Security Recommendations, Updates and  ... =&lt;br /&gt;
&lt;br /&gt;
We include here basic security advices, recommendations and the latest updates related to cyber-security topics.&lt;br /&gt;
&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH SSH]&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH_keys Using SSH keys]&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH#Two-Factor_authentication Multi Factor Authentication (MFA)]&lt;br /&gt;
* Using MFA on Niagara&lt;br /&gt;
* MFA in your own computer&lt;br /&gt;
&lt;br /&gt;
= News and Updates =&lt;br /&gt;
&lt;br /&gt;
* 2020-07-08: New vulnerability found in putty, https://www.tenable.com/cve/CVE-2020-14002&lt;br /&gt;
* 2019-05: [https://docs.scinet.utoronto.ca/index.php/SSH_Changes_in_May_2019 SSH Changes on Niagara (May 2019)]&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2695</id>
		<title>Security Hub</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2695"/>
		<updated>2020-07-09T16:41:32Z</updated>

		<summary type="html">&lt;p&gt;Mponce: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Security Recommendations, Updates and  ... =&lt;br /&gt;
&lt;br /&gt;
We include here basic security advices, recommendations and the latest updates related to cyber-security topics.&lt;br /&gt;
&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH SSH]&lt;br /&gt;
* [Using keys]&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH#Two-Factor_authentication Multi Factor Authentication (MFA)]&lt;br /&gt;
* Using MFA on Niagara&lt;br /&gt;
* MFA in your own computer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= News and Updates =&lt;br /&gt;
&lt;br /&gt;
* 2020-07-08: New vulnerability found in putty, https://www.tenable.com/cve/CVE-2020-14002&lt;br /&gt;
* 2019-05: [https://docs.scinet.utoronto.ca/index.php/SSH_Changes_in_May_2019 SSH Changes on Niagara (May 2019)]&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2694</id>
		<title>Security Hub</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2694"/>
		<updated>2020-07-09T16:41:00Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* News and Updates */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Security Recommendations, Updates and  ... =&lt;br /&gt;
&lt;br /&gt;
We include here basic security advices, recommendations and the latest updates related to cyber-security topics.&lt;br /&gt;
&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH SSH]&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH#Two-Factor_authentication Multi Factor Authentication (MFA)]&lt;br /&gt;
* Using MFA on Niagara&lt;br /&gt;
* MFA in your own computer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= News and Updates =&lt;br /&gt;
&lt;br /&gt;
* 2020-07-08: New vulnerability found in putty, https://www.tenable.com/cve/CVE-2020-14002&lt;br /&gt;
* 2019-05: [ https://docs.scinet.utoronto.ca/index.php/SSH_Changes_in_May_2019 SSH Changes on Niagara (May 2019) ]&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2693</id>
		<title>Security Hub</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2693"/>
		<updated>2020-07-09T16:39:23Z</updated>

		<summary type="html">&lt;p&gt;Mponce: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Security Recommendations, Updates and  ... =&lt;br /&gt;
&lt;br /&gt;
We include here basic security advices, recommendations and the latest updates related to cyber-security topics.&lt;br /&gt;
&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH SSH]&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH#Two-Factor_authentication Multi Factor Authentication (MFA)]&lt;br /&gt;
* Using MFA on Niagara&lt;br /&gt;
* MFA in your own computer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= News and Updates =&lt;br /&gt;
&lt;br /&gt;
* 2020-07-08: New vulnerability found in putty, https://www.tenable.com/cve/CVE-2020-14002&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2692</id>
		<title>Security Hub</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2692"/>
		<updated>2020-07-09T16:36:14Z</updated>

		<summary type="html">&lt;p&gt;Mponce: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;# Security Recommendations, Updates and  ... #&lt;br /&gt;
&lt;br /&gt;
We include here basic security advices, recommendations and the latest updates related to cyber-security topics.&lt;br /&gt;
&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH SSH]&lt;br /&gt;
* Multi Factor Authentication (MFA)&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH#Two-Factor_authentication Using MFA on Niagara]&lt;br /&gt;
* MFA in your own computer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# News and Updates #&lt;br /&gt;
&lt;br /&gt;
* 2020-07-08: New vulnerability found in putty, https://www.tenable.com/cve/CVE-2020-14002&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2691</id>
		<title>Security Hub</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2691"/>
		<updated>2020-07-09T16:34:58Z</updated>

		<summary type="html">&lt;p&gt;Mponce: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;# Security Recommendations, Updates and  ... #&lt;br /&gt;
&lt;br /&gt;
We include here basic security advices, recommendations and the latest updates related to cyber-security topics.&lt;br /&gt;
&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH SSH]&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH#Two-Factor_authentication Using &amp;quot;Multi Factor Authentication&amp;quot; (MFA)]&lt;br /&gt;
* S&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# News and Updates #&lt;br /&gt;
&lt;br /&gt;
* 2020-07-08: New vulnerability found in putty, https://www.tenable.com/cve/CVE-2020-14002&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2690</id>
		<title>Security Hub</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2690"/>
		<updated>2020-07-09T16:34:28Z</updated>

		<summary type="html">&lt;p&gt;Mponce: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;# Security Recommendations, Updates and  ...&lt;br /&gt;
&lt;br /&gt;
We include here basic security advices, recommendations and the latest updates related to cyber-security topics.&lt;br /&gt;
&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH SSH]&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH#Two-Factor_authentication Using &amp;quot;Multi Factor Authentication&amp;quot; (MFA)]&lt;br /&gt;
* S&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# News and Updates&lt;br /&gt;
&lt;br /&gt;
* 2020-07-08: New vulnerability found in putty, https://www.tenable.com/cve/CVE-2020-14002&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2689</id>
		<title>Security Hub</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2689"/>
		<updated>2020-07-09T16:27:56Z</updated>

		<summary type="html">&lt;p&gt;Mponce: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Security Recommendations, Updates and  ...&lt;br /&gt;
&lt;br /&gt;
We include here basic security advices, recommendations and the latest updates related to cyber-security topics.&lt;br /&gt;
&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH SSH]&lt;br /&gt;
* [https://docs.scinet.utoronto.ca/index.php/SSH#Two-Factor_authentication Using MFA]&lt;br /&gt;
* S&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
##  News and Updates&lt;br /&gt;
&lt;br /&gt;
* 2020-07-08: New vulnerability found in putty, https://www.tenable.com/cve/CVE-2020-14002&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2688</id>
		<title>Security Hub</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Security_Hub&amp;diff=2688"/>
		<updated>2020-07-09T16:15:23Z</updated>

		<summary type="html">&lt;p&gt;Mponce: Created page with &amp;quot;Security Recommendations, Updates and  ...  We include here basic security advices, recommendations and the latest updates related to cyber-security topics.  * SSH * Using MFA...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Security Recommendations, Updates and  ...&lt;br /&gt;
&lt;br /&gt;
We include here basic security advices, recommendations and the latest updates related to cyber-security topics.&lt;br /&gt;
&lt;br /&gt;
* SSH&lt;br /&gt;
* Using MFA&lt;br /&gt;
* S&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
##  News and Updates&lt;br /&gt;
&lt;br /&gt;
* 2020-07-08: New vulnerability found in putty, https://www.tenable.com/cve/CVE-2020-14002&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Main_Page&amp;diff=2415</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Main_Page&amp;diff=2415"/>
		<updated>2020-01-09T16:55:29Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* System Status */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{| style=&amp;quot;border-spacing:10px; width: 95%&amp;quot;&lt;br /&gt;
| style=&amp;quot;padding:1em; padding-top:.1em; border:2px solid #0645ad; background-color:#f6f6f6; border-radius:7px&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==System Status==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Use &amp;quot;Up&amp;quot; or &amp;quot;Down&amp;quot;; these are templates. --&amp;gt;&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot; &lt;br /&gt;
|{{Up|Niagara|Niagara_Quickstart}}&lt;br /&gt;
|{{Up|HPSS|HPSS}}&lt;br /&gt;
|{{Up|SOSCIP&amp;amp;nbsp;GPU|SOSCIP_GPU}}&lt;br /&gt;
|{{Up|P8|P8}}&lt;br /&gt;
|-&lt;br /&gt;
|{{Up|Teach|Teach}}&lt;br /&gt;
|{{Up|Jupyter Hub|Jupyter_Hub}}&lt;br /&gt;
|{{Up|Scheduler|Niagara_Quickstart#Submitting_jobs}}&lt;br /&gt;
|{{Up| File system|Niagara_Quickstart#Storage_and_quotas}}&lt;br /&gt;
|-&lt;br /&gt;
|{{Up|External Network|Niagara_Quickstart#Logging_in}} &lt;br /&gt;
|{{Up|Globus|Globus}}&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Current Messages: --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Jan 9 2020, 11:30 AM:&amp;lt;/b&amp;gt; External ssh connectivity restored, issue related to the university network.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Jan 9 2020, 9:24 AM:&amp;lt;/b&amp;gt; We received reports of users having trouble connecting into the SciNet data centre; we're investigating.  Systems are up and running and jobs are fine.&amp;lt;p&amp;gt;&lt;br /&gt;
As a work around, in the meantime, it appears to be possible to log into graham, cedar or beluga, and then ssh to niagara.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Downtime announcement:&amp;lt;/b&amp;gt;&lt;br /&gt;
To prepare for the upcoming expansion of Niagara, there will be a&lt;br /&gt;
one-day maintenance shutdown on &amp;lt;b&amp;gt;January 13th 2020, starting at 8 am&lt;br /&gt;
EST&amp;lt;/b&amp;gt;.  There will be no access to Niagara, Mist, HPSS or teach, nor&lt;br /&gt;
to their file systems during this time.&lt;br /&gt;
&amp;lt;!--  When removing system status entries, please archive them to: https://docs.scinet.utoronto.ca/index.php/Previous_messages --&amp;gt;&lt;br /&gt;
{|style=&amp;quot;border-spacing: 10px;width: 100%&amp;quot;&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;margin: 1em; padding:1em; padding-top:.1em; border:2px solid #000; background-color:#fff; border-radius:7px; width: 49.5%&amp;quot; |&lt;br /&gt;
&lt;br /&gt;
== QuickStart Guides ==&lt;br /&gt;
* [[Niagara Quickstart]]&lt;br /&gt;
* [[HPSS | HPSS archival storage]]&lt;br /&gt;
* [[SOSCIP_GPU | SOSCIP GPU cluster]]&lt;br /&gt;
* [[P8|Experimental Power 8 GPU cluster]]&lt;br /&gt;
* [[Teach|Teach cluster]]&lt;br /&gt;
* [[FAQ | FAQ (frequently asked questions)]]&lt;br /&gt;
* [[Acknowledging SciNet]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; style=&amp;quot;margin: 1em; padding:1em; padding-top:.1em; border:2px solid #000; background-color:#fff; border-radius:7px; width: 49.5%&amp;quot; |&lt;br /&gt;
&lt;br /&gt;
== Tutorials, Manuals, etc. ==&lt;br /&gt;
* [https://support.scinet.utoronto.ca/education/browse.php SciNet education material]&lt;br /&gt;
* [https://www.youtube.com/c/SciNetHPCattheUniversityofToronto SciNet's YouTube channel]&lt;br /&gt;
* [[Modules specific to Niagara|Software Modules specific to Niagara]] &lt;br /&gt;
* [[Commercial software]]&lt;br /&gt;
* [[Burst Buffer]]&lt;br /&gt;
* [[SSH Tunneling]]&lt;br /&gt;
* [[Visualization]]&lt;br /&gt;
* [[Running Serial Jobs on Niagara]]&lt;br /&gt;
* [[Jupyter Hub]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Acknowledging_SciNet&amp;diff=2272</id>
		<title>Acknowledging SciNet</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Acknowledging_SciNet&amp;diff=2272"/>
		<updated>2019-08-02T22:52:52Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* In Publications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
=== In Publications ===&lt;br /&gt;
&lt;br /&gt;
When submitting a publication based on results from SciNet computations, we ask that you use the following line in the acknowledgements:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
Computations were performed on the [systemname] supercomputer at the SciNet HPC Consortium. SciNet is funded by: the Canada Foundation for Innovation; the Government of Ontario; Ontario Research Fund - Research Excellence; and the University of Toronto.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt; (replace [systemname] with the appropriate system, e.g. Niagara, GPC, TCS, ARC GPU, P7, P8).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Also please cite [https://doi.org/10.1145/3332186.3332195 the Niagara deployment paper]:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
M.Ponce et al 2019 PEARC'19 Proceedings doi: ([http://dx.doi.org/10.1145/3332186.3332195 10.1145/3332186.3332195])&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and [http://iopscience.iop.org/1742-6596/256/1/012026 the SciNet datacentre paper]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
Chris Loken et al 2010 J. Phys.: Conf. Ser. 256 012026 doi: ([http://dx.doi.org/10.1088/1742-6596/256/1/012026 10.1088/1742-6596/256/1/012026])&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This helps us automatically track publications that use SciNet.  Such publications are are both useful evidence of scientific merit for future resource allocations for you the user, and help us demonstrate the importance of computational resources such as SciNet to our funding partners.  Also please feel free to email details of any such publications, along with PDF preprints, to [mailto:support@scinet.utoronto.ca support@scinet].&lt;br /&gt;
&lt;br /&gt;
=== In Talks ===&lt;br /&gt;
&lt;br /&gt;
Please feel free to use the logos below, and images of GPC, TCS, and the data centre, in any talks you give:&lt;br /&gt;
&lt;br /&gt;
==== SciNet Images: Logos and Data Centre ====&lt;br /&gt;
&lt;br /&gt;
[[Image:SciNetLogoNew.png|thumb|center|SciNet Logo (2,844×1,200)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Older logos:&lt;br /&gt;
&lt;br /&gt;
[[Image:SciNetLogo.jpg|thumb|left|SciNet Logo (1280x386)]]&lt;br /&gt;
[[Image:SciNetLogoTransparent.png|thumb|left|SciNet Logo with Transparent Background (1364×412)]]&lt;br /&gt;
[[Image:SciNet_Logo_highres.jpg|thumb|left|SciNet Logo (2728x823)]]&lt;br /&gt;
&lt;br /&gt;
[[File:Scinet-DataCentre.jpg|thumb|left|SciNet Data Centre (1280×854)]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_logo.jpg|thumb|left|Compute Canada Logo (544x96)]]&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Acknowledging_SciNet&amp;diff=2260</id>
		<title>Acknowledging SciNet</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Acknowledging_SciNet&amp;diff=2260"/>
		<updated>2019-07-31T23:06:04Z</updated>

		<summary type="html">&lt;p&gt;Mponce: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
=== In Publications ===&lt;br /&gt;
&lt;br /&gt;
When submitting a publication based on results from SciNet computations, we ask that you use the following line in the acknowledgements:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
Computations were performed on the [systemname] supercomputer at the SciNet HPC Consortium. SciNet is funded by: the Canada Foundation for Innovation; the Government of Ontario; Ontario Research Fund - Research Excellence; and the University of Toronto.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt; (replace [systemname] with the appropriate system, e.g. Niagara, GPC, TCS, ARC GPU, P7, P8).&lt;br /&gt;
&lt;br /&gt;
Also please cite [https://doi.org/10.1145/3332186.3332195 the Niagara deployment paper]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
M.Ponce et al 2019 PEARC'19 Proceedings doi: ([http://dx.doi.org/10.1145/3332186.3332195 10.1145/3332186.3332195])&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and [http://iopscience.iop.org/1742-6596/256/1/012026 the SciNet datacentre paper]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
Chris Loken et al 2010 J. Phys.: Conf. Ser. 256 012026 doi: ([http://dx.doi.org/10.1088/1742-6596/256/1/012026 10.1088/1742-6596/256/1/012026])&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This helps us automatically track publications that use SciNet.  Such publications are are both useful evidence of scientific merit for future resource allocations for you the user, and help us demonstrate the importance of computational resources such as SciNet to our funding partners.  Also please feel free to email details of any such publications, along with PDF preprints, to [mailto:support@scinet.utoronto.ca support@scinet].&lt;br /&gt;
&lt;br /&gt;
=== In Talks ===&lt;br /&gt;
&lt;br /&gt;
Please feel free to use the logos below, and images of GPC, TCS, and the data centre, in any talks you give:&lt;br /&gt;
&lt;br /&gt;
==== SciNet Images: Logos and Data Centre ====&lt;br /&gt;
&lt;br /&gt;
[[Image:SciNetLogoNew.png|thumb|center|SciNet Logo (2,844×1,200)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Older logos:&lt;br /&gt;
&lt;br /&gt;
[[Image:SciNetLogo.jpg|thumb|left|SciNet Logo (1280x386)]]&lt;br /&gt;
[[Image:SciNetLogoTransparent.png|thumb|left|SciNet Logo with Transparent Background (1364×412)]]&lt;br /&gt;
[[Image:SciNet_Logo_highres.jpg|thumb|left|SciNet Logo (2728x823)]]&lt;br /&gt;
&lt;br /&gt;
[[File:Scinet-DataCentre.jpg|thumb|left|SciNet Data Centre (1280×854)]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_logo.jpg|thumb|left|Compute Canada Logo (544x96)]]&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Acknowledging_SciNet&amp;diff=2259</id>
		<title>Acknowledging SciNet</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Acknowledging_SciNet&amp;diff=2259"/>
		<updated>2019-07-31T23:05:31Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* In Publications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
=== In Publications ===&lt;br /&gt;
&lt;br /&gt;
When submitting a publication based on results from SciNet computations, we ask that you use the following line in the acknowledgements:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
Computations were performed on the [systemname] supercomputer at the SciNet HPC Consortium. SciNet is funded by: the Canada Foundation for Innovation; the Government of Ontario; Ontario Research Fund - Research Excellence; and the University of Toronto.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt; (replace [systemname] with the appropriate system, e.g. Niagara, GPC, TCS, ARC GPU, P7, P8).&lt;br /&gt;
&lt;br /&gt;
Also please cite [https://doi.org/10.1145/3332186.3332195 the Niagara deployment paper]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
M.Ponce et al 2019 PEARC'19 Proceedings doi: ([http://dx.doi.org/10.1145/3332186.3332195 10.1145/3332186.3332195])&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 and  [http://iopscience.iop.org/1742-6596/256/1/012026 the SciNet datacentre paper]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
Chris Loken et al 2010 J. Phys.: Conf. Ser. 256 012026 doi: ([http://dx.doi.org/10.1088/1742-6596/256/1/012026 10.1088/1742-6596/256/1/012026])&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This helps us automatically track publications that use SciNet.  Such publications are are both useful evidence of scientific merit for future resource allocations for you the user, and help us demonstrate the importance of computational resources such as SciNet to our funding partners.  Also please feel free to email details of any such publications, along with PDF preprints, to [mailto:support@scinet.utoronto.ca support@scinet].&lt;br /&gt;
&lt;br /&gt;
=== In Talks ===&lt;br /&gt;
&lt;br /&gt;
Please feel free to use the logos below, and images of GPC, TCS, and the data centre, in any talks you give:&lt;br /&gt;
&lt;br /&gt;
==== SciNet Images: Logos and Data Centre ====&lt;br /&gt;
&lt;br /&gt;
[[Image:SciNetLogoNew.png|thumb|center|SciNet Logo (2,844×1,200)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Older logos:&lt;br /&gt;
&lt;br /&gt;
[[Image:SciNetLogo.jpg|thumb|left|SciNet Logo (1280x386)]]&lt;br /&gt;
[[Image:SciNetLogoTransparent.png|thumb|left|SciNet Logo with Transparent Background (1364×412)]]&lt;br /&gt;
[[Image:SciNet_Logo_highres.jpg|thumb|left|SciNet Logo (2728x823)]]&lt;br /&gt;
&lt;br /&gt;
[[File:Scinet-DataCentre.jpg|thumb|left|SciNet Data Centre (1280×854)]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_logo.jpg|thumb|left|Compute Canada Logo (544x96)]]&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=SSH_Changes_in_May_2019&amp;diff=2169</id>
		<title>SSH Changes in May 2019</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=SSH_Changes_in_May_2019&amp;diff=2169"/>
		<updated>2019-05-31T02:53:23Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* My SSH key no longer works */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=SSH Changes in May 2019 (English)=&lt;br /&gt;
&lt;br /&gt;
(La version francaise suit.)&lt;br /&gt;
&lt;br /&gt;
== What Changed? ==&lt;br /&gt;
&lt;br /&gt;
During the 29-30 May 2019 shutdown, we made the following ssh security improvements on Niagara:&lt;br /&gt;
&lt;br /&gt;
# Disabled certain weak encryption algorithms.&lt;br /&gt;
# Disabled certain weak public key types.&lt;br /&gt;
# Regenerated Niagara's host keys.&lt;br /&gt;
&lt;br /&gt;
== Updating your client's known host list ==&lt;br /&gt;
&lt;br /&gt;
The first time you login to Niagara after the shutdown, you will probably see the following warning message:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&lt;br /&gt;
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @&lt;br /&gt;
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&lt;br /&gt;
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!&lt;br /&gt;
Someone could be eavesdropping on you right now (man-in-the-middle attack)!&lt;br /&gt;
It is also possible that a host key has just been changed.&lt;br /&gt;
The fingerprint for the ED25519 key sent by the remote host is&lt;br /&gt;
SHA256:SauX2nL+Yso9KBo2Ca6GH/V9cSFLFXwxOECGWXZ5pxc.&lt;br /&gt;
Please contact your system administrator.&lt;br /&gt;
Add correct host key in /home/username/.ssh/known_hosts to get rid of this message.&lt;br /&gt;
Offending ECDSA key in /home/username/.ssh/known_hosts:109&lt;br /&gt;
ED25519 host key for niagara.scinet.utoronto.ca has changed and you have requested strict checking.&lt;br /&gt;
Host key verification failed.&lt;br /&gt;
Killed by signal 1.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This warning is displayed because the host keys on Niagara changed to increase the data centres security, and ssh clients remember old host keys to prevent [https://en.wikipedia.org/wiki/Man-in-the-middle_attack &amp;quot;man-in-the-middle&amp;quot; attacks]. &lt;br /&gt;
&lt;br /&gt;
You may also get a warning regarding &amp;quot;DNS spoofing&amp;quot;, which is related to the same change.&lt;br /&gt;
&lt;br /&gt;
If you are using MobaXTerm, Putty, or WinSCP as your ssh (or scp) client under Windows, the warning will appear in a pop-up window and will allow you to accept the new host key by clicking &amp;quot;Yes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you are using the command line ssh command on macOS, Linux, GitBash or Cygwin, you should tell your system to &amp;quot;forget&amp;quot; the old host keys, by running the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ ssh-keygen -R niagara.scinet.utoronto.ca&lt;br /&gt;
 $ ssh-keygen -R niagara.computecanada.ca&lt;br /&gt;
 $ ssh-keygen -R 142.150.188.70&lt;br /&gt;
 $ ssh-keygen -R nia-datamover1.scinet.utoronto.ca&lt;br /&gt;
 $ ssh-keygen -R nia-datamover2.scinet.utoronto.ca&lt;br /&gt;
 $ ssh-keygen -R 142.150.188.131&lt;br /&gt;
 $ ssh-keygen -R 142.150.188.132&lt;br /&gt;
&lt;br /&gt;
Afterwards, the next time you ssh to Niagara you'll be asked to confirm the new host keys, e.g.:&lt;br /&gt;
&lt;br /&gt;
 $ ssh niagara.scinet.utoronto.ca&lt;br /&gt;
 The authenticity of host 'niagara.scinet.utoronto.ca (142.150.188.70)' can't be established.&lt;br /&gt;
 ED25519 key fingerprint is SHA256:SauX2nL+Yso9KBo2Ca6GH/V9cSFLFXwxOECGWXZ5pxc.&lt;br /&gt;
 ED25519 key fingerprint is MD5:b4:ae:76:a5:2b:37:8d:57:06:0e:9a:de:62:00:26:be.&lt;br /&gt;
 Are you sure you want to continue connecting (yes/no)? &lt;br /&gt;
&lt;br /&gt;
Make sure the fingerprints are correct! You'll either see the above ED25519 fingerprints, or the following RSA fingerprints:&lt;br /&gt;
&lt;br /&gt;
 RSA key fingerprint is SHA256:k6YEhYsI73M+NJIpZ8yF+wqWeuXS9avNs2s5QS/0VhU.&lt;br /&gt;
 RSA key fingerprint is MD5:98:e7:7a:07:89:ef:3f:d8:68:3d:47:9c:6e:a6:71:5e.&lt;br /&gt;
&lt;br /&gt;
If the fingerprints don't match, someone may be trying to hijack your connection.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== I can't connect! ===&lt;br /&gt;
&lt;br /&gt;
If you see one of the following error messages:&lt;br /&gt;
&lt;br /&gt;
 Unable to negotiate with 142.150.188.70 port 22: no matching cipher found.&lt;br /&gt;
 Unable to negotiate with 142.150.188.70 port 22: no matching key exchange method found.&lt;br /&gt;
 Unable to negotiate with 142.150.188.70 port 22: no matching mac found.&lt;br /&gt;
&lt;br /&gt;
you need to upgrade your ssh client.&lt;br /&gt;
&lt;br /&gt;
=== My SSH key no longer works ===&lt;br /&gt;
&lt;br /&gt;
If you're being asked for a password, but were using SSH keys,&lt;br /&gt;
it's because 1024-bit DSA &amp;amp; RSA keys have been disabled.&lt;br /&gt;
&lt;br /&gt;
You need to generate a new stronger key, see the [[SSH keys]] page for details.&lt;br /&gt;
&lt;br /&gt;
(What follows is the French version of the above information).&lt;br /&gt;
&lt;br /&gt;
=Les changement de SSH à mai 2019 (version française)=&lt;br /&gt;
&lt;br /&gt;
==Qu'est-ce qui a changé?==&lt;br /&gt;
&lt;br /&gt;
Pendant l'arrêt planifié des 29 et 30 mai 2019, nous avons mis en place&lt;br /&gt;
les mesures suivantes à Niagara pour améliorer sa securité:&lt;br /&gt;
&lt;br /&gt;
# Certaines méthodes de chiffrement faibles ont été désactivées.&lt;br /&gt;
# Certains types de clé publique SSH ont été désactivés.&lt;br /&gt;
# Les clés d'hôte de Niagara ont été régénérées.&lt;br /&gt;
&lt;br /&gt;
==Mettre à jour la liste de clés d'hôte de votre client SSH==&lt;br /&gt;
&lt;br /&gt;
Lorsque vous vous reconnectez à Niagara pour la première fois apres&lt;br /&gt;
l'arrêt de maintenance, vous verrez probablement le message suivante:&lt;br /&gt;
&lt;br /&gt;
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&lt;br /&gt;
 @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @&lt;br /&gt;
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&lt;br /&gt;
 IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!&lt;br /&gt;
 Someone could be eavesdropping on you right now (man-in-the-middle attack)!&lt;br /&gt;
 It is also possible that a host key has just been changed.&lt;br /&gt;
 The fingerprint for the ED25519 key sent by the remote host is&lt;br /&gt;
 SHA256:SauX2nL+Yso9KBo2Ca6GH/V9cSFLFXwxOECGWXZ5pxc.&lt;br /&gt;
 Please contact your system administrator.&lt;br /&gt;
 Add correct host key in /home/username/.ssh/known_hosts to get rid of this message.&lt;br /&gt;
 Offending ECDSA key in /home/username/.ssh/known_hosts:109&lt;br /&gt;
 ED25519 host key for niagara.scinet.utoronto.ca has changed and you have requested strict checking.&lt;br /&gt;
 Host key verification failed.&lt;br /&gt;
 Killed by signal 1.&lt;br /&gt;
&lt;br /&gt;
Ce message d'avertissement s'affiche parce que les clés d'hôte de Niagara ont été régénérées pour améliorer le securité de le centre de données, mais le client SSH a stocké les clés d'hôte anciennes pour empêcher une [https://fr.wikipedia.org/wiki/Attaque_de_l%27homme_du_milieu « attaque de l'homme du milieu »]. &lt;br /&gt;
&lt;br /&gt;
C'est possible que vous verrez aussi un message d'avertissement sur « DNS spoofing ».&lt;br /&gt;
&lt;br /&gt;
Si vous utilisez un des outils de connexion MobaXTerm, PuTTY et WinSCP sous Windows, le message d'avertissment s'affiche dans une fenêtre contextuelle qui offre l'option d'accepter la nouvelle clé de hôte par appuyer sur le bouton approprié.&lt;br /&gt;
&lt;br /&gt;
Si vous utilisez le command « ssh » dans une fenêtre de terminal sur macOS, Linux, GitBash ou Cygwin, vous devez dire à votre système d'oublier les anciennes clés de l'hôte avec les commandes suivantes:&lt;br /&gt;
&lt;br /&gt;
 $ ssh-keygen -R niagara.scinet.utoronto.ca&lt;br /&gt;
 $ ssh-keygen -R niagara.computecanada.ca&lt;br /&gt;
 $ ssh-keygen -R 142.150.188.70&lt;br /&gt;
 $ ssh-keygen -R nia-datamover1.scinet.utoronto.ca&lt;br /&gt;
 $ ssh-keygen -R nia-datamover2.scinet.utoronto.ca&lt;br /&gt;
 $ ssh-keygen -R 142.150.188.131&lt;br /&gt;
 $ ssh-keygen -R 142.150.188.132&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ensuite, lors de votre prochaine visite à Niagara, vous devrez confirmer les nouvelles clés d’hôte, par exemple:&lt;br /&gt;
&lt;br /&gt;
 $ ssh niagara.scinet.utoronto.ca&lt;br /&gt;
 The authenticity of host 'niagara.scinet.utoronto.ca (142.150.188.70)' can't be established.&lt;br /&gt;
 ED25519 key fingerprint is SHA256:SauX2nL+Yso9KBo2Ca6GH/V9cSFLFXwxOECGWXZ5pxc.&lt;br /&gt;
 ED25519 key fingerprint is MD5:b4:ae:76:a5:2b:37:8d:57:06:0e:9a:de:62:00:26:be.&lt;br /&gt;
 Are you sure you want to continue connecting (yes/no)? &lt;br /&gt;
&lt;br /&gt;
Assurez-vous que les empreintes digitales (« fingerprints ») sont correctes! Vous verrez soit les empreintes ED25519 ci-dessus, soit les empreintes RSA suivantes:&lt;br /&gt;
&lt;br /&gt;
 RSA key fingerprint is SHA256:k6YEhYsI73M+NJIpZ8yF+wqWeuXS9avNs2s5QS/0VhU.&lt;br /&gt;
 RSA key fingerprint is MD5:98:e7:7a:07:89:ef:3f:d8:68:3d:47:9c:6e:a6:71:5e.&lt;br /&gt;
&lt;br /&gt;
Si les empreintes digitales ne correspondent pas, il est possible que quelqu'un tente de détourner votre connexion.&lt;br /&gt;
&lt;br /&gt;
==Dépannage==&lt;br /&gt;
&lt;br /&gt;
===Je n'arrive pas à me connecter!===&lt;br /&gt;
&lt;br /&gt;
Si vous voyez l'un des messages d'erreur suivants:&lt;br /&gt;
&lt;br /&gt;
 Unable to negotiate with 142.150.188.70 port 22: no matching cipher found.&lt;br /&gt;
 Unable to negotiate with 142.150.188.70 port 22: no matching key exchange method found.&lt;br /&gt;
 Unable to negotiate with 142.150.188.70 port 22: no matching mac found.&lt;br /&gt;
&lt;br /&gt;
vous devez mettre à jour le client ssh.&lt;br /&gt;
&lt;br /&gt;
===Ma clé SSH ne fonctionne plus===&lt;br /&gt;
&lt;br /&gt;
Si un mot de passe vous est demandé alors que vous utilisiez auparavant des clés SSH, c'est probablement parce que les clés DSA et RSA 1024 bits ont été désactivées.&lt;br /&gt;
&lt;br /&gt;
Vous devez générer une nouvelle clé plus puissante, voir la page [[SSH keys]] pour plus de détails.&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Main_Page&amp;diff=2094</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Main_Page&amp;diff=2094"/>
		<updated>2019-04-19T21:55:53Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* System Status */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{| style=&amp;quot;border-spacing:10px; width: 95%&amp;quot;&lt;br /&gt;
| style=&amp;quot;padding:1em; padding-top:.1em; border:2px solid #0645ad; background-color:#f6f6f6; border-radius:7px&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==System Status==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Use &amp;quot;Up&amp;quot; or &amp;quot;Down&amp;quot;; these are templates. --&amp;gt;&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot; &lt;br /&gt;
|{{Up|Niagara|Niagara_Quickstart}}&lt;br /&gt;
|{{Up|HPSS|HPSS}}&lt;br /&gt;
|{{Up|BGQ|BGQ}}&lt;br /&gt;
|{{Up|SOSCIP&amp;amp;nbsp;GPU|SOSCIP_GPU}}&lt;br /&gt;
|-&lt;br /&gt;
|{{Up|P7|P7}}&lt;br /&gt;
|{{Up|P8|P8}}&lt;br /&gt;
|{{Up|Teach|Teach}}&lt;br /&gt;
|{{Up|Jupyter Hub|Jupyter_Hub}}&lt;br /&gt;
|-&lt;br /&gt;
|{{Up|Scheduler|Niagara_Quickstart#Submitting_jobs}}&lt;br /&gt;
|{{Up|File system|Niagara_Quickstart#Storage_and_quotas}}&lt;br /&gt;
|{{Up|External Network|Niagara_Quickstart#Logging_in}} &lt;br /&gt;
|{{Up|Globus|Globus}}&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Current Messages: --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fri 19 Apr 2019 17:40 EDT: HPSS robot arm has been released and is back to normal operations.&lt;br /&gt;
&lt;br /&gt;
Fri 19 Apr 2019 14:00 EDT: problems with HPPS library robot have been detected.&lt;br /&gt;
&lt;br /&gt;
Wed 17 Apr 2019 15:35 EDT: Network connection is back.&lt;br /&gt;
&lt;br /&gt;
Wed 17 Apr 2019 15:12 EDT: Network connection down.  Investigating.&lt;br /&gt;
&lt;br /&gt;
Tue 9 Apr 2019 22:24:14 EDT:  Network connection restored.&lt;br /&gt;
&lt;br /&gt;
Tue 9 Apr 2019, 15:20: Network connection down.  Investigating.&lt;br /&gt;
&lt;br /&gt;
Fri 5 Apr 2019: Planned, short outage in connectivity to the SciNet datacentre from 7:30 am to 8:55 am EST for maintenance of the network.  This outage will not affect running or queued jobs. It may be necessary to reboot the login nodes at some point tomorrow, which could result in a short interruption of connectivity, but which will have no effect on running or queued jobs.&lt;br /&gt;
&lt;br /&gt;
Fri 5 Apr 2019: Software updates on Niagara: The default CCEnv software stack now uses avx512 on Niagara, and there is now a NiaEnv/2019b stack (&amp;quot;epoch&amp;quot;). &lt;br /&gt;
&lt;br /&gt;
Thu 4 Apr 2019: The 2019 compute and storage allocations have taken effect on Niagara. &lt;br /&gt;
&amp;lt;!--  When removing system status entries, please archive them to: https://docs.scinet.utoronto.ca/index.php/Previous_messages --&amp;gt;&lt;br /&gt;
{|style=&amp;quot;border-spacing: 10px;width: 100%&amp;quot;&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;margin: 1em; padding:1em; padding-top:.1em; border:2px solid #000; background-color:#fff; border-radius:7px; width: 49.5%&amp;quot; |&lt;br /&gt;
&lt;br /&gt;
== QuickStart Guides ==&lt;br /&gt;
* [[Niagara_Quickstart|Niagara Quickstart]]&lt;br /&gt;
* [[HPSS | HPSS archival storage]]&lt;br /&gt;
* [[BGQ | SOSCIP BlueGene/Q cluster]]&lt;br /&gt;
* [[SOSCIP_GPU | SOSCIP GPU cluster]]&lt;br /&gt;
* [[P7|Experimental Power 7 cluster]]&lt;br /&gt;
* [[P8|Experimental Power 8 GPU cluster]]&lt;br /&gt;
* [[Teach|Teach cluster]]&lt;br /&gt;
* [[FAQ | FAQ (frequently asked questions)]]&lt;br /&gt;
* [[Acknowledging_SciNet | Acknowledging SciNet]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; style=&amp;quot;margin: 1em; padding:1em; padding-top:.1em; border:2px solid #000; background-color:#fff; border-radius:7px; width: 49.5%&amp;quot; |&lt;br /&gt;
&lt;br /&gt;
== Tutorials, Manuals, etc. ==&lt;br /&gt;
* [https://courses.scinet.utoronto.ca SciNet education material]&lt;br /&gt;
* [https://www.youtube.com/c/SciNetHPCattheUniversityofToronto SciNet's YouTube channel]&lt;br /&gt;
* [[Modules specific to Niagara|Software Modules specific to Niagara]] &lt;br /&gt;
* [[Commercial software]]&lt;br /&gt;
* [[Burst Buffer]]&lt;br /&gt;
* [[SSH Tunneling]]&lt;br /&gt;
* [[Visualization]]&lt;br /&gt;
* [[Running Serial Jobs on Niagara]]&lt;br /&gt;
* [[Jupyter Hub]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Main_Page&amp;diff=2093</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Main_Page&amp;diff=2093"/>
		<updated>2019-04-19T18:16:55Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* System Status */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{| style=&amp;quot;border-spacing:10px; width: 95%&amp;quot;&lt;br /&gt;
| style=&amp;quot;padding:1em; padding-top:.1em; border:2px solid #0645ad; background-color:#f6f6f6; border-radius:7px&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==System Status==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Use &amp;quot;Up&amp;quot; or &amp;quot;Down&amp;quot;; these are templates. --&amp;gt;&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot; &lt;br /&gt;
|{{Up|Niagara|Niagara_Quickstart}}&lt;br /&gt;
|{{Down|HPSS|HPSS}}&lt;br /&gt;
|{{Up|BGQ|BGQ}}&lt;br /&gt;
|{{Up|SOSCIP&amp;amp;nbsp;GPU|SOSCIP_GPU}}&lt;br /&gt;
|-&lt;br /&gt;
|{{Up|P7|P7}}&lt;br /&gt;
|{{Up|P8|P8}}&lt;br /&gt;
|{{Up|Teach|Teach}}&lt;br /&gt;
|{{Up|Jupyter Hub|Jupyter_Hub}}&lt;br /&gt;
|-&lt;br /&gt;
|{{Up|Scheduler|Niagara_Quickstart#Submitting_jobs}}&lt;br /&gt;
|{{Up|File system|Niagara_Quickstart#Storage_and_quotas}}&lt;br /&gt;
|{{Up|External Network|Niagara_Quickstart#Logging_in}} &lt;br /&gt;
|{{Up|Globus|Globus}}&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Current Messages: --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fri 19 Apr 2019 14:00 EDT: problems with HPPS library robot have been detected.&lt;br /&gt;
&lt;br /&gt;
Wed 17 Apr 2019 15:35 EDT: Network connection is back.&lt;br /&gt;
&lt;br /&gt;
Wed 17 Apr 2019 15:12 EDT: Network connection down.  Investigating.&lt;br /&gt;
&lt;br /&gt;
Tue 9 Apr 2019 22:24:14 EDT:  Network connection restored.&lt;br /&gt;
&lt;br /&gt;
Tue 9 Apr 2019, 15:20: Network connection down.  Investigating.&lt;br /&gt;
&lt;br /&gt;
Fri 5 Apr 2019: Planned, short outage in connectivity to the SciNet datacentre from 7:30 am to 8:55 am EST for maintenance of the network.  This outage will not affect running or queued jobs. It may be necessary to reboot the login nodes at some point tomorrow, which could result in a short interruption of connectivity, but which will have no effect on running or queued jobs.&lt;br /&gt;
&lt;br /&gt;
Fri 5 Apr 2019: Software updates on Niagara: The default CCEnv software stack now uses avx512 on Niagara, and there is now a NiaEnv/2019b stack (&amp;quot;epoch&amp;quot;). &lt;br /&gt;
&lt;br /&gt;
Thu 4 Apr 2019: The 2019 compute and storage allocations have taken effect on Niagara. &lt;br /&gt;
&amp;lt;!--  When removing system status entries, please archive them to: https://docs.scinet.utoronto.ca/index.php/Previous_messages --&amp;gt;&lt;br /&gt;
{|style=&amp;quot;border-spacing: 10px;width: 100%&amp;quot;&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;margin: 1em; padding:1em; padding-top:.1em; border:2px solid #000; background-color:#fff; border-radius:7px; width: 49.5%&amp;quot; |&lt;br /&gt;
&lt;br /&gt;
== QuickStart Guides ==&lt;br /&gt;
* [[Niagara_Quickstart|Niagara Quickstart]]&lt;br /&gt;
* [[HPSS | HPSS archival storage]]&lt;br /&gt;
* [[BGQ | SOSCIP BlueGene/Q cluster]]&lt;br /&gt;
* [[SOSCIP_GPU | SOSCIP GPU cluster]]&lt;br /&gt;
* [[P7|Experimental Power 7 cluster]]&lt;br /&gt;
* [[P8|Experimental Power 8 GPU cluster]]&lt;br /&gt;
* [[Teach|Teach cluster]]&lt;br /&gt;
* [[FAQ | FAQ (frequently asked questions)]]&lt;br /&gt;
* [[Acknowledging_SciNet | Acknowledging SciNet]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; style=&amp;quot;margin: 1em; padding:1em; padding-top:.1em; border:2px solid #000; background-color:#fff; border-radius:7px; width: 49.5%&amp;quot; |&lt;br /&gt;
&lt;br /&gt;
== Tutorials, Manuals, etc. ==&lt;br /&gt;
* [https://courses.scinet.utoronto.ca SciNet education material]&lt;br /&gt;
* [https://www.youtube.com/c/SciNetHPCattheUniversityofToronto SciNet's YouTube channel]&lt;br /&gt;
* [[Modules specific to Niagara|Software Modules specific to Niagara]] &lt;br /&gt;
* [[Commercial software]]&lt;br /&gt;
* [[Burst Buffer]]&lt;br /&gt;
* [[SSH Tunneling]]&lt;br /&gt;
* [[Visualization]]&lt;br /&gt;
* [[Running Serial Jobs on Niagara]]&lt;br /&gt;
* [[Jupyter Hub]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Visualization&amp;diff=2046</id>
		<title>Visualization</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Visualization&amp;diff=2046"/>
		<updated>2019-03-28T15:57:57Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* Interactive Visualization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Software Available ==&lt;br /&gt;
We have installed the latest versions of the open source visualization suites: VMD, VisIt and ParaView.&lt;br /&gt;
&lt;br /&gt;
Notice that for using ParaView you need to explicitly specify one of the mesa flags in order to avoid trying to use openGL, i.e.,&lt;br /&gt;
after loading the paraview module, use the following command:&lt;br /&gt;
&lt;br /&gt;
  paraview --mesa-swr&lt;br /&gt;
&lt;br /&gt;
Notice that Niagara does not have specialized nodes nor specially designated hardware for visualization, so if you want to perform interactive visualization or exploration of your data you will need to submit an interactive job (debug job, see [[https://docs.scinet.utoronto.ca/index.php/Niagara_Quickstart#Testing]]).&lt;br /&gt;
For the same reason you won't be able to request or use GPUs for rendering as there are none!&lt;br /&gt;
&lt;br /&gt;
== Interactive Visualization ==&lt;br /&gt;
Runtime is limited on the login nodes, so you will need to request a testing job in order to have more time for exploring and visualizing your data.&lt;br /&gt;
Additionally by doing so, you will have access to the 40 cores of each of the nodes requested.&lt;br /&gt;
For performing an interactive visualization session in this way please follow these steps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; ssh into niagara.scinet.utoronto.ca with the -X/-Y flag for [https://docs.scinet.utoronto.ca/index.php/SSH#X11_Forwarding X-forwarding]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; request an interactive job, ie.&amp;lt;/li&amp;gt;&lt;br /&gt;
   debugjob&lt;br /&gt;
this will connect you to a node, let's say for the argument &amp;quot;niaXYZW&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; run your favourite visualization program, eg. VisIt/ParaView &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   module load visit&lt;br /&gt;
   visit&lt;br /&gt;
&lt;br /&gt;
   module load paraview&lt;br /&gt;
   paraview --mesa-swr&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; exit the debug session.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Remote Visualization -- Client-Server Mode ==&lt;br /&gt;
You can use any of the remote visualization protocols supported for both VisIt and ParaView.&lt;br /&gt;
&lt;br /&gt;
Both, VisIt and ParaView, support &amp;quot;remote visualization&amp;quot; protocols.&lt;br /&gt;
This includes:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;  accessing data remotely, ie. stored on the cluster&lt;br /&gt;
&amp;lt;li&amp;gt; rendering visualizations using the compute nodes as rendering engines&lt;br /&gt;
&amp;lt;li&amp;gt; or both&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VisIt Client-Server Configuration ===&lt;br /&gt;
For allowing VisIt connect to the Niagara cluster you need to set up a &amp;quot;Host Configuration&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Choose *one* of the methods bellow:&lt;br /&gt;
&lt;br /&gt;
====Niagara Host Configuration File====&lt;br /&gt;
You can just download the Niagara host file, right click on the following link [https://support.scinet.utoronto.ca/~mponce/viz/host_niagara.xml host_niagara.xml] and select save as... &lt;br /&gt;
Depending on the OS you are using on your local machine:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; on a Linux/Mac OS place this file in &amp;lt;code&amp;gt;~/.visit/hosts/&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; on a Windows machine, place the file in  &amp;lt;code&amp;gt;My Documents\VisIt 2.13.0\hosts\&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart VisIt and check that the niagara profile should be available in your hosts.&lt;br /&gt;
&lt;br /&gt;
====Manual Niagara Host Configuration====&lt;br /&gt;
If you prefer to set up the verser yourself, instead of the configuration file from the previous section, just follow along these steps.&lt;br /&gt;
Open VisIt in your computer, go to the 'Options' menu, and click on &amp;quot;Host profiles...&amp;quot;&lt;br /&gt;
Then click on 'New Host' and select:&lt;br /&gt;
&lt;br /&gt;
 Host nickname = niagara&lt;br /&gt;
 Remote host name = niagara.scinet.utoronto.ca&lt;br /&gt;
 Username = Enter_Your_OWN_username_HERE&lt;br /&gt;
 Path to VisIt installation = /scinet/niagara/software/2018a/opt/base/visit/2.13.1&lt;br /&gt;
&lt;br /&gt;
Click on the &amp;quot;&amp;lt;code&amp;gt;Tunnel data connections through SSH&amp;lt;/code&amp;gt;&amp;quot;, and then hit Apply!&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
| [[File:Visit_niagara-01.png|480px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on the top of the window click on 'Launch Profiles' tab.&lt;br /&gt;
You will have to create two profiles:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;code&amp;gt;login&amp;lt;/code&amp;gt;: for connecting through the login nodes and accessing data &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;code&amp;gt;slurm&amp;lt;/code&amp;gt;: for using compute nodes as rendering engines &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
For doing so, click on 'New Profile', set the corresponding profile name, ie. login/slurm.&lt;br /&gt;
Then click on the Parallel tab and set the &amp;quot;Launch parallel engine&amp;quot;&lt;br /&gt;
&lt;br /&gt;
For the slurm profile, you will need to set the parameters as seen below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot; /&amp;gt;&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
| [[File:Visit_niagara-02.png|400px|]]&lt;br /&gt;
| [[File:Visit_niagara-03.png|400px|]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, after you are done with these changes, go to the &amp;quot;Options&amp;quot; menu and select &amp;quot;Save settings&amp;quot;, so that your changes are saved and available next time you relaunch VisIt.&lt;br /&gt;
&lt;br /&gt;
=== ParaView Client-Server Configuration ===&lt;br /&gt;
Similarly to VisIt you will need to start a &amp;lt;code&amp;gt;debugjob&amp;lt;/code&amp;gt; in order to use a compute node to files and compute resources.&lt;br /&gt;
Here are the steps to follow:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Launch an interactive job (debugjob) on Niagara,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  debugjob&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; After getting a compute node, let's say niaXYZW, load the ParaView &amp;quot;offscreen&amp;quot; module and start a ParaView server,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  module load paraview-offscreen/5.6.0&lt;br /&gt;
  pvserver --mesa-swr-avx2&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;--mesa-swr-avx2&amp;lt;/code&amp;gt; flag has been reported to offer faster software rendering using the OpenSWR library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Now, you have to wait a few seconds for the server to be ready to accept client connections.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  Waiting for client...&lt;br /&gt;
  Connection URL: cs://niaXYZW.scinet.local:11111&lt;br /&gt;
  Accepting connection(s): niaXYZW.scinet.local:11111&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Open a new terminal without closing your debugjob, and ssh into Niagara using the following command,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  ssh YOURusername@niagara.scinet.utoronto.ca -L11111:niaXYZW:11111 -N&lt;br /&gt;
&lt;br /&gt;
this will establish a tunnel mapping the port 11111 in your computer (&amp;lt;code&amp;gt;localhost&amp;lt;/code&amp;gt;) to the port 11111 on the Niagara's compute node, &amp;lt;code&amp;gt;niaXYZW&amp;lt;/code&amp;gt;, where the ParaView server will be waiting for connections.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Start ParaView on your local computer, go to &amp;quot;File -&amp;gt; Connect&amp;quot; and click on 'Add Server'.&lt;br /&gt;
You will need to point ParaView to your local port &amp;lt;code&amp;gt;11111&amp;lt;/code&amp;gt;, so you can do something like&amp;lt;/li&amp;gt;&lt;br /&gt;
 name = niagara&lt;br /&gt;
 server type = Client/Server&lt;br /&gt;
 host = localhost&lt;br /&gt;
 port = 11111&lt;br /&gt;
then click Configure, select &amp;lt;code&amp;gt;Manual&amp;lt;/code&amp;gt; and click Save.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Once the remote server is added to the configuration, simply select the server from the list and click Connect.&lt;br /&gt;
The first terminal window that read &amp;lt;code&amp;gt;Accepting connection...&amp;lt;/code&amp;gt; will now read &amp;lt;code&amp;gt;Client connected&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Open a file in ParaView (it will point you to the remote filesystem) and visualize it as usual.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multiple CPUs====&lt;br /&gt;
For performing parallel rendering using multiple CPUs, &amp;lt;code&amp;gt;pvserver&amp;lt;/code&amp;gt; should be run using &amp;lt;code&amp;gt;mpiexec&amp;lt;/code&amp;gt;, ie. either submit a job script or request a job using&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt; salloc --ntasks=N*40 --nodes=N --time=1:00:00&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  module load paraview-offscreen/5.6.0&lt;br /&gt;
  mpiexec pvserver --mesa-swr-avx2&lt;br /&gt;
&lt;br /&gt;
=== Final Considerations ===&lt;br /&gt;
Usually both VisIt and ParaView require to use the same version between the local client and the remote host, please try to stick to that to avoid having incompatibility issues, which might result in potential problems during the connections.&lt;br /&gt;
&lt;br /&gt;
== Batch mode and Scripting ==&lt;br /&gt;
Both, VisIt and ParaView, allow for batch processing using scripting in different languages.&lt;br /&gt;
&lt;br /&gt;
=== VisIt ===&lt;br /&gt;
In order to run or launch the Python interpreter for VisIt, you will need to execute the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; visit -cli -no-win -norun engine_par &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the 'engine_par' flag is needed in order to run the visualization engine in parallel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to execute scripts in batch mode, use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; visit -cli -no-win -norun engine_par  -s scriptName.py&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that for running in parallel, in addition to loading the VisIt module, an mpi  module should also be loaded.&lt;br /&gt;
Eg.&lt;br /&gt;
&lt;br /&gt;
   module load visit&lt;br /&gt;
   module load intel/2018.2 intelmpi/2018.2 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, if one wants to assign resources from the cluster just from within the script one should add the following line to the script&lt;br /&gt;
&lt;br /&gt;
   OpenComputeEngine(&amp;quot;localhost&amp;quot;, (&amp;quot;-l&amp;quot;, &amp;quot;srun&amp;quot;, &amp;quot;-np&amp;quot;, &amp;quot;40&amp;quot;))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=ParallelPorting#Making_sure_you_actually_have_a_parallel_engine https://www.visitusers.org/index.php?title=ParallelPorting#Making_sure_you_actually_have_a_parallel_engine]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=VisIt-tutorial-Python-scripting https://www.visitusers.org/index.php?title=VisIt-tutorial-Python-scripting]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=Python_examples https://www.visitusers.org/index.php?title=Python_examples]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=VisIt-tutorial-Advanced-scripting https://www.visitusers.org/index.php?title=VisIt-tutorial-Advanced-scripting]&lt;br /&gt;
&lt;br /&gt;
=== ParaView ===&lt;br /&gt;
ParaView offers a python interpreter &amp;lt;code&amp;gt;pvbatch&amp;lt;/code&amp;gt; to use &lt;br /&gt;
&lt;br /&gt;
 pvbatch --mesa-swr-avx2 --force-offscreen-rendering scriptName.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.paraview.org/Wiki/ParaView_and_Batch https://www.paraview.org/Wiki/ParaView_and_Batch]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.paraview.org/Wiki/ParaView/Python_Scripting https://www.paraview.org/Wiki/ParaView/Python_Scripting]&lt;br /&gt;
&lt;br /&gt;
== Other Versions ==&lt;br /&gt;
Alternatively you can try to use the visualization modules available on the CCEnv stack, for doing so just load the CCEnv module and select your favourite visualization module.&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=SSH&amp;diff=2045</id>
		<title>SSH</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=SSH&amp;diff=2045"/>
		<updated>2019-03-28T15:55:33Z</updated>

		<summary type="html">&lt;p&gt;Mponce: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SSH (secure shell) is the only way to log into the systems at SciNet.   It opens a secure, encrypted connection between your computer and those at SciNet, protecting not only your password, but all other data going between the machines.   If you have a Linux or Mac OSX machine, you already have SSH installed; if you have a Windows machine, you will have to install additional software before logging into SciNet.&lt;br /&gt;
&lt;br /&gt;
==SSH For Linux or Mac OS X Users==&lt;br /&gt;
&lt;br /&gt;
===Simple Login===&lt;br /&gt;
&lt;br /&gt;
To login to the systems at SciNet, you will have to open a terminal in Linux, or Mac OS X, and type&lt;br /&gt;
 slogin USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
where you will replace USERNAME with your username; you will then be prompted to type your password.   Once done, you will be logged into the login nodes at the SciNet data centre, as if you have a terminal from those machines on your destop. &lt;br /&gt;
&lt;br /&gt;
Note that if your username is the same on both the machine you're logging in from and the scinet machines, you can drop the &amp;lt;tt&amp;gt;USERNAME@&amp;lt;/tt&amp;gt;, as SSH by default will try to use the username on the machine you are logging in from.&lt;br /&gt;
&lt;br /&gt;
===Copying Files===&lt;br /&gt;
&lt;br /&gt;
The SSH protocol can be used for more than logging in remotely; it can also be used to copy files between machines.  The advantages are the same; both your password and the data you are sending or receiving are secure.&lt;br /&gt;
&lt;br /&gt;
To copy '''small''' files from your home computer to a subdirectory of your &amp;lt;tt&amp;gt;/scratch&amp;lt;/tt&amp;gt; directory at SciNet, you would type from a terminal on your computer&lt;br /&gt;
&lt;br /&gt;
 scp filetocopy.txt USERNAME@niagara.scinet.utoronto.ca:/scratch/USERNAME/some_subdirectory/&lt;br /&gt;
&lt;br /&gt;
Note that soon the location of your scratch directory will change, and you will have to type:&lt;br /&gt;
&lt;br /&gt;
 scp filetocopy.txt USERNAME@niagara.scinet.utoronto.ca:/scratch/G/GROUPNAME/USERNAME/some_subdirectory/&lt;br /&gt;
&lt;br /&gt;
Similarly, to copy files back into your current directory, you would type&lt;br /&gt;
&lt;br /&gt;
 scp USERNAME@niagara.scinet.utoronto.ca:/scratch/G/GROUPNAME/USERNAME/my_dirs/myfile.txt . &lt;br /&gt;
&lt;br /&gt;
The [[Niagara_Quickstart#Moving_data | Data Management]] wiki page has much more information on doing large transfers efficiently.&lt;br /&gt;
&lt;br /&gt;
==SSH for Windows Users==&lt;br /&gt;
&lt;br /&gt;
To use SSH on Windows, you will have to install SSH software.   SciNet recommends, roughly in order of preference:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cygwin.com/ Cygwin] is an entire linux-like environment for Windows.   Using something like Cygwin is highly recommended if you are going to be interacting a lot with linux systems, as it will give you a development environment very similar to that on the systems you'll be using.   Download and run &amp;lt;tt&amp;gt;setup.exe&amp;lt;/tt&amp;gt;, and install any packages you think you'll need.  Once this is done, you will have icons for terminals, including one saying something like &amp;quot;X11&amp;quot;.  From either of these, you'll be able to type &amp;lt;tt&amp;gt;ssh user@niagara.scinet.utoronto.ca&amp;lt;/tt&amp;gt; as above; if you think you will need to pop up windows from SciNet machines (&amp;lt;i&amp;gt;e.g.&amp;lt;/i&amp;gt;, for displaying data or using [[Performance_And_Debugging_Tools:_GPC | Profiling Tools]]), you'll need to use the X11 terminal and type &amp;lt;tt&amp;gt;ssh -Y user@niagara.scinet.utoronto.ca&amp;lt;/tt&amp;gt;.   Other ssh tools such as &amp;lt;tt&amp;gt;scp&amp;lt;/tt&amp;gt; will work as above.&lt;br /&gt;
* [http://mobaxterm.mobatek.net/en/ MobaXterm] is a tabbed ssh client with some Cygwin tools all wrapped up into one executable.&lt;br /&gt;
* [http://sshwindows.sourceforge.net/ OpenSSH For Windows] installs only those parts of Cygwin necessary to run SSH.  Again, once installed, opening up one of the new terminals allows you to use SSH as in the Linux/Mac OSX section above, but X11 forwarding for displaying windows may not work.&lt;br /&gt;
* [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY] is one of the better stand-alone SSH programs for windows.  It is a small download, and is enough to get you logged into the SciNet machines.  For advanced use like X11 forwarding however, you are better off using Cygwin.   A related program, [http://the.earth.li/~sgtatham/putty/latest/x86/pscp.exe PSCP], can be used to copy files using a graphical user interface. &amp;lt;br/&amp;gt; '''WARNING:''' Make sure you download putty from the official website, because there are &amp;quot;trojanized&amp;quot; versions of putty around that will send your login information to a site in Russia (as reported [http://blogs.cisco.com/security/trojanized-putty-software here]).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==X11 Forwarding==&lt;br /&gt;
&lt;br /&gt;
If during your login session you will only need to be typing and reading text, the techniques described above will suffice.&lt;br /&gt;
However, if in a session you will need to be displaying graphics &amp;amp;mdash; such as plotting data on the scinet machines or using our [[Performance_And_Debugging_Tools:_Niagara | performance profiling tools]] &amp;amp;mdash; you can use SSH's very powerful ability to forward several different types of data over one connection.&lt;br /&gt;
To enable &amp;quot;X11 forwarding&amp;quot; over this SSH connection, add the option &amp;lt;tt&amp;gt;-Y&amp;lt;/tt&amp;gt; to your command, &lt;br /&gt;
&lt;br /&gt;
 ssh -Y USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
* Both, Windows and Mac OS users, will need to install an additional program to have X-forwarding working, usually referred to as &amp;quot;Xserver&amp;quot; which will interprete the data (graphics) forwarded and displayed on the local computer.&lt;br /&gt;
* Mac OS users need to install [https://www.xquartz.org XQUARTZ]&lt;br /&gt;
* Windows users could opt for installing [https://mobaxterm.mobatek.net MobaXterm] which is a ssh-client which already includes an Xserver.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Advanced SSH Usage==&lt;br /&gt;
&lt;br /&gt;
There are a few SSH techniques that are handy to know.&lt;br /&gt;
&lt;br /&gt;
===SSH Keys===&lt;br /&gt;
&lt;br /&gt;
You can automate the process of logging into SciNet systems by setting up SSH keys.  You can read about doing so by visiting [[SSH_keys|this page]].&lt;br /&gt;
&lt;br /&gt;
===SSH Tunnels===&lt;br /&gt;
&lt;br /&gt;
A more-obscure technique for setting up SSH communication is the construction of an SSH tunnel.  This can be useful if, for example, your code needs to access an external software license server from a Niagara compute node.  You can read about setting up SSH tunnels on Niagara [[SSH_Tunneling|here]].&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=SSH&amp;diff=2044</id>
		<title>SSH</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=SSH&amp;diff=2044"/>
		<updated>2019-03-28T15:54:58Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* X11 Forwarding */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SSH (secure shell) is the only way to log into the systems at SciNet.   It opens a secure, encrypted connection between your computer and those at SciNet, protecting not only your password, but all other data going between the machines.   If you have a Linux or Mac OSX machine, you already have SSH installed; if you have a Windows machine, you will have to install additional software before logging into SciNet.&lt;br /&gt;
&lt;br /&gt;
==SSH For Linux or Mac OS X Users==&lt;br /&gt;
&lt;br /&gt;
===Simple Login===&lt;br /&gt;
&lt;br /&gt;
To login to the systems at SciNet, you will have to open a terminal in Linux, or Mac OS X, and type&lt;br /&gt;
 slogin USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
where you will replace USERNAME with your username; you will then be prompted to type your password.   Once done, you will be logged into the login nodes at the SciNet data centre, as if you have a terminal from those machines on your destop. &lt;br /&gt;
&lt;br /&gt;
Note that if your username is the same on both the machine you're logging in from and the scinet machines, you can drop the &amp;lt;tt&amp;gt;USERNAME@&amp;lt;/tt&amp;gt;, as SSH by default will try to use the username on the machine you are logging in from.&lt;br /&gt;
&lt;br /&gt;
===Copying Files===&lt;br /&gt;
&lt;br /&gt;
The SSH protocol can be used for more than logging in remotely; it can also be used to copy files between machines.  The advantages are the same; both your password and the data you are sending or receiving are secure.&lt;br /&gt;
&lt;br /&gt;
To copy '''small''' files from your home computer to a subdirectory of your &amp;lt;tt&amp;gt;/scratch&amp;lt;/tt&amp;gt; directory at SciNet, you would type from a terminal on your computer&lt;br /&gt;
&lt;br /&gt;
 scp filetocopy.txt USERNAME@niagara.scinet.utoronto.ca:/scratch/USERNAME/some_subdirectory/&lt;br /&gt;
&lt;br /&gt;
Note that soon the location of your scratch directory will change, and you will have to type:&lt;br /&gt;
&lt;br /&gt;
 scp filetocopy.txt USERNAME@niagara.scinet.utoronto.ca:/scratch/G/GROUPNAME/USERNAME/some_subdirectory/&lt;br /&gt;
&lt;br /&gt;
Similarly, to copy files back into your current directory, you would type&lt;br /&gt;
&lt;br /&gt;
 scp USERNAME@niagara.scinet.utoronto.ca:/scratch/G/GROUPNAME/USERNAME/my_dirs/myfile.txt . &lt;br /&gt;
&lt;br /&gt;
The [[Niagara_Quickstart#Moving_data | Data Management]] wiki page has much more information on doing large transfers efficiently.&lt;br /&gt;
&lt;br /&gt;
==SSH for Windows Users==&lt;br /&gt;
&lt;br /&gt;
To use SSH on Windows, you will have to install SSH software.   SciNet recommends, roughly in order of preference:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cygwin.com/ Cygwin] is an entire linux-like environment for Windows.   Using something like Cygwin is highly recommended if you are going to be interacting a lot with linux systems, as it will give you a development environment very similar to that on the systems you'll be using.   Download and run &amp;lt;tt&amp;gt;setup.exe&amp;lt;/tt&amp;gt;, and install any packages you think you'll need.  Once this is done, you will have icons for terminals, including one saying something like &amp;quot;X11&amp;quot;.  From either of these, you'll be able to type &amp;lt;tt&amp;gt;ssh user@niagara.scinet.utoronto.ca&amp;lt;/tt&amp;gt; as above; if you think you will need to pop up windows from SciNet machines (&amp;lt;i&amp;gt;e.g.&amp;lt;/i&amp;gt;, for displaying data or using [[Performance_And_Debugging_Tools:_GPC | Profiling Tools]]), you'll need to use the X11 terminal and type &amp;lt;tt&amp;gt;ssh -Y user@niagara.scinet.utoronto.ca&amp;lt;/tt&amp;gt;.   Other ssh tools such as &amp;lt;tt&amp;gt;scp&amp;lt;/tt&amp;gt; will work as above.&lt;br /&gt;
* [http://mobaxterm.mobatek.net/en/ MobaXterm] is a tabbed ssh client with some Cygwin tools all wrapped up into one executable.&lt;br /&gt;
* [http://sshwindows.sourceforge.net/ OpenSSH For Windows] installs only those parts of Cygwin necessary to run SSH.  Again, once installed, opening up one of the new terminals allows you to use SSH as in the Linux/Mac OSX section above, but X11 forwarding for displaying windows may not work.&lt;br /&gt;
* [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY] is one of the better stand-alone SSH programs for windows.  It is a small download, and is enough to get you logged into the SciNet machines.  For advanced use like X11 forwarding however, you are better off using Cygwin.   A related program, [http://the.earth.li/~sgtatham/putty/latest/x86/pscp.exe PSCP], can be used to copy files using a graphical user interface. &amp;lt;br/&amp;gt; '''WARNING:''' Make sure you download putty from the official website, because there are &amp;quot;trojanized&amp;quot; versions of putty around that will send your login information to a site in Russia (as reported [http://blogs.cisco.com/security/trojanized-putty-software here]).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==X11 Forwarding==&lt;br /&gt;
&lt;br /&gt;
If during your login session you will only need to be typing and reading text, the techniques described above will suffice.&lt;br /&gt;
However, if in a session you will need to be displaying graphics &amp;amp;mdash; such as plotting data on the scinet machines or using our [[Performance_And_Debugging_Tools:_Niagara | performance profiling tools]] &amp;amp;mdash; you can use SSH's very powerful ability to forward several different types of data over one connection.&lt;br /&gt;
To enable &amp;quot;X11 forwarding&amp;quot; over this SSH connection, add the option &amp;lt;tt&amp;gt;-Y&amp;lt;/tt&amp;gt; to your command, &lt;br /&gt;
&lt;br /&gt;
 ssh -Y USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
* Both, Windows and Mac OS users, will need to install an additional program to have X-forwarding working, usually referred to as &amp;quot;Xserver&amp;quot; which will interprete the data (graphics) forwarded and displayed on the local computer.&lt;br /&gt;
* Mac OS users need to install [https://www.xquartz.org XQUARTZ]&lt;br /&gt;
* Windows users could opt for installing [https://mobaxterm.mobatek.net MobaXterm] which is a ssh-client which already includes an Xserver.&lt;br /&gt;
&lt;br /&gt;
==Advanced SSH Usage==&lt;br /&gt;
&lt;br /&gt;
There are a few SSH techniques that are handy to know.&lt;br /&gt;
&lt;br /&gt;
===SSH Keys===&lt;br /&gt;
&lt;br /&gt;
You can automate the process of logging into SciNet systems by setting up SSH keys.  You can read about doing so by visiting [[SSH_keys|this page]].&lt;br /&gt;
&lt;br /&gt;
===SSH Tunnels===&lt;br /&gt;
&lt;br /&gt;
A more-obscure technique for setting up SSH communication is the construction of an SSH tunnel.  This can be useful if, for example, your code needs to access an external software license server from a Niagara compute node.  You can read about setting up SSH tunnels on Niagara [[SSH_Tunneling|here]].&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=SSH&amp;diff=2043</id>
		<title>SSH</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=SSH&amp;diff=2043"/>
		<updated>2019-03-28T15:53:48Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* X11 Forwarding */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SSH (secure shell) is the only way to log into the systems at SciNet.   It opens a secure, encrypted connection between your computer and those at SciNet, protecting not only your password, but all other data going between the machines.   If you have a Linux or Mac OSX machine, you already have SSH installed; if you have a Windows machine, you will have to install additional software before logging into SciNet.&lt;br /&gt;
&lt;br /&gt;
==SSH For Linux or Mac OS X Users==&lt;br /&gt;
&lt;br /&gt;
===Simple Login===&lt;br /&gt;
&lt;br /&gt;
To login to the systems at SciNet, you will have to open a terminal in Linux, or Mac OS X, and type&lt;br /&gt;
 slogin USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
where you will replace USERNAME with your username; you will then be prompted to type your password.   Once done, you will be logged into the login nodes at the SciNet data centre, as if you have a terminal from those machines on your destop. &lt;br /&gt;
&lt;br /&gt;
Note that if your username is the same on both the machine you're logging in from and the scinet machines, you can drop the &amp;lt;tt&amp;gt;USERNAME@&amp;lt;/tt&amp;gt;, as SSH by default will try to use the username on the machine you are logging in from.&lt;br /&gt;
&lt;br /&gt;
===Copying Files===&lt;br /&gt;
&lt;br /&gt;
The SSH protocol can be used for more than logging in remotely; it can also be used to copy files between machines.  The advantages are the same; both your password and the data you are sending or receiving are secure.&lt;br /&gt;
&lt;br /&gt;
To copy '''small''' files from your home computer to a subdirectory of your &amp;lt;tt&amp;gt;/scratch&amp;lt;/tt&amp;gt; directory at SciNet, you would type from a terminal on your computer&lt;br /&gt;
&lt;br /&gt;
 scp filetocopy.txt USERNAME@niagara.scinet.utoronto.ca:/scratch/USERNAME/some_subdirectory/&lt;br /&gt;
&lt;br /&gt;
Note that soon the location of your scratch directory will change, and you will have to type:&lt;br /&gt;
&lt;br /&gt;
 scp filetocopy.txt USERNAME@niagara.scinet.utoronto.ca:/scratch/G/GROUPNAME/USERNAME/some_subdirectory/&lt;br /&gt;
&lt;br /&gt;
Similarly, to copy files back into your current directory, you would type&lt;br /&gt;
&lt;br /&gt;
 scp USERNAME@niagara.scinet.utoronto.ca:/scratch/G/GROUPNAME/USERNAME/my_dirs/myfile.txt . &lt;br /&gt;
&lt;br /&gt;
The [[Niagara_Quickstart#Moving_data | Data Management]] wiki page has much more information on doing large transfers efficiently.&lt;br /&gt;
&lt;br /&gt;
==SSH for Windows Users==&lt;br /&gt;
&lt;br /&gt;
To use SSH on Windows, you will have to install SSH software.   SciNet recommends, roughly in order of preference:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cygwin.com/ Cygwin] is an entire linux-like environment for Windows.   Using something like Cygwin is highly recommended if you are going to be interacting a lot with linux systems, as it will give you a development environment very similar to that on the systems you'll be using.   Download and run &amp;lt;tt&amp;gt;setup.exe&amp;lt;/tt&amp;gt;, and install any packages you think you'll need.  Once this is done, you will have icons for terminals, including one saying something like &amp;quot;X11&amp;quot;.  From either of these, you'll be able to type &amp;lt;tt&amp;gt;ssh user@niagara.scinet.utoronto.ca&amp;lt;/tt&amp;gt; as above; if you think you will need to pop up windows from SciNet machines (&amp;lt;i&amp;gt;e.g.&amp;lt;/i&amp;gt;, for displaying data or using [[Performance_And_Debugging_Tools:_GPC | Profiling Tools]]), you'll need to use the X11 terminal and type &amp;lt;tt&amp;gt;ssh -Y user@niagara.scinet.utoronto.ca&amp;lt;/tt&amp;gt;.   Other ssh tools such as &amp;lt;tt&amp;gt;scp&amp;lt;/tt&amp;gt; will work as above.&lt;br /&gt;
* [http://mobaxterm.mobatek.net/en/ MobaXterm] is a tabbed ssh client with some Cygwin tools all wrapped up into one executable.&lt;br /&gt;
* [http://sshwindows.sourceforge.net/ OpenSSH For Windows] installs only those parts of Cygwin necessary to run SSH.  Again, once installed, opening up one of the new terminals allows you to use SSH as in the Linux/Mac OSX section above, but X11 forwarding for displaying windows may not work.&lt;br /&gt;
* [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY] is one of the better stand-alone SSH programs for windows.  It is a small download, and is enough to get you logged into the SciNet machines.  For advanced use like X11 forwarding however, you are better off using Cygwin.   A related program, [http://the.earth.li/~sgtatham/putty/latest/x86/pscp.exe PSCP], can be used to copy files using a graphical user interface. &amp;lt;br/&amp;gt; '''WARNING:''' Make sure you download putty from the official website, because there are &amp;quot;trojanized&amp;quot; versions of putty around that will send your login information to a site in Russia (as reported [http://blogs.cisco.com/security/trojanized-putty-software here]).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==X11 Forwarding==&lt;br /&gt;
&lt;br /&gt;
If during your login session you will only need to be typing and reading text, the techniques described above will suffice.&lt;br /&gt;
However, if in a session you will need to be displaying graphics &amp;amp;mdash; such as plotting data on the scinet machines or using our [[Performance_And_Debugging_Tools:_Niagara | performance profiling tools]] &amp;amp;mdash; you can use SSH's very powerful ability to forward several different types of data over one connection.&lt;br /&gt;
To enable &amp;quot;X11 forwarding&amp;quot; over this SSH connection, add the option &amp;lt;tt&amp;gt;-Y&amp;lt;/tt&amp;gt; to your command, &lt;br /&gt;
&lt;br /&gt;
 ssh -Y USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Both Windows and Mac users, will need to install an additional program, usually refer to as &amp;quot;Xserver&amp;quot; which will interprete the graphics forwarded and displayed on the local computer.&lt;br /&gt;
* Mac OS users need to install [https://www.xquartz.org XQUARTZ]&lt;br /&gt;
* Windows users could opt for installing [https://mobaxterm.mobatek.net MobaXterm] which is a ssh-client which already includes an Xserver.&lt;br /&gt;
&lt;br /&gt;
==Advanced SSH Usage==&lt;br /&gt;
&lt;br /&gt;
There are a few SSH techniques that are handy to know.&lt;br /&gt;
&lt;br /&gt;
===SSH Keys===&lt;br /&gt;
&lt;br /&gt;
You can automate the process of logging into SciNet systems by setting up SSH keys.  You can read about doing so by visiting [[SSH_keys|this page]].&lt;br /&gt;
&lt;br /&gt;
===SSH Tunnels===&lt;br /&gt;
&lt;br /&gt;
A more-obscure technique for setting up SSH communication is the construction of an SSH tunnel.  This can be useful if, for example, your code needs to access an external software license server from a Niagara compute node.  You can read about setting up SSH tunnels on Niagara [[SSH_Tunneling|here]].&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=SSH&amp;diff=2042</id>
		<title>SSH</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=SSH&amp;diff=2042"/>
		<updated>2019-03-28T15:52:19Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* SSH For Linux or Mac OS X Users */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SSH (secure shell) is the only way to log into the systems at SciNet.   It opens a secure, encrypted connection between your computer and those at SciNet, protecting not only your password, but all other data going between the machines.   If you have a Linux or Mac OSX machine, you already have SSH installed; if you have a Windows machine, you will have to install additional software before logging into SciNet.&lt;br /&gt;
&lt;br /&gt;
==SSH For Linux or Mac OS X Users==&lt;br /&gt;
&lt;br /&gt;
===Simple Login===&lt;br /&gt;
&lt;br /&gt;
To login to the systems at SciNet, you will have to open a terminal in Linux, or Mac OS X, and type&lt;br /&gt;
 slogin USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
where you will replace USERNAME with your username; you will then be prompted to type your password.   Once done, you will be logged into the login nodes at the SciNet data centre, as if you have a terminal from those machines on your destop. &lt;br /&gt;
&lt;br /&gt;
Note that if your username is the same on both the machine you're logging in from and the scinet machines, you can drop the &amp;lt;tt&amp;gt;USERNAME@&amp;lt;/tt&amp;gt;, as SSH by default will try to use the username on the machine you are logging in from.&lt;br /&gt;
&lt;br /&gt;
===Copying Files===&lt;br /&gt;
&lt;br /&gt;
The SSH protocol can be used for more than logging in remotely; it can also be used to copy files between machines.  The advantages are the same; both your password and the data you are sending or receiving are secure.&lt;br /&gt;
&lt;br /&gt;
To copy '''small''' files from your home computer to a subdirectory of your &amp;lt;tt&amp;gt;/scratch&amp;lt;/tt&amp;gt; directory at SciNet, you would type from a terminal on your computer&lt;br /&gt;
&lt;br /&gt;
 scp filetocopy.txt USERNAME@niagara.scinet.utoronto.ca:/scratch/USERNAME/some_subdirectory/&lt;br /&gt;
&lt;br /&gt;
Note that soon the location of your scratch directory will change, and you will have to type:&lt;br /&gt;
&lt;br /&gt;
 scp filetocopy.txt USERNAME@niagara.scinet.utoronto.ca:/scratch/G/GROUPNAME/USERNAME/some_subdirectory/&lt;br /&gt;
&lt;br /&gt;
Similarly, to copy files back into your current directory, you would type&lt;br /&gt;
&lt;br /&gt;
 scp USERNAME@niagara.scinet.utoronto.ca:/scratch/G/GROUPNAME/USERNAME/my_dirs/myfile.txt . &lt;br /&gt;
&lt;br /&gt;
The [[Niagara_Quickstart#Moving_data | Data Management]] wiki page has much more information on doing large transfers efficiently.&lt;br /&gt;
&lt;br /&gt;
==SSH for Windows Users==&lt;br /&gt;
&lt;br /&gt;
To use SSH on Windows, you will have to install SSH software.   SciNet recommends, roughly in order of preference:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cygwin.com/ Cygwin] is an entire linux-like environment for Windows.   Using something like Cygwin is highly recommended if you are going to be interacting a lot with linux systems, as it will give you a development environment very similar to that on the systems you'll be using.   Download and run &amp;lt;tt&amp;gt;setup.exe&amp;lt;/tt&amp;gt;, and install any packages you think you'll need.  Once this is done, you will have icons for terminals, including one saying something like &amp;quot;X11&amp;quot;.  From either of these, you'll be able to type &amp;lt;tt&amp;gt;ssh user@niagara.scinet.utoronto.ca&amp;lt;/tt&amp;gt; as above; if you think you will need to pop up windows from SciNet machines (&amp;lt;i&amp;gt;e.g.&amp;lt;/i&amp;gt;, for displaying data or using [[Performance_And_Debugging_Tools:_GPC | Profiling Tools]]), you'll need to use the X11 terminal and type &amp;lt;tt&amp;gt;ssh -Y user@niagara.scinet.utoronto.ca&amp;lt;/tt&amp;gt;.   Other ssh tools such as &amp;lt;tt&amp;gt;scp&amp;lt;/tt&amp;gt; will work as above.&lt;br /&gt;
* [http://mobaxterm.mobatek.net/en/ MobaXterm] is a tabbed ssh client with some Cygwin tools all wrapped up into one executable.&lt;br /&gt;
* [http://sshwindows.sourceforge.net/ OpenSSH For Windows] installs only those parts of Cygwin necessary to run SSH.  Again, once installed, opening up one of the new terminals allows you to use SSH as in the Linux/Mac OSX section above, but X11 forwarding for displaying windows may not work.&lt;br /&gt;
* [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY] is one of the better stand-alone SSH programs for windows.  It is a small download, and is enough to get you logged into the SciNet machines.  For advanced use like X11 forwarding however, you are better off using Cygwin.   A related program, [http://the.earth.li/~sgtatham/putty/latest/x86/pscp.exe PSCP], can be used to copy files using a graphical user interface. &amp;lt;br/&amp;gt; '''WARNING:''' Make sure you download putty from the official website, because there are &amp;quot;trojanized&amp;quot; versions of putty around that will send your login information to a site in Russia (as reported [http://blogs.cisco.com/security/trojanized-putty-software here]).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==X11 Forwarding==&lt;br /&gt;
&lt;br /&gt;
If during this login session you will only need to be typing and reading text, the above will suffice.  If in a session, however, you will need to be displaying graphics &amp;amp;mdash; such as plotting data on the scinet machines or using our [[Performance_And_Debugging_Tools:_Niagara | performance profiling tools]] &amp;amp;mdash; you can use SSH's very powerful ability to forward several different types of data over one connection.   To enable &amp;quot;X11 forwarding&amp;quot; over this SSH connection, add the option &amp;lt;tt&amp;gt;-Y&amp;lt;/tt&amp;gt; to your command, &lt;br /&gt;
&lt;br /&gt;
 ssh -Y USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Both Windows and Mac users, will need to install an additional program, usually refer to as &amp;quot;Xserver&amp;quot; which will interprete the graphics forwarded and displayed on the local computer.&lt;br /&gt;
* Mac OS users need to install [https://www.xquartz.org XQUARTZ]&lt;br /&gt;
* Windows users could opt for installing [https://mobaxterm.mobatek.net MobaXterm] which is a ssh-client which already includes an Xserver.&lt;br /&gt;
&lt;br /&gt;
==Advanced SSH Usage==&lt;br /&gt;
&lt;br /&gt;
There are a few SSH techniques that are handy to know.&lt;br /&gt;
&lt;br /&gt;
===SSH Keys===&lt;br /&gt;
&lt;br /&gt;
You can automate the process of logging into SciNet systems by setting up SSH keys.  You can read about doing so by visiting [[SSH_keys|this page]].&lt;br /&gt;
&lt;br /&gt;
===SSH Tunnels===&lt;br /&gt;
&lt;br /&gt;
A more-obscure technique for setting up SSH communication is the construction of an SSH tunnel.  This can be useful if, for example, your code needs to access an external software license server from a Niagara compute node.  You can read about setting up SSH tunnels on Niagara [[SSH_Tunneling|here]].&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=SSH&amp;diff=2041</id>
		<title>SSH</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=SSH&amp;diff=2041"/>
		<updated>2019-03-28T15:52:06Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* SSH For Linux or Mac OS X Users */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SSH (secure shell) is the only way to log into the systems at SciNet.   It opens a secure, encrypted connection between your computer and those at SciNet, protecting not only your password, but all other data going between the machines.   If you have a Linux or Mac OSX machine, you already have SSH installed; if you have a Windows machine, you will have to install additional software before logging into SciNet.&lt;br /&gt;
&lt;br /&gt;
==SSH For Linux or Mac OS X Users==&lt;br /&gt;
&lt;br /&gt;
===Simple Login===&lt;br /&gt;
&lt;br /&gt;
To login to the systems at SciNet, you will have to open a terminal in Linux, or Mac OS X, and type&lt;br /&gt;
 slogin USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
where you will replace USERNAME with your username; you will then be prompted to type your password.   Once done, you will be logged into the login nodes at the SciNet data centre, as if you have a terminal from those machines on your destop. &lt;br /&gt;
&lt;br /&gt;
Note that if your username is the same on both the machine you're logging in from and the scinet machines, you can drop the &amp;lt;tt&amp;gt;USERNAME@&amp;lt;/tt&amp;gt;, as SSH by default will try to use the username on the machine you are logging in from.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Copying Files===&lt;br /&gt;
&lt;br /&gt;
The SSH protocol can be used for more than logging in remotely; it can also be used to copy files between machines.  The advantages are the same; both your password and the data you are sending or receiving are secure.&lt;br /&gt;
&lt;br /&gt;
To copy '''small''' files from your home computer to a subdirectory of your &amp;lt;tt&amp;gt;/scratch&amp;lt;/tt&amp;gt; directory at SciNet, you would type from a terminal on your computer&lt;br /&gt;
&lt;br /&gt;
 scp filetocopy.txt USERNAME@niagara.scinet.utoronto.ca:/scratch/USERNAME/some_subdirectory/&lt;br /&gt;
&lt;br /&gt;
Note that soon the location of your scratch directory will change, and you will have to type:&lt;br /&gt;
&lt;br /&gt;
 scp filetocopy.txt USERNAME@niagara.scinet.utoronto.ca:/scratch/G/GROUPNAME/USERNAME/some_subdirectory/&lt;br /&gt;
&lt;br /&gt;
Similarly, to copy files back into your current directory, you would type&lt;br /&gt;
&lt;br /&gt;
 scp USERNAME@niagara.scinet.utoronto.ca:/scratch/G/GROUPNAME/USERNAME/my_dirs/myfile.txt . &lt;br /&gt;
&lt;br /&gt;
The [[Niagara_Quickstart#Moving_data | Data Management]] wiki page has much more information on doing large transfers efficiently.&lt;br /&gt;
&lt;br /&gt;
==SSH for Windows Users==&lt;br /&gt;
&lt;br /&gt;
To use SSH on Windows, you will have to install SSH software.   SciNet recommends, roughly in order of preference:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cygwin.com/ Cygwin] is an entire linux-like environment for Windows.   Using something like Cygwin is highly recommended if you are going to be interacting a lot with linux systems, as it will give you a development environment very similar to that on the systems you'll be using.   Download and run &amp;lt;tt&amp;gt;setup.exe&amp;lt;/tt&amp;gt;, and install any packages you think you'll need.  Once this is done, you will have icons for terminals, including one saying something like &amp;quot;X11&amp;quot;.  From either of these, you'll be able to type &amp;lt;tt&amp;gt;ssh user@niagara.scinet.utoronto.ca&amp;lt;/tt&amp;gt; as above; if you think you will need to pop up windows from SciNet machines (&amp;lt;i&amp;gt;e.g.&amp;lt;/i&amp;gt;, for displaying data or using [[Performance_And_Debugging_Tools:_GPC | Profiling Tools]]), you'll need to use the X11 terminal and type &amp;lt;tt&amp;gt;ssh -Y user@niagara.scinet.utoronto.ca&amp;lt;/tt&amp;gt;.   Other ssh tools such as &amp;lt;tt&amp;gt;scp&amp;lt;/tt&amp;gt; will work as above.&lt;br /&gt;
* [http://mobaxterm.mobatek.net/en/ MobaXterm] is a tabbed ssh client with some Cygwin tools all wrapped up into one executable.&lt;br /&gt;
* [http://sshwindows.sourceforge.net/ OpenSSH For Windows] installs only those parts of Cygwin necessary to run SSH.  Again, once installed, opening up one of the new terminals allows you to use SSH as in the Linux/Mac OSX section above, but X11 forwarding for displaying windows may not work.&lt;br /&gt;
* [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY] is one of the better stand-alone SSH programs for windows.  It is a small download, and is enough to get you logged into the SciNet machines.  For advanced use like X11 forwarding however, you are better off using Cygwin.   A related program, [http://the.earth.li/~sgtatham/putty/latest/x86/pscp.exe PSCP], can be used to copy files using a graphical user interface. &amp;lt;br/&amp;gt; '''WARNING:''' Make sure you download putty from the official website, because there are &amp;quot;trojanized&amp;quot; versions of putty around that will send your login information to a site in Russia (as reported [http://blogs.cisco.com/security/trojanized-putty-software here]).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==X11 Forwarding==&lt;br /&gt;
&lt;br /&gt;
If during this login session you will only need to be typing and reading text, the above will suffice.  If in a session, however, you will need to be displaying graphics &amp;amp;mdash; such as plotting data on the scinet machines or using our [[Performance_And_Debugging_Tools:_Niagara | performance profiling tools]] &amp;amp;mdash; you can use SSH's very powerful ability to forward several different types of data over one connection.   To enable &amp;quot;X11 forwarding&amp;quot; over this SSH connection, add the option &amp;lt;tt&amp;gt;-Y&amp;lt;/tt&amp;gt; to your command, &lt;br /&gt;
&lt;br /&gt;
 ssh -Y USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Both Windows and Mac users, will need to install an additional program, usually refer to as &amp;quot;Xserver&amp;quot; which will interprete the graphics forwarded and displayed on the local computer.&lt;br /&gt;
* Mac OS users need to install [https://www.xquartz.org XQUARTZ]&lt;br /&gt;
* Windows users could opt for installing [https://mobaxterm.mobatek.net MobaXterm] which is a ssh-client which already includes an Xserver.&lt;br /&gt;
&lt;br /&gt;
==Advanced SSH Usage==&lt;br /&gt;
&lt;br /&gt;
There are a few SSH techniques that are handy to know.&lt;br /&gt;
&lt;br /&gt;
===SSH Keys===&lt;br /&gt;
&lt;br /&gt;
You can automate the process of logging into SciNet systems by setting up SSH keys.  You can read about doing so by visiting [[SSH_keys|this page]].&lt;br /&gt;
&lt;br /&gt;
===SSH Tunnels===&lt;br /&gt;
&lt;br /&gt;
A more-obscure technique for setting up SSH communication is the construction of an SSH tunnel.  This can be useful if, for example, your code needs to access an external software license server from a Niagara compute node.  You can read about setting up SSH tunnels on Niagara [[SSH_Tunneling|here]].&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=SSH&amp;diff=2040</id>
		<title>SSH</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=SSH&amp;diff=2040"/>
		<updated>2019-03-28T15:51:43Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* SSH For Linux or Mac OS X Users */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SSH (secure shell) is the only way to log into the systems at SciNet.   It opens a secure, encrypted connection between your computer and those at SciNet, protecting not only your password, but all other data going between the machines.   If you have a Linux or Mac OSX machine, you already have SSH installed; if you have a Windows machine, you will have to install additional software before logging into SciNet.&lt;br /&gt;
&lt;br /&gt;
==SSH For Linux or Mac OS X Users==&lt;br /&gt;
&lt;br /&gt;
===Simple Login===&lt;br /&gt;
&lt;br /&gt;
To login to the systems at SciNet, you will have to open a terminal in Linux, or Mac OS X, and type&lt;br /&gt;
 slogin USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
where you will replace USERNAME with your username; you will then be prompted to type your password.   Once done, you will be logged into the login nodes at the SciNet data centre, as if you have a terminal from those machines on your destop. &lt;br /&gt;
&lt;br /&gt;
Note that if your username is the same on both the machine you're logging in from and the scinet machines, you can drop the &amp;lt;tt&amp;gt;USERNAME@&amp;lt;/tt&amp;gt;, as SSH by default will try to use the username on the machine you are logging in from.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Copying Files===&lt;br /&gt;
&lt;br /&gt;
The SSH protocol can be used for more than logging in remotely; it can also be used to copy files between machines.  The advantages are the same; both your password and the data you are sending or receiving are secure.&lt;br /&gt;
&lt;br /&gt;
To copy '''small''' files from your home computer to a subdirectory of your &amp;lt;tt&amp;gt;/scratch&amp;lt;/tt&amp;gt; directory at SciNet, you would type from a terminal on your computer&lt;br /&gt;
&lt;br /&gt;
 scp filetocopy.txt USERNAME@niagara.scinet.utoronto.ca:/scratch/USERNAME/some_subdirectory/&lt;br /&gt;
&lt;br /&gt;
Note that soon the location of your scratch directory will change, and you will have to type:&lt;br /&gt;
&lt;br /&gt;
 scp filetocopy.txt USERNAME@niagara.scinet.utoronto.ca:/scratch/G/GROUPNAME/USERNAME/some_subdirectory/&lt;br /&gt;
&lt;br /&gt;
Similarly, to copy files back into your current directory, you would type&lt;br /&gt;
&lt;br /&gt;
 scp USERNAME@niagara.scinet.utoronto.ca:/scratch/G/GROUPNAME/USERNAME/my_dirs/myfile.txt . &lt;br /&gt;
&lt;br /&gt;
The [[Niagara_Quickstart#Moving_data | Data Management]] wiki page has much more information on doing large transfers efficiently.&lt;br /&gt;
&lt;br /&gt;
==SSH for Windows Users==&lt;br /&gt;
&lt;br /&gt;
To use SSH on Windows, you will have to install SSH software.   SciNet recommends, roughly in order of preference:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cygwin.com/ Cygwin] is an entire linux-like environment for Windows.   Using something like Cygwin is highly recommended if you are going to be interacting a lot with linux systems, as it will give you a development environment very similar to that on the systems you'll be using.   Download and run &amp;lt;tt&amp;gt;setup.exe&amp;lt;/tt&amp;gt;, and install any packages you think you'll need.  Once this is done, you will have icons for terminals, including one saying something like &amp;quot;X11&amp;quot;.  From either of these, you'll be able to type &amp;lt;tt&amp;gt;ssh user@niagara.scinet.utoronto.ca&amp;lt;/tt&amp;gt; as above; if you think you will need to pop up windows from SciNet machines (&amp;lt;i&amp;gt;e.g.&amp;lt;/i&amp;gt;, for displaying data or using [[Performance_And_Debugging_Tools:_GPC | Profiling Tools]]), you'll need to use the X11 terminal and type &amp;lt;tt&amp;gt;ssh -Y user@niagara.scinet.utoronto.ca&amp;lt;/tt&amp;gt;.   Other ssh tools such as &amp;lt;tt&amp;gt;scp&amp;lt;/tt&amp;gt; will work as above.&lt;br /&gt;
* [http://mobaxterm.mobatek.net/en/ MobaXterm] is a tabbed ssh client with some Cygwin tools all wrapped up into one executable.&lt;br /&gt;
* [http://sshwindows.sourceforge.net/ OpenSSH For Windows] installs only those parts of Cygwin necessary to run SSH.  Again, once installed, opening up one of the new terminals allows you to use SSH as in the Linux/Mac OSX section above, but X11 forwarding for displaying windows may not work.&lt;br /&gt;
* [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY] is one of the better stand-alone SSH programs for windows.  It is a small download, and is enough to get you logged into the SciNet machines.  For advanced use like X11 forwarding however, you are better off using Cygwin.   A related program, [http://the.earth.li/~sgtatham/putty/latest/x86/pscp.exe PSCP], can be used to copy files using a graphical user interface. &amp;lt;br/&amp;gt; '''WARNING:''' Make sure you download putty from the official website, because there are &amp;quot;trojanized&amp;quot; versions of putty around that will send your login information to a site in Russia (as reported [http://blogs.cisco.com/security/trojanized-putty-software here]).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==X11 Forwarding==&lt;br /&gt;
&lt;br /&gt;
If during this login session you will only need to be typing and reading text, the above will suffice.  If in a session, however, you will need to be displaying graphics &amp;amp;mdash; such as plotting data on the scinet machines or using our [[Performance_And_Debugging_Tools:_Niagara | performance profiling tools]] &amp;amp;mdash; you can use SSH's very powerful ability to forward several different types of data over one connection.   To enable &amp;quot;X11 forwarding&amp;quot; over this SSH connection, add the option &amp;lt;tt&amp;gt;-Y&amp;lt;/tt&amp;gt; to your command, &lt;br /&gt;
&lt;br /&gt;
 ssh -Y USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Both Windows and Mac users, will need to install an additional program, usually refer to as &amp;quot;Xserver&amp;quot; which will interprete the graphics forwarded and displayed on the local computer.&lt;br /&gt;
* Mac OS users need to install [https://www.xquartz.org XQUARTZ]&lt;br /&gt;
* Windows users could opt for installing [https://mobaxterm.mobatek.net MobaXterm] which is a ssh-client which already includes an Xserver.&lt;br /&gt;
&lt;br /&gt;
==Advanced SSH Usage==&lt;br /&gt;
&lt;br /&gt;
There are a few SSH techniques that are handy to know.&lt;br /&gt;
&lt;br /&gt;
===SSH Keys===&lt;br /&gt;
&lt;br /&gt;
You can automate the process of logging into SciNet systems by setting up SSH keys.  You can read about doing so by visiting [[SSH_keys|this page]].&lt;br /&gt;
&lt;br /&gt;
===SSH Tunnels===&lt;br /&gt;
&lt;br /&gt;
A more-obscure technique for setting up SSH communication is the construction of an SSH tunnel.  This can be useful if, for example, your code needs to access an external software license server from a Niagara compute node.  You can read about setting up SSH tunnels on Niagara [[SSH_Tunneling|here]].&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=SSH&amp;diff=2039</id>
		<title>SSH</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=SSH&amp;diff=2039"/>
		<updated>2019-03-28T15:51:02Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* SSH For Linux or Mac OS X Users */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SSH (secure shell) is the only way to log into the systems at SciNet.   It opens a secure, encrypted connection between your computer and those at SciNet, protecting not only your password, but all other data going between the machines.   If you have a Linux or Mac OSX machine, you already have SSH installed; if you have a Windows machine, you will have to install additional software before logging into SciNet.&lt;br /&gt;
&lt;br /&gt;
==SSH For Linux or Mac OS X Users==&lt;br /&gt;
&lt;br /&gt;
===Simple Login===&lt;br /&gt;
&lt;br /&gt;
To login to the systems at SciNet, you will have to open a terminal in Linux, or Mac OS X, and type&lt;br /&gt;
 slogin USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
where you will replace USERNAME with your username; you will then be prompted to type your password.   Once done, you will be logged into the login nodes at the SciNet data centre, as if you have a terminal from those machines on your destop. &lt;br /&gt;
&lt;br /&gt;
Note that if your username is the same on both the machine you're logging in from and the scinet machines, you can drop the &amp;lt;tt&amp;gt;USERNAME@&amp;lt;/tt&amp;gt;, as SSH by default will try to use the username on the machine you are logging in from.&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
===X11 Forwarding===&lt;br /&gt;
&lt;br /&gt;
If during this login session you will only need to be typing and reading text, the above will suffice.  If in a session, however, you will need to be displaying graphics &amp;amp;mdash; such as plotting data on the scinet machines or using our [[Performance_And_Debugging_Tools:_Niagara | performance profiling tools]] &amp;amp;mdash; you can use SSH's very powerful ability to forward several different types of data over one connection.   To enable &amp;quot;X11 forwarding&amp;quot; over this SSH connection, add the option &amp;lt;tt&amp;gt;-Y&amp;lt;/tt&amp;gt; to your command, &lt;br /&gt;
&lt;br /&gt;
 slogin -Y USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
Note that within the SciNet systems, you don't need to supply your username, as it is the same across all systems.  Note too that you won't need to supply a password, as SSH has [[SSH_keys | other ways to authenticate logins]], as well.&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
===Copying Files===&lt;br /&gt;
&lt;br /&gt;
The SSH protocol can be used for more than logging in remotely; it can also be used to copy files between machines.  The advantages are the same; both your password and the data you are sending or receiving are secure.&lt;br /&gt;
&lt;br /&gt;
To copy '''small''' files from your home computer to a subdirectory of your &amp;lt;tt&amp;gt;/scratch&amp;lt;/tt&amp;gt; directory at SciNet, you would type from a terminal on your computer&lt;br /&gt;
&lt;br /&gt;
 scp filetocopy.txt USERNAME@niagara.scinet.utoronto.ca:/scratch/USERNAME/some_subdirectory/&lt;br /&gt;
&lt;br /&gt;
Note that soon the location of your scratch directory will change, and you will have to type:&lt;br /&gt;
&lt;br /&gt;
 scp filetocopy.txt USERNAME@niagara.scinet.utoronto.ca:/scratch/G/GROUPNAME/USERNAME/some_subdirectory/&lt;br /&gt;
&lt;br /&gt;
Similarly, to copy files back into your current directory, you would type&lt;br /&gt;
&lt;br /&gt;
 scp USERNAME@niagara.scinet.utoronto.ca:/scratch/G/GROUPNAME/USERNAME/my_dirs/myfile.txt . &lt;br /&gt;
&lt;br /&gt;
The [[Niagara_Quickstart#Moving_data | Data Management]] wiki page has much more information on doing large transfers efficiently.&lt;br /&gt;
&lt;br /&gt;
==SSH for Windows Users==&lt;br /&gt;
&lt;br /&gt;
To use SSH on Windows, you will have to install SSH software.   SciNet recommends, roughly in order of preference:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cygwin.com/ Cygwin] is an entire linux-like environment for Windows.   Using something like Cygwin is highly recommended if you are going to be interacting a lot with linux systems, as it will give you a development environment very similar to that on the systems you'll be using.   Download and run &amp;lt;tt&amp;gt;setup.exe&amp;lt;/tt&amp;gt;, and install any packages you think you'll need.  Once this is done, you will have icons for terminals, including one saying something like &amp;quot;X11&amp;quot;.  From either of these, you'll be able to type &amp;lt;tt&amp;gt;ssh user@niagara.scinet.utoronto.ca&amp;lt;/tt&amp;gt; as above; if you think you will need to pop up windows from SciNet machines (&amp;lt;i&amp;gt;e.g.&amp;lt;/i&amp;gt;, for displaying data or using [[Performance_And_Debugging_Tools:_GPC | Profiling Tools]]), you'll need to use the X11 terminal and type &amp;lt;tt&amp;gt;ssh -Y user@niagara.scinet.utoronto.ca&amp;lt;/tt&amp;gt;.   Other ssh tools such as &amp;lt;tt&amp;gt;scp&amp;lt;/tt&amp;gt; will work as above.&lt;br /&gt;
* [http://mobaxterm.mobatek.net/en/ MobaXterm] is a tabbed ssh client with some Cygwin tools all wrapped up into one executable.&lt;br /&gt;
* [http://sshwindows.sourceforge.net/ OpenSSH For Windows] installs only those parts of Cygwin necessary to run SSH.  Again, once installed, opening up one of the new terminals allows you to use SSH as in the Linux/Mac OSX section above, but X11 forwarding for displaying windows may not work.&lt;br /&gt;
* [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY] is one of the better stand-alone SSH programs for windows.  It is a small download, and is enough to get you logged into the SciNet machines.  For advanced use like X11 forwarding however, you are better off using Cygwin.   A related program, [http://the.earth.li/~sgtatham/putty/latest/x86/pscp.exe PSCP], can be used to copy files using a graphical user interface. &amp;lt;br/&amp;gt; '''WARNING:''' Make sure you download putty from the official website, because there are &amp;quot;trojanized&amp;quot; versions of putty around that will send your login information to a site in Russia (as reported [http://blogs.cisco.com/security/trojanized-putty-software here]).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==X11 Forwarding==&lt;br /&gt;
&lt;br /&gt;
If during this login session you will only need to be typing and reading text, the above will suffice.  If in a session, however, you will need to be displaying graphics &amp;amp;mdash; such as plotting data on the scinet machines or using our [[Performance_And_Debugging_Tools:_Niagara | performance profiling tools]] &amp;amp;mdash; you can use SSH's very powerful ability to forward several different types of data over one connection.   To enable &amp;quot;X11 forwarding&amp;quot; over this SSH connection, add the option &amp;lt;tt&amp;gt;-Y&amp;lt;/tt&amp;gt; to your command, &lt;br /&gt;
&lt;br /&gt;
 ssh -Y USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Both Windows and Mac users, will need to install an additional program, usually refer to as &amp;quot;Xserver&amp;quot; which will interprete the graphics forwarded and displayed on the local computer.&lt;br /&gt;
* Mac OS users need to install [https://www.xquartz.org XQUARTZ]&lt;br /&gt;
* Windows users could opt for installing [https://mobaxterm.mobatek.net MobaXterm] which is a ssh-client which already includes an Xserver.&lt;br /&gt;
&lt;br /&gt;
==Advanced SSH Usage==&lt;br /&gt;
&lt;br /&gt;
There are a few SSH techniques that are handy to know.&lt;br /&gt;
&lt;br /&gt;
===SSH Keys===&lt;br /&gt;
&lt;br /&gt;
You can automate the process of logging into SciNet systems by setting up SSH keys.  You can read about doing so by visiting [[SSH_keys|this page]].&lt;br /&gt;
&lt;br /&gt;
===SSH Tunnels===&lt;br /&gt;
&lt;br /&gt;
A more-obscure technique for setting up SSH communication is the construction of an SSH tunnel.  This can be useful if, for example, your code needs to access an external software license server from a Niagara compute node.  You can read about setting up SSH tunnels on Niagara [[SSH_Tunneling|here]].&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=SSH&amp;diff=2038</id>
		<title>SSH</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=SSH&amp;diff=2038"/>
		<updated>2019-03-28T15:50:10Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* X11 Forwarding */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SSH (secure shell) is the only way to log into the systems at SciNet.   It opens a secure, encrypted connection between your computer and those at SciNet, protecting not only your password, but all other data going between the machines.   If you have a Linux or Mac OSX machine, you already have SSH installed; if you have a Windows machine, you will have to install additional software before logging into SciNet.&lt;br /&gt;
&lt;br /&gt;
==SSH For Linux or Mac OS X Users==&lt;br /&gt;
&lt;br /&gt;
===Simple Login===&lt;br /&gt;
&lt;br /&gt;
To login to the systems at SciNet, you will have to open a terminal in Linux, or Mac OS X, and type&lt;br /&gt;
 slogin USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
where you will replace USERNAME with your username; you will then be prompted to type your password.   Once done, you will be logged into the login nodes at the SciNet data centre, as if you have a terminal from those machines on your destop. &lt;br /&gt;
&lt;br /&gt;
Note that if your username is the same on both the machine you're logging in from and the scinet machines, you can drop the &amp;lt;tt&amp;gt;USERNAME@&amp;lt;/tt&amp;gt;, as SSH by default will try to use the username on the machine you are logging in from.&lt;br /&gt;
&lt;br /&gt;
===X11 Forwarding===&lt;br /&gt;
&lt;br /&gt;
If during this login session you will only need to be typing and reading text, the above will suffice.  If in a session, however, you will need to be displaying graphics &amp;amp;mdash; such as plotting data on the scinet machines or using our [[Performance_And_Debugging_Tools:_Niagara | performance profiling tools]] &amp;amp;mdash; you can use SSH's very powerful ability to forward several different types of data over one connection.   To enable &amp;quot;X11 forwarding&amp;quot; over this SSH connection, add the option &amp;lt;tt&amp;gt;-Y&amp;lt;/tt&amp;gt; to your command, &lt;br /&gt;
&lt;br /&gt;
 slogin -Y USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
Note that within the SciNet systems, you don't need to supply your username, as it is the same across all systems.  Note too that you won't need to supply a password, as SSH has [[SSH_keys | other ways to authenticate logins]], as well.&lt;br /&gt;
&lt;br /&gt;
===Copying Files===&lt;br /&gt;
&lt;br /&gt;
The SSH protocol can be used for more than logging in remotely; it can also be used to copy files between machines.  The advantages are the same; both your password and the data you are sending or receiving are secure.&lt;br /&gt;
&lt;br /&gt;
To copy '''small''' files from your home computer to a subdirectory of your &amp;lt;tt&amp;gt;/scratch&amp;lt;/tt&amp;gt; directory at SciNet, you would type from a terminal on your computer&lt;br /&gt;
&lt;br /&gt;
 scp filetocopy.txt USERNAME@niagara.scinet.utoronto.ca:/scratch/USERNAME/some_subdirectory/&lt;br /&gt;
&lt;br /&gt;
Note that soon the location of your scratch directory will change, and you will have to type:&lt;br /&gt;
&lt;br /&gt;
 scp filetocopy.txt USERNAME@niagara.scinet.utoronto.ca:/scratch/G/GROUPNAME/USERNAME/some_subdirectory/&lt;br /&gt;
&lt;br /&gt;
Similarly, to copy files back into your current directory, you would type&lt;br /&gt;
&lt;br /&gt;
 scp USERNAME@niagara.scinet.utoronto.ca:/scratch/G/GROUPNAME/USERNAME/my_dirs/myfile.txt . &lt;br /&gt;
&lt;br /&gt;
The [[Niagara_Quickstart#Moving_data | Data Management]] wiki page has much more information on doing large transfers efficiently.&lt;br /&gt;
&lt;br /&gt;
==SSH for Windows Users==&lt;br /&gt;
&lt;br /&gt;
To use SSH on Windows, you will have to install SSH software.   SciNet recommends, roughly in order of preference:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cygwin.com/ Cygwin] is an entire linux-like environment for Windows.   Using something like Cygwin is highly recommended if you are going to be interacting a lot with linux systems, as it will give you a development environment very similar to that on the systems you'll be using.   Download and run &amp;lt;tt&amp;gt;setup.exe&amp;lt;/tt&amp;gt;, and install any packages you think you'll need.  Once this is done, you will have icons for terminals, including one saying something like &amp;quot;X11&amp;quot;.  From either of these, you'll be able to type &amp;lt;tt&amp;gt;ssh user@niagara.scinet.utoronto.ca&amp;lt;/tt&amp;gt; as above; if you think you will need to pop up windows from SciNet machines (&amp;lt;i&amp;gt;e.g.&amp;lt;/i&amp;gt;, for displaying data or using [[Performance_And_Debugging_Tools:_GPC | Profiling Tools]]), you'll need to use the X11 terminal and type &amp;lt;tt&amp;gt;ssh -Y user@niagara.scinet.utoronto.ca&amp;lt;/tt&amp;gt;.   Other ssh tools such as &amp;lt;tt&amp;gt;scp&amp;lt;/tt&amp;gt; will work as above.&lt;br /&gt;
* [http://mobaxterm.mobatek.net/en/ MobaXterm] is a tabbed ssh client with some Cygwin tools all wrapped up into one executable.&lt;br /&gt;
* [http://sshwindows.sourceforge.net/ OpenSSH For Windows] installs only those parts of Cygwin necessary to run SSH.  Again, once installed, opening up one of the new terminals allows you to use SSH as in the Linux/Mac OSX section above, but X11 forwarding for displaying windows may not work.&lt;br /&gt;
* [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY] is one of the better stand-alone SSH programs for windows.  It is a small download, and is enough to get you logged into the SciNet machines.  For advanced use like X11 forwarding however, you are better off using Cygwin.   A related program, [http://the.earth.li/~sgtatham/putty/latest/x86/pscp.exe PSCP], can be used to copy files using a graphical user interface. &amp;lt;br/&amp;gt; '''WARNING:''' Make sure you download putty from the official website, because there are &amp;quot;trojanized&amp;quot; versions of putty around that will send your login information to a site in Russia (as reported [http://blogs.cisco.com/security/trojanized-putty-software here]).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==X11 Forwarding==&lt;br /&gt;
&lt;br /&gt;
If during this login session you will only need to be typing and reading text, the above will suffice.  If in a session, however, you will need to be displaying graphics &amp;amp;mdash; such as plotting data on the scinet machines or using our [[Performance_And_Debugging_Tools:_Niagara | performance profiling tools]] &amp;amp;mdash; you can use SSH's very powerful ability to forward several different types of data over one connection.   To enable &amp;quot;X11 forwarding&amp;quot; over this SSH connection, add the option &amp;lt;tt&amp;gt;-Y&amp;lt;/tt&amp;gt; to your command, &lt;br /&gt;
&lt;br /&gt;
 ssh -Y USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Both Windows and Mac users, will need to install an additional program, usually refer to as &amp;quot;Xserver&amp;quot; which will interprete the graphics forwarded and displayed on the local computer.&lt;br /&gt;
* Mac OS users need to install [https://www.xquartz.org XQUARTZ]&lt;br /&gt;
* Windows users could opt for installing [https://mobaxterm.mobatek.net MobaXterm] which is a ssh-client which already includes an Xserver.&lt;br /&gt;
&lt;br /&gt;
==Advanced SSH Usage==&lt;br /&gt;
&lt;br /&gt;
There are a few SSH techniques that are handy to know.&lt;br /&gt;
&lt;br /&gt;
===SSH Keys===&lt;br /&gt;
&lt;br /&gt;
You can automate the process of logging into SciNet systems by setting up SSH keys.  You can read about doing so by visiting [[SSH_keys|this page]].&lt;br /&gt;
&lt;br /&gt;
===SSH Tunnels===&lt;br /&gt;
&lt;br /&gt;
A more-obscure technique for setting up SSH communication is the construction of an SSH tunnel.  This can be useful if, for example, your code needs to access an external software license server from a Niagara compute node.  You can read about setting up SSH tunnels on Niagara [[SSH_Tunneling|here]].&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=SSH&amp;diff=2037</id>
		<title>SSH</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=SSH&amp;diff=2037"/>
		<updated>2019-03-28T15:48:46Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* SSH for Windows Users */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SSH (secure shell) is the only way to log into the systems at SciNet.   It opens a secure, encrypted connection between your computer and those at SciNet, protecting not only your password, but all other data going between the machines.   If you have a Linux or Mac OSX machine, you already have SSH installed; if you have a Windows machine, you will have to install additional software before logging into SciNet.&lt;br /&gt;
&lt;br /&gt;
==SSH For Linux or Mac OS X Users==&lt;br /&gt;
&lt;br /&gt;
===Simple Login===&lt;br /&gt;
&lt;br /&gt;
To login to the systems at SciNet, you will have to open a terminal in Linux, or Mac OS X, and type&lt;br /&gt;
 slogin USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
where you will replace USERNAME with your username; you will then be prompted to type your password.   Once done, you will be logged into the login nodes at the SciNet data centre, as if you have a terminal from those machines on your destop. &lt;br /&gt;
&lt;br /&gt;
Note that if your username is the same on both the machine you're logging in from and the scinet machines, you can drop the &amp;lt;tt&amp;gt;USERNAME@&amp;lt;/tt&amp;gt;, as SSH by default will try to use the username on the machine you are logging in from.&lt;br /&gt;
&lt;br /&gt;
===X11 Forwarding===&lt;br /&gt;
&lt;br /&gt;
If during this login session you will only need to be typing and reading text, the above will suffice.  If in a session, however, you will need to be displaying graphics &amp;amp;mdash; such as plotting data on the scinet machines or using our [[Performance_And_Debugging_Tools:_Niagara | performance profiling tools]] &amp;amp;mdash; you can use SSH's very powerful ability to forward several different types of data over one connection.   To enable &amp;quot;X11 forwarding&amp;quot; over this SSH connection, add the option &amp;lt;tt&amp;gt;-Y&amp;lt;/tt&amp;gt; to your command, &lt;br /&gt;
&lt;br /&gt;
 slogin -Y USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
Note that within the SciNet systems, you don't need to supply your username, as it is the same across all systems.  Note too that you won't need to supply a password, as SSH has [[SSH_keys | other ways to authenticate logins]], as well.&lt;br /&gt;
&lt;br /&gt;
===Copying Files===&lt;br /&gt;
&lt;br /&gt;
The SSH protocol can be used for more than logging in remotely; it can also be used to copy files between machines.  The advantages are the same; both your password and the data you are sending or receiving are secure.&lt;br /&gt;
&lt;br /&gt;
To copy '''small''' files from your home computer to a subdirectory of your &amp;lt;tt&amp;gt;/scratch&amp;lt;/tt&amp;gt; directory at SciNet, you would type from a terminal on your computer&lt;br /&gt;
&lt;br /&gt;
 scp filetocopy.txt USERNAME@niagara.scinet.utoronto.ca:/scratch/USERNAME/some_subdirectory/&lt;br /&gt;
&lt;br /&gt;
Note that soon the location of your scratch directory will change, and you will have to type:&lt;br /&gt;
&lt;br /&gt;
 scp filetocopy.txt USERNAME@niagara.scinet.utoronto.ca:/scratch/G/GROUPNAME/USERNAME/some_subdirectory/&lt;br /&gt;
&lt;br /&gt;
Similarly, to copy files back into your current directory, you would type&lt;br /&gt;
&lt;br /&gt;
 scp USERNAME@niagara.scinet.utoronto.ca:/scratch/G/GROUPNAME/USERNAME/my_dirs/myfile.txt . &lt;br /&gt;
&lt;br /&gt;
The [[Niagara_Quickstart#Moving_data | Data Management]] wiki page has much more information on doing large transfers efficiently.&lt;br /&gt;
&lt;br /&gt;
==SSH for Windows Users==&lt;br /&gt;
&lt;br /&gt;
To use SSH on Windows, you will have to install SSH software.   SciNet recommends, roughly in order of preference:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cygwin.com/ Cygwin] is an entire linux-like environment for Windows.   Using something like Cygwin is highly recommended if you are going to be interacting a lot with linux systems, as it will give you a development environment very similar to that on the systems you'll be using.   Download and run &amp;lt;tt&amp;gt;setup.exe&amp;lt;/tt&amp;gt;, and install any packages you think you'll need.  Once this is done, you will have icons for terminals, including one saying something like &amp;quot;X11&amp;quot;.  From either of these, you'll be able to type &amp;lt;tt&amp;gt;ssh user@niagara.scinet.utoronto.ca&amp;lt;/tt&amp;gt; as above; if you think you will need to pop up windows from SciNet machines (&amp;lt;i&amp;gt;e.g.&amp;lt;/i&amp;gt;, for displaying data or using [[Performance_And_Debugging_Tools:_GPC | Profiling Tools]]), you'll need to use the X11 terminal and type &amp;lt;tt&amp;gt;ssh -Y user@niagara.scinet.utoronto.ca&amp;lt;/tt&amp;gt;.   Other ssh tools such as &amp;lt;tt&amp;gt;scp&amp;lt;/tt&amp;gt; will work as above.&lt;br /&gt;
* [http://mobaxterm.mobatek.net/en/ MobaXterm] is a tabbed ssh client with some Cygwin tools all wrapped up into one executable.&lt;br /&gt;
* [http://sshwindows.sourceforge.net/ OpenSSH For Windows] installs only those parts of Cygwin necessary to run SSH.  Again, once installed, opening up one of the new terminals allows you to use SSH as in the Linux/Mac OSX section above, but X11 forwarding for displaying windows may not work.&lt;br /&gt;
* [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY] is one of the better stand-alone SSH programs for windows.  It is a small download, and is enough to get you logged into the SciNet machines.  For advanced use like X11 forwarding however, you are better off using Cygwin.   A related program, [http://the.earth.li/~sgtatham/putty/latest/x86/pscp.exe PSCP], can be used to copy files using a graphical user interface. &amp;lt;br/&amp;gt; '''WARNING:''' Make sure you download putty from the official website, because there are &amp;quot;trojanized&amp;quot; versions of putty around that will send your login information to a site in Russia (as reported [http://blogs.cisco.com/security/trojanized-putty-software here]).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==X11 Forwarding==&lt;br /&gt;
* Both Windows and Mac users, will need to install an additional program, usually refer to as &amp;quot;Xserver&amp;quot; which will interprete the graphics forwarded and displayed on the local computer.&lt;br /&gt;
* Mac OS users need to install [https://www.xquartz.org XQUARTZ]&lt;br /&gt;
* Windows users could opt for installing [https://mobaxterm.mobatek.net MobaXterm] which is a ssh-client which already includes an Xserver.&lt;br /&gt;
&lt;br /&gt;
==Advanced SSH Usage==&lt;br /&gt;
&lt;br /&gt;
There are a few SSH techniques that are handy to know.&lt;br /&gt;
&lt;br /&gt;
===SSH Keys===&lt;br /&gt;
&lt;br /&gt;
You can automate the process of logging into SciNet systems by setting up SSH keys.  You can read about doing so by visiting [[SSH_keys|this page]].&lt;br /&gt;
&lt;br /&gt;
===SSH Tunnels===&lt;br /&gt;
&lt;br /&gt;
A more-obscure technique for setting up SSH communication is the construction of an SSH tunnel.  This can be useful if, for example, your code needs to access an external software license server from a Niagara compute node.  You can read about setting up SSH tunnels on Niagara [[SSH_Tunneling|here]].&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=SSH&amp;diff=2036</id>
		<title>SSH</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=SSH&amp;diff=2036"/>
		<updated>2019-03-28T15:48:05Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* X11 Forwarding */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SSH (secure shell) is the only way to log into the systems at SciNet.   It opens a secure, encrypted connection between your computer and those at SciNet, protecting not only your password, but all other data going between the machines.   If you have a Linux or Mac OSX machine, you already have SSH installed; if you have a Windows machine, you will have to install additional software before logging into SciNet.&lt;br /&gt;
&lt;br /&gt;
==SSH For Linux or Mac OS X Users==&lt;br /&gt;
&lt;br /&gt;
===Simple Login===&lt;br /&gt;
&lt;br /&gt;
To login to the systems at SciNet, you will have to open a terminal in Linux, or Mac OS X, and type&lt;br /&gt;
 slogin USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
where you will replace USERNAME with your username; you will then be prompted to type your password.   Once done, you will be logged into the login nodes at the SciNet data centre, as if you have a terminal from those machines on your destop. &lt;br /&gt;
&lt;br /&gt;
Note that if your username is the same on both the machine you're logging in from and the scinet machines, you can drop the &amp;lt;tt&amp;gt;USERNAME@&amp;lt;/tt&amp;gt;, as SSH by default will try to use the username on the machine you are logging in from.&lt;br /&gt;
&lt;br /&gt;
===X11 Forwarding===&lt;br /&gt;
&lt;br /&gt;
If during this login session you will only need to be typing and reading text, the above will suffice.  If in a session, however, you will need to be displaying graphics &amp;amp;mdash; such as plotting data on the scinet machines or using our [[Performance_And_Debugging_Tools:_Niagara | performance profiling tools]] &amp;amp;mdash; you can use SSH's very powerful ability to forward several different types of data over one connection.   To enable &amp;quot;X11 forwarding&amp;quot; over this SSH connection, add the option &amp;lt;tt&amp;gt;-Y&amp;lt;/tt&amp;gt; to your command, &lt;br /&gt;
&lt;br /&gt;
 slogin -Y USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
Note that within the SciNet systems, you don't need to supply your username, as it is the same across all systems.  Note too that you won't need to supply a password, as SSH has [[SSH_keys | other ways to authenticate logins]], as well.&lt;br /&gt;
&lt;br /&gt;
===Copying Files===&lt;br /&gt;
&lt;br /&gt;
The SSH protocol can be used for more than logging in remotely; it can also be used to copy files between machines.  The advantages are the same; both your password and the data you are sending or receiving are secure.&lt;br /&gt;
&lt;br /&gt;
To copy '''small''' files from your home computer to a subdirectory of your &amp;lt;tt&amp;gt;/scratch&amp;lt;/tt&amp;gt; directory at SciNet, you would type from a terminal on your computer&lt;br /&gt;
&lt;br /&gt;
 scp filetocopy.txt USERNAME@niagara.scinet.utoronto.ca:/scratch/USERNAME/some_subdirectory/&lt;br /&gt;
&lt;br /&gt;
Note that soon the location of your scratch directory will change, and you will have to type:&lt;br /&gt;
&lt;br /&gt;
 scp filetocopy.txt USERNAME@niagara.scinet.utoronto.ca:/scratch/G/GROUPNAME/USERNAME/some_subdirectory/&lt;br /&gt;
&lt;br /&gt;
Similarly, to copy files back into your current directory, you would type&lt;br /&gt;
&lt;br /&gt;
 scp USERNAME@niagara.scinet.utoronto.ca:/scratch/G/GROUPNAME/USERNAME/my_dirs/myfile.txt . &lt;br /&gt;
&lt;br /&gt;
The [[Niagara_Quickstart#Moving_data | Data Management]] wiki page has much more information on doing large transfers efficiently.&lt;br /&gt;
&lt;br /&gt;
==SSH for Windows Users==&lt;br /&gt;
&lt;br /&gt;
To use SSH on Windows, you will have to install SSH software.   SciNet recommends, roughly in order of preference:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cygwin.com/ Cygwin] is an entire linux-like environment for Windows.   Using something like Cygwin is highly recommended if you are going to be interacting a lot with linux systems, as it will give you a development environment very similar to that on the systems you'll be using.   Download and run &amp;lt;tt&amp;gt;setup.exe&amp;lt;/tt&amp;gt;, and install any packages you think you'll need.  Once this is done, you will have icons for terminals, including one saying something like &amp;quot;X11&amp;quot;.  From either of these, you'll be able to type &amp;lt;tt&amp;gt;ssh user@niagara.scinet.utoronto.ca&amp;lt;/tt&amp;gt; as above; if you think you will need to pop up windows from SciNet machines (&amp;lt;i&amp;gt;e.g.&amp;lt;/i&amp;gt;, for displaying data or using [[Performance_And_Debugging_Tools:_GPC | Profiling Tools]]), you'll need to use the X11 terminal and type &amp;lt;tt&amp;gt;ssh -Y user@niagara.scinet.utoronto.ca&amp;lt;/tt&amp;gt;.   Other ssh tools such as &amp;lt;tt&amp;gt;scp&amp;lt;/tt&amp;gt; will work as above.&lt;br /&gt;
* [http://mobaxterm.mobatek.net/en/ MobaXterm] is a tabbed ssh client with some Cygwin tools all wrapped up into one executable.&lt;br /&gt;
* [http://sshwindows.sourceforge.net/ OpenSSH For Windows] installs only those parts of Cygwin necessary to run SSH.  Again, once installed, opening up one of the new terminals allows you to use SSH as in the Linux/Mac OSX section above, but X11 forwarding for displaying windows may not work.&lt;br /&gt;
* [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY] is one of the better stand-alone SSH programs for windows.  It is a small download, and is enough to get you logged into the SciNet machines.  For advanced use like X11 forwarding however, you are better off using Cygwin.   A related program, [http://the.earth.li/~sgtatham/putty/latest/x86/pscp.exe PSCP], can be used to copy files using a graphical user interface. &amp;lt;br/&amp;gt; '''WARNING:''' Make sure you download putty from the official website, because there are &amp;quot;trojanized&amp;quot; versions of putty around that will send your login information to a site in Russia (as reported [http://blogs.cisco.com/security/trojanized-putty-software here]).&lt;br /&gt;
&lt;br /&gt;
==Advanced SSH Usage==&lt;br /&gt;
&lt;br /&gt;
There are a few SSH techniques that are handy to know.&lt;br /&gt;
&lt;br /&gt;
===SSH Keys===&lt;br /&gt;
&lt;br /&gt;
You can automate the process of logging into SciNet systems by setting up SSH keys.  You can read about doing so by visiting [[SSH_keys|this page]].&lt;br /&gt;
&lt;br /&gt;
===SSH Tunnels===&lt;br /&gt;
&lt;br /&gt;
A more-obscure technique for setting up SSH communication is the construction of an SSH tunnel.  This can be useful if, for example, your code needs to access an external software license server from a Niagara compute node.  You can read about setting up SSH tunnels on Niagara [[SSH_Tunneling|here]].&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=SSH&amp;diff=2035</id>
		<title>SSH</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=SSH&amp;diff=2035"/>
		<updated>2019-03-28T15:46:52Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* X11 Forwarding */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SSH (secure shell) is the only way to log into the systems at SciNet.   It opens a secure, encrypted connection between your computer and those at SciNet, protecting not only your password, but all other data going between the machines.   If you have a Linux or Mac OSX machine, you already have SSH installed; if you have a Windows machine, you will have to install additional software before logging into SciNet.&lt;br /&gt;
&lt;br /&gt;
==SSH For Linux or Mac OS X Users==&lt;br /&gt;
&lt;br /&gt;
===Simple Login===&lt;br /&gt;
&lt;br /&gt;
To login to the systems at SciNet, you will have to open a terminal in Linux, or Mac OS X, and type&lt;br /&gt;
 slogin USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
where you will replace USERNAME with your username; you will then be prompted to type your password.   Once done, you will be logged into the login nodes at the SciNet data centre, as if you have a terminal from those machines on your destop. &lt;br /&gt;
&lt;br /&gt;
Note that if your username is the same on both the machine you're logging in from and the scinet machines, you can drop the &amp;lt;tt&amp;gt;USERNAME@&amp;lt;/tt&amp;gt;, as SSH by default will try to use the username on the machine you are logging in from.&lt;br /&gt;
&lt;br /&gt;
===X11 Forwarding===&lt;br /&gt;
&lt;br /&gt;
If during this login session you will only need to be typing and reading text, the above will suffice.  If in a session, however, you will need to be displaying graphics &amp;amp;mdash; such as plotting data on the scinet machines or using our [[Performance_And_Debugging_Tools:_Niagara | performance profiling tools]] &amp;amp;mdash; you can use SSH's very powerful ability to forward several different types of data over one connection.   To enable &amp;quot;X11 forwarding&amp;quot; over this SSH connection, add the option &amp;lt;tt&amp;gt;-Y&amp;lt;/tt&amp;gt; to your command, &lt;br /&gt;
&lt;br /&gt;
 slogin -Y USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
Note that within the SciNet systems, you don't need to supply your username, as it is the same across all systems.  Note too that you won't need to supply a password, as SSH has [[SSH_keys | other ways to authenticate logins]], as well.&lt;br /&gt;
&lt;br /&gt;
* Both Windows and Mac users, will need to install an additional program, usually refer to as &amp;quot;Xserver&amp;quot; which will interprete the graphics forwarded and displayed on the local computer.&lt;br /&gt;
* Mac OS users need to install [https://www.xquartz.org XQUARTZ]&lt;br /&gt;
* Windows users could opt for installing [https://mobaxterm.mobatek.net MobaXterm] which is a ssh-client which already includes an Xserver.&lt;br /&gt;
&lt;br /&gt;
===Copying Files===&lt;br /&gt;
&lt;br /&gt;
The SSH protocol can be used for more than logging in remotely; it can also be used to copy files between machines.  The advantages are the same; both your password and the data you are sending or receiving are secure.&lt;br /&gt;
&lt;br /&gt;
To copy '''small''' files from your home computer to a subdirectory of your &amp;lt;tt&amp;gt;/scratch&amp;lt;/tt&amp;gt; directory at SciNet, you would type from a terminal on your computer&lt;br /&gt;
&lt;br /&gt;
 scp filetocopy.txt USERNAME@niagara.scinet.utoronto.ca:/scratch/USERNAME/some_subdirectory/&lt;br /&gt;
&lt;br /&gt;
Note that soon the location of your scratch directory will change, and you will have to type:&lt;br /&gt;
&lt;br /&gt;
 scp filetocopy.txt USERNAME@niagara.scinet.utoronto.ca:/scratch/G/GROUPNAME/USERNAME/some_subdirectory/&lt;br /&gt;
&lt;br /&gt;
Similarly, to copy files back into your current directory, you would type&lt;br /&gt;
&lt;br /&gt;
 scp USERNAME@niagara.scinet.utoronto.ca:/scratch/G/GROUPNAME/USERNAME/my_dirs/myfile.txt . &lt;br /&gt;
&lt;br /&gt;
The [[Niagara_Quickstart#Moving_data | Data Management]] wiki page has much more information on doing large transfers efficiently.&lt;br /&gt;
&lt;br /&gt;
==SSH for Windows Users==&lt;br /&gt;
&lt;br /&gt;
To use SSH on Windows, you will have to install SSH software.   SciNet recommends, roughly in order of preference:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cygwin.com/ Cygwin] is an entire linux-like environment for Windows.   Using something like Cygwin is highly recommended if you are going to be interacting a lot with linux systems, as it will give you a development environment very similar to that on the systems you'll be using.   Download and run &amp;lt;tt&amp;gt;setup.exe&amp;lt;/tt&amp;gt;, and install any packages you think you'll need.  Once this is done, you will have icons for terminals, including one saying something like &amp;quot;X11&amp;quot;.  From either of these, you'll be able to type &amp;lt;tt&amp;gt;ssh user@niagara.scinet.utoronto.ca&amp;lt;/tt&amp;gt; as above; if you think you will need to pop up windows from SciNet machines (&amp;lt;i&amp;gt;e.g.&amp;lt;/i&amp;gt;, for displaying data or using [[Performance_And_Debugging_Tools:_GPC | Profiling Tools]]), you'll need to use the X11 terminal and type &amp;lt;tt&amp;gt;ssh -Y user@niagara.scinet.utoronto.ca&amp;lt;/tt&amp;gt;.   Other ssh tools such as &amp;lt;tt&amp;gt;scp&amp;lt;/tt&amp;gt; will work as above.&lt;br /&gt;
* [http://mobaxterm.mobatek.net/en/ MobaXterm] is a tabbed ssh client with some Cygwin tools all wrapped up into one executable.&lt;br /&gt;
* [http://sshwindows.sourceforge.net/ OpenSSH For Windows] installs only those parts of Cygwin necessary to run SSH.  Again, once installed, opening up one of the new terminals allows you to use SSH as in the Linux/Mac OSX section above, but X11 forwarding for displaying windows may not work.&lt;br /&gt;
* [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY] is one of the better stand-alone SSH programs for windows.  It is a small download, and is enough to get you logged into the SciNet machines.  For advanced use like X11 forwarding however, you are better off using Cygwin.   A related program, [http://the.earth.li/~sgtatham/putty/latest/x86/pscp.exe PSCP], can be used to copy files using a graphical user interface. &amp;lt;br/&amp;gt; '''WARNING:''' Make sure you download putty from the official website, because there are &amp;quot;trojanized&amp;quot; versions of putty around that will send your login information to a site in Russia (as reported [http://blogs.cisco.com/security/trojanized-putty-software here]).&lt;br /&gt;
&lt;br /&gt;
==Advanced SSH Usage==&lt;br /&gt;
&lt;br /&gt;
There are a few SSH techniques that are handy to know.&lt;br /&gt;
&lt;br /&gt;
===SSH Keys===&lt;br /&gt;
&lt;br /&gt;
You can automate the process of logging into SciNet systems by setting up SSH keys.  You can read about doing so by visiting [[SSH_keys|this page]].&lt;br /&gt;
&lt;br /&gt;
===SSH Tunnels===&lt;br /&gt;
&lt;br /&gt;
A more-obscure technique for setting up SSH communication is the construction of an SSH tunnel.  This can be useful if, for example, your code needs to access an external software license server from a Niagara compute node.  You can read about setting up SSH tunnels on Niagara [[SSH_Tunneling|here]].&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=SSH&amp;diff=2034</id>
		<title>SSH</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=SSH&amp;diff=2034"/>
		<updated>2019-03-28T15:46:24Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* X11 Forwarding */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SSH (secure shell) is the only way to log into the systems at SciNet.   It opens a secure, encrypted connection between your computer and those at SciNet, protecting not only your password, but all other data going between the machines.   If you have a Linux or Mac OSX machine, you already have SSH installed; if you have a Windows machine, you will have to install additional software before logging into SciNet.&lt;br /&gt;
&lt;br /&gt;
==SSH For Linux or Mac OS X Users==&lt;br /&gt;
&lt;br /&gt;
===Simple Login===&lt;br /&gt;
&lt;br /&gt;
To login to the systems at SciNet, you will have to open a terminal in Linux, or Mac OS X, and type&lt;br /&gt;
 slogin USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
where you will replace USERNAME with your username; you will then be prompted to type your password.   Once done, you will be logged into the login nodes at the SciNet data centre, as if you have a terminal from those machines on your destop. &lt;br /&gt;
&lt;br /&gt;
Note that if your username is the same on both the machine you're logging in from and the scinet machines, you can drop the &amp;lt;tt&amp;gt;USERNAME@&amp;lt;/tt&amp;gt;, as SSH by default will try to use the username on the machine you are logging in from.&lt;br /&gt;
&lt;br /&gt;
===X11 Forwarding===&lt;br /&gt;
&lt;br /&gt;
If during this login session you will only need to be typing and reading text, the above will suffice.  If in a session, however, you will need to be displaying graphics &amp;amp;mdash; such as plotting data on the scinet machines or using our [[Performance_And_Debugging_Tools:_Niagara | performance profiling tools]] &amp;amp;mdash; you can use SSH's very powerful ability to forward several different types of data over one connection.   To enable &amp;quot;X11 forwarding&amp;quot; over this SSH connection, add the option &amp;lt;tt&amp;gt;-Y&amp;lt;/tt&amp;gt; to your command, &lt;br /&gt;
&lt;br /&gt;
 slogin -Y USERNAME@niagara.scinet.utoronto.ca&lt;br /&gt;
&lt;br /&gt;
Note that within the SciNet systems, you don't need to supply your username, as it is the same across all systems.  Note too that you won't need to supply a password, as SSH has [[SSH_keys | other ways to authenticate logins]], as well.&lt;br /&gt;
&lt;br /&gt;
* Both Windows and Mac users, will need to install an additional program, usually refer to as &amp;quot;Xserver&amp;quot; which will interprete the graphics forwarded and displayed on the local computer.&lt;br /&gt;
* Mac OS users need to install [[https://www.xquartz.org | XQUARTZ]]&lt;br /&gt;
* Windows users could opt for installing [[https://mobaxterm.mobatek.net | MobaXterm]] which is a ssh-client which already includes an Xserver.&lt;br /&gt;
&lt;br /&gt;
===Copying Files===&lt;br /&gt;
&lt;br /&gt;
The SSH protocol can be used for more than logging in remotely; it can also be used to copy files between machines.  The advantages are the same; both your password and the data you are sending or receiving are secure.&lt;br /&gt;
&lt;br /&gt;
To copy '''small''' files from your home computer to a subdirectory of your &amp;lt;tt&amp;gt;/scratch&amp;lt;/tt&amp;gt; directory at SciNet, you would type from a terminal on your computer&lt;br /&gt;
&lt;br /&gt;
 scp filetocopy.txt USERNAME@niagara.scinet.utoronto.ca:/scratch/USERNAME/some_subdirectory/&lt;br /&gt;
&lt;br /&gt;
Note that soon the location of your scratch directory will change, and you will have to type:&lt;br /&gt;
&lt;br /&gt;
 scp filetocopy.txt USERNAME@niagara.scinet.utoronto.ca:/scratch/G/GROUPNAME/USERNAME/some_subdirectory/&lt;br /&gt;
&lt;br /&gt;
Similarly, to copy files back into your current directory, you would type&lt;br /&gt;
&lt;br /&gt;
 scp USERNAME@niagara.scinet.utoronto.ca:/scratch/G/GROUPNAME/USERNAME/my_dirs/myfile.txt . &lt;br /&gt;
&lt;br /&gt;
The [[Niagara_Quickstart#Moving_data | Data Management]] wiki page has much more information on doing large transfers efficiently.&lt;br /&gt;
&lt;br /&gt;
==SSH for Windows Users==&lt;br /&gt;
&lt;br /&gt;
To use SSH on Windows, you will have to install SSH software.   SciNet recommends, roughly in order of preference:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cygwin.com/ Cygwin] is an entire linux-like environment for Windows.   Using something like Cygwin is highly recommended if you are going to be interacting a lot with linux systems, as it will give you a development environment very similar to that on the systems you'll be using.   Download and run &amp;lt;tt&amp;gt;setup.exe&amp;lt;/tt&amp;gt;, and install any packages you think you'll need.  Once this is done, you will have icons for terminals, including one saying something like &amp;quot;X11&amp;quot;.  From either of these, you'll be able to type &amp;lt;tt&amp;gt;ssh user@niagara.scinet.utoronto.ca&amp;lt;/tt&amp;gt; as above; if you think you will need to pop up windows from SciNet machines (&amp;lt;i&amp;gt;e.g.&amp;lt;/i&amp;gt;, for displaying data or using [[Performance_And_Debugging_Tools:_GPC | Profiling Tools]]), you'll need to use the X11 terminal and type &amp;lt;tt&amp;gt;ssh -Y user@niagara.scinet.utoronto.ca&amp;lt;/tt&amp;gt;.   Other ssh tools such as &amp;lt;tt&amp;gt;scp&amp;lt;/tt&amp;gt; will work as above.&lt;br /&gt;
* [http://mobaxterm.mobatek.net/en/ MobaXterm] is a tabbed ssh client with some Cygwin tools all wrapped up into one executable.&lt;br /&gt;
* [http://sshwindows.sourceforge.net/ OpenSSH For Windows] installs only those parts of Cygwin necessary to run SSH.  Again, once installed, opening up one of the new terminals allows you to use SSH as in the Linux/Mac OSX section above, but X11 forwarding for displaying windows may not work.&lt;br /&gt;
* [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY] is one of the better stand-alone SSH programs for windows.  It is a small download, and is enough to get you logged into the SciNet machines.  For advanced use like X11 forwarding however, you are better off using Cygwin.   A related program, [http://the.earth.li/~sgtatham/putty/latest/x86/pscp.exe PSCP], can be used to copy files using a graphical user interface. &amp;lt;br/&amp;gt; '''WARNING:''' Make sure you download putty from the official website, because there are &amp;quot;trojanized&amp;quot; versions of putty around that will send your login information to a site in Russia (as reported [http://blogs.cisco.com/security/trojanized-putty-software here]).&lt;br /&gt;
&lt;br /&gt;
==Advanced SSH Usage==&lt;br /&gt;
&lt;br /&gt;
There are a few SSH techniques that are handy to know.&lt;br /&gt;
&lt;br /&gt;
===SSH Keys===&lt;br /&gt;
&lt;br /&gt;
You can automate the process of logging into SciNet systems by setting up SSH keys.  You can read about doing so by visiting [[SSH_keys|this page]].&lt;br /&gt;
&lt;br /&gt;
===SSH Tunnels===&lt;br /&gt;
&lt;br /&gt;
A more-obscure technique for setting up SSH communication is the construction of an SSH tunnel.  This can be useful if, for example, your code needs to access an external software license server from a Niagara compute node.  You can read about setting up SSH tunnels on Niagara [[SSH_Tunneling|here]].&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Visualization&amp;diff=1716</id>
		<title>Visualization</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Visualization&amp;diff=1716"/>
		<updated>2018-11-15T15:24:08Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* Batch mode and Scripting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Software Available ==&lt;br /&gt;
We have installed the latest versions of the open source visualization suites: VMD, VisIt and ParaView.&lt;br /&gt;
&lt;br /&gt;
Notice that for using ParaView you need to explicitly specify one of the mesa flags in order to avoid trying to use openGL, i.e.,&lt;br /&gt;
after loading the paraview module, use the following command:&lt;br /&gt;
&lt;br /&gt;
  paraview --mesa-swr&lt;br /&gt;
&lt;br /&gt;
Notice that Niagara does not have specialized nodes nor specially designated hardware for visualization, so if you want to perform interactive visualization or exploration of your data you will need to submit an interactive job (debug job, see [[https://docs.scinet.utoronto.ca/index.php/Niagara_Quickstart#Testing]]).&lt;br /&gt;
For the same reason you won't be able to request or use GPUs for rendering as there are none!&lt;br /&gt;
&lt;br /&gt;
== Interactive Visualization ==&lt;br /&gt;
Runtime is limited on the login nodes, so you will need to request a testing job in order to have more time for exploring and visualizing your data.&lt;br /&gt;
Additionally by doing so, you will have access to the 40 cores of each of the nodes requested.&lt;br /&gt;
For performing an interactive visualization session in this way please follow these steps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; ssh into niagara.scinet.utoronto.ca with the -X/-Y flag for x-forwarding&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; request an interactive job, ie.&amp;lt;/li&amp;gt;&lt;br /&gt;
   debugjob&lt;br /&gt;
this will connect you to a node, let's say for the argument &amp;quot;niaXYZW&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; run your favourite visualization program, eg. VisIt/ParaView &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   module load visit&lt;br /&gt;
   visit&lt;br /&gt;
&lt;br /&gt;
   module load paraview&lt;br /&gt;
   paraview --mesa-swr&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; exit the debug session.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Remote Visualization -- Client-Server Mode ==&lt;br /&gt;
You can use any of the remote visualization protocols supported for both VisIt and ParaView.&lt;br /&gt;
&lt;br /&gt;
Both, VisIt and ParaView, support &amp;quot;remote visualization&amp;quot; protocols.&lt;br /&gt;
This includes:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;  accessing data remotely, ie. stored on the cluster&lt;br /&gt;
&amp;lt;li&amp;gt; rendering visualizations using the compute nodes as rendering engines&lt;br /&gt;
&amp;lt;li&amp;gt; or both&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VisIt Client-Server Configuration ===&lt;br /&gt;
For allowing VisIt connect to the Niagara cluster you need to set up a &amp;quot;Host Configuration&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Choose *one* of the methods bellow:&lt;br /&gt;
&lt;br /&gt;
====Niagara Host Configuration File====&lt;br /&gt;
You can just download the Niagara host file, right click on the following link [https://support.scinet.utoronto.ca/~mponce/viz/host_niagara.xml host_niagara.xml] and select save as... &lt;br /&gt;
Depending on the OS you are using on your local machine:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; on a Linux/Mac OS place this file in &amp;lt;code&amp;gt;~/.visit/hosts/&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; on a Windows machine, place the file in  &amp;lt;code&amp;gt;My Documents\VisIt 2.13.0\hosts\&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart VisIt and check that the niagara profile should be available in your hosts.&lt;br /&gt;
&lt;br /&gt;
====Manual Niagara Host Configuration====&lt;br /&gt;
If you prefer to set up the verser yourself, instead of the configuration file from the previous section, just follow along these steps.&lt;br /&gt;
Open VisIt in your computer, go to the 'Options' menu, and click on &amp;quot;Host profiles...&amp;quot;&lt;br /&gt;
Then click on 'New Host' and select:&lt;br /&gt;
&lt;br /&gt;
 Host nickname = niagara&lt;br /&gt;
 Remote host name = niagara.scinet.utoronto.ca&lt;br /&gt;
 Username = Enter_Your_OWN_username_HERE&lt;br /&gt;
 Path to VisIt installation = /scinet/niagara/software/2018a/opt/base/visit/2.13.1&lt;br /&gt;
&lt;br /&gt;
Click on the &amp;quot;&amp;lt;code&amp;gt;Tunnel data connections through SSH&amp;lt;/code&amp;gt;&amp;quot;, and then hit Apply!&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
| [[File:Visit_niagara-01.png|480px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on the top of the window click on 'Launch Profiles' tab.&lt;br /&gt;
You will have to create two profiles:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;code&amp;gt;login&amp;lt;/code&amp;gt;: for connecting through the login nodes and accessing data &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;code&amp;gt;slurm&amp;lt;/code&amp;gt;: for using compute nodes as rendering engines &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
For doing so, click on 'New Profile', set the corresponding profile name, ie. login/slurm.&lt;br /&gt;
Then click on the Parallel tab and set the &amp;quot;Launch parallel engine&amp;quot;&lt;br /&gt;
&lt;br /&gt;
For the slurm profile, you will need to set the parameters as seen below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot; /&amp;gt;&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
| [[File:Visit_niagara-02.png|400px|]]&lt;br /&gt;
| [[File:Visit_niagara-03.png|400px|]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, after you are done with these changes, go to the &amp;quot;Options&amp;quot; menu and select &amp;quot;Save settings&amp;quot;, so that your changes are saved and available next time you relaunch VisIt.&lt;br /&gt;
&lt;br /&gt;
=== ParaView Client-Server Configuration ===&lt;br /&gt;
Similarly to VisIt you will need to start a &amp;lt;code&amp;gt;debugjob&amp;lt;/code&amp;gt; in order to use a compute node to files and compute resources.&lt;br /&gt;
Here are the steps to follow:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Launch an interactive job (debugjob) on Niagara,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  debugjob&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; After getting a compute node, let's say niaXYZW, load the ParaView module and start a ParaView server,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  module load paraview&lt;br /&gt;
  pvserver --mesa-swr-ax2&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;--mesa-swr-avx2&amp;lt;/code&amp;gt; flag has been reported to offer faster software rendering using the OpenSWR library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Now, you have to wait a few seconds for the server to be ready to accept client connections.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  Waiting for client...&lt;br /&gt;
  Connection URL: cs://niaXYZW.scinet.local:11111&lt;br /&gt;
  Accepting connection(s): niaXYZW.scinet.local:11111&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Open a new terminal without closing your debugjob, and ssh into Niagara using the following command,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  ssh YOURusername@niagara.scinet.utoronto.ca -L11111:niaXYZW:11111 -N&lt;br /&gt;
&lt;br /&gt;
this will establish a tunnel mapping the port 11111 in your computer (&amp;lt;code&amp;gt;localhost&amp;lt;/code&amp;gt;) to the port 11111 on the Niagara's compute node, &amp;lt;code&amp;gt;niaXYZW&amp;lt;/code&amp;gt;, where the ParaView server will be waiting for connections.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Start ParaView on your local computer, go to &amp;quot;File -&amp;gt; Connect&amp;quot; and click on 'Add Server'.&lt;br /&gt;
You will need to point ParaView to your local port &amp;lt;code&amp;gt;11111&amp;lt;/code&amp;gt;, so you can do something like&amp;lt;/li&amp;gt;&lt;br /&gt;
 name = niagara&lt;br /&gt;
 server type = Client/Server&lt;br /&gt;
 host = localhost&lt;br /&gt;
 port = 11111&lt;br /&gt;
then click Configure, select &amp;lt;code&amp;gt;Manual&amp;lt;/code&amp;gt; and click Save.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Once the remote server is added to the configuration, simply select the server from the list and click Connect.&lt;br /&gt;
The first terminal window that read &amp;lt;code&amp;gt;Accepting connection...&amp;lt;/code&amp;gt; will now read &amp;lt;code&amp;gt;Client connected&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Open a file in ParaView (it will point you to the remote filesystem) and visualize it as usual.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multiple CPUs====&lt;br /&gt;
For performing parallel rendering using multiple CPUs, &amp;lt;code&amp;gt;pvserver&amp;lt;/code&amp;gt; should be run using &amp;lt;code&amp;gt;srun&amp;lt;/code&amp;gt;, ie. either submit a job script or request a job using&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt; salloc --ntasks=N*40 --nodes=N --time=1:00:00&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  module load paraview&lt;br /&gt;
  srun pvserver --mesa&lt;br /&gt;
&lt;br /&gt;
=== Final Considerations ===&lt;br /&gt;
Usually both VisIt and ParaView require to use the same version between the local client and the remote host, please try to stick to that to avoid having incompatibility issues, which might result in potential problems during the connections.&lt;br /&gt;
&lt;br /&gt;
== Batch mode and Scripting ==&lt;br /&gt;
Both, VisIt and ParaView, allow for batch processing using scripting in different languages.&lt;br /&gt;
&lt;br /&gt;
=== VisIt ===&lt;br /&gt;
In order to run or launch the Python interpreter for VisIt, you will need to execute the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; visit -cli -no-win -norun engine_par &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the 'engine_par' flag is needed in order to run the visualization engine in parallel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to execute scripts in batch mode, use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; visit -cli -no-win -norun engine_par  -s scriptName.py&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that for running in parallel, in addition to loading the VisIt module, an mpi  module should also be loaded.&lt;br /&gt;
Eg.&lt;br /&gt;
&lt;br /&gt;
   module load visit&lt;br /&gt;
   module load intel/2018.2 intelmpi/2018.2 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, if one wants to assign resources from the cluster just from within the script one should add the following line to the script&lt;br /&gt;
&lt;br /&gt;
   OpenComputeEngine(&amp;quot;localhost&amp;quot;, (&amp;quot;-l&amp;quot;, &amp;quot;srun&amp;quot;, &amp;quot;-np&amp;quot;, &amp;quot;40&amp;quot;))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=ParallelPorting#Making_sure_you_actually_have_a_parallel_engine https://www.visitusers.org/index.php?title=ParallelPorting#Making_sure_you_actually_have_a_parallel_engine]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=VisIt-tutorial-Python-scripting https://www.visitusers.org/index.php?title=VisIt-tutorial-Python-scripting]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=Python_examples https://www.visitusers.org/index.php?title=Python_examples]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=VisIt-tutorial-Advanced-scripting https://www.visitusers.org/index.php?title=VisIt-tutorial-Advanced-scripting]&lt;br /&gt;
&lt;br /&gt;
=== ParaView ===&lt;br /&gt;
ParaView offers a python interpreter &amp;lt;code&amp;gt;pvbatch&amp;lt;/code&amp;gt; to use &lt;br /&gt;
&lt;br /&gt;
 pvbatch --mesa-swr-avx2 --force-offscreen-rendering scriptName.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.paraview.org/Wiki/ParaView_and_Batch https://www.paraview.org/Wiki/ParaView_and_Batch]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.paraview.org/Wiki/ParaView/Python_Scripting https://www.paraview.org/Wiki/ParaView/Python_Scripting]&lt;br /&gt;
&lt;br /&gt;
== Other Versions ==&lt;br /&gt;
Alternatively you can try to use the visualization modules available on the CCEnv stack, for doing so just load the CCEnv module and select your favourite visualization module.&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Visualization&amp;diff=1715</id>
		<title>Visualization</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Visualization&amp;diff=1715"/>
		<updated>2018-11-15T15:23:26Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* VisIt */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Software Available ==&lt;br /&gt;
We have installed the latest versions of the open source visualization suites: VMD, VisIt and ParaView.&lt;br /&gt;
&lt;br /&gt;
Notice that for using ParaView you need to explicitly specify one of the mesa flags in order to avoid trying to use openGL, i.e.,&lt;br /&gt;
after loading the paraview module, use the following command:&lt;br /&gt;
&lt;br /&gt;
  paraview --mesa-swr&lt;br /&gt;
&lt;br /&gt;
Notice that Niagara does not have specialized nodes nor specially designated hardware for visualization, so if you want to perform interactive visualization or exploration of your data you will need to submit an interactive job (debug job, see [[https://docs.scinet.utoronto.ca/index.php/Niagara_Quickstart#Testing]]).&lt;br /&gt;
For the same reason you won't be able to request or use GPUs for rendering as there are none!&lt;br /&gt;
&lt;br /&gt;
== Interactive Visualization ==&lt;br /&gt;
Runtime is limited on the login nodes, so you will need to request a testing job in order to have more time for exploring and visualizing your data.&lt;br /&gt;
Additionally by doing so, you will have access to the 40 cores of each of the nodes requested.&lt;br /&gt;
For performing an interactive visualization session in this way please follow these steps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; ssh into niagara.scinet.utoronto.ca with the -X/-Y flag for x-forwarding&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; request an interactive job, ie.&amp;lt;/li&amp;gt;&lt;br /&gt;
   debugjob&lt;br /&gt;
this will connect you to a node, let's say for the argument &amp;quot;niaXYZW&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; run your favourite visualization program, eg. VisIt/ParaView &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   module load visit&lt;br /&gt;
   visit&lt;br /&gt;
&lt;br /&gt;
   module load paraview&lt;br /&gt;
   paraview --mesa-swr&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; exit the debug session.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Remote Visualization -- Client-Server Mode ==&lt;br /&gt;
You can use any of the remote visualization protocols supported for both VisIt and ParaView.&lt;br /&gt;
&lt;br /&gt;
Both, VisIt and ParaView, support &amp;quot;remote visualization&amp;quot; protocols.&lt;br /&gt;
This includes:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;  accessing data remotely, ie. stored on the cluster&lt;br /&gt;
&amp;lt;li&amp;gt; rendering visualizations using the compute nodes as rendering engines&lt;br /&gt;
&amp;lt;li&amp;gt; or both&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VisIt Client-Server Configuration ===&lt;br /&gt;
For allowing VisIt connect to the Niagara cluster you need to set up a &amp;quot;Host Configuration&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Choose *one* of the methods bellow:&lt;br /&gt;
&lt;br /&gt;
====Niagara Host Configuration File====&lt;br /&gt;
You can just download the Niagara host file, right click on the following link [https://support.scinet.utoronto.ca/~mponce/viz/host_niagara.xml host_niagara.xml] and select save as... &lt;br /&gt;
Depending on the OS you are using on your local machine:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; on a Linux/Mac OS place this file in &amp;lt;code&amp;gt;~/.visit/hosts/&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; on a Windows machine, place the file in  &amp;lt;code&amp;gt;My Documents\VisIt 2.13.0\hosts\&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart VisIt and check that the niagara profile should be available in your hosts.&lt;br /&gt;
&lt;br /&gt;
====Manual Niagara Host Configuration====&lt;br /&gt;
If you prefer to set up the verser yourself, instead of the configuration file from the previous section, just follow along these steps.&lt;br /&gt;
Open VisIt in your computer, go to the 'Options' menu, and click on &amp;quot;Host profiles...&amp;quot;&lt;br /&gt;
Then click on 'New Host' and select:&lt;br /&gt;
&lt;br /&gt;
 Host nickname = niagara&lt;br /&gt;
 Remote host name = niagara.scinet.utoronto.ca&lt;br /&gt;
 Username = Enter_Your_OWN_username_HERE&lt;br /&gt;
 Path to VisIt installation = /scinet/niagara/software/2018a/opt/base/visit/2.13.1&lt;br /&gt;
&lt;br /&gt;
Click on the &amp;quot;&amp;lt;code&amp;gt;Tunnel data connections through SSH&amp;lt;/code&amp;gt;&amp;quot;, and then hit Apply!&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
| [[File:Visit_niagara-01.png|480px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on the top of the window click on 'Launch Profiles' tab.&lt;br /&gt;
You will have to create two profiles:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;code&amp;gt;login&amp;lt;/code&amp;gt;: for connecting through the login nodes and accessing data &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;code&amp;gt;slurm&amp;lt;/code&amp;gt;: for using compute nodes as rendering engines &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
For doing so, click on 'New Profile', set the corresponding profile name, ie. login/slurm.&lt;br /&gt;
Then click on the Parallel tab and set the &amp;quot;Launch parallel engine&amp;quot;&lt;br /&gt;
&lt;br /&gt;
For the slurm profile, you will need to set the parameters as seen below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot; /&amp;gt;&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
| [[File:Visit_niagara-02.png|400px|]]&lt;br /&gt;
| [[File:Visit_niagara-03.png|400px|]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, after you are done with these changes, go to the &amp;quot;Options&amp;quot; menu and select &amp;quot;Save settings&amp;quot;, so that your changes are saved and available next time you relaunch VisIt.&lt;br /&gt;
&lt;br /&gt;
=== ParaView Client-Server Configuration ===&lt;br /&gt;
Similarly to VisIt you will need to start a &amp;lt;code&amp;gt;debugjob&amp;lt;/code&amp;gt; in order to use a compute node to files and compute resources.&lt;br /&gt;
Here are the steps to follow:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Launch an interactive job (debugjob) on Niagara,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  debugjob&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; After getting a compute node, let's say niaXYZW, load the ParaView module and start a ParaView server,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  module load paraview&lt;br /&gt;
  pvserver --mesa-swr-ax2&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;--mesa-swr-avx2&amp;lt;/code&amp;gt; flag has been reported to offer faster software rendering using the OpenSWR library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Now, you have to wait a few seconds for the server to be ready to accept client connections.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  Waiting for client...&lt;br /&gt;
  Connection URL: cs://niaXYZW.scinet.local:11111&lt;br /&gt;
  Accepting connection(s): niaXYZW.scinet.local:11111&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Open a new terminal without closing your debugjob, and ssh into Niagara using the following command,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  ssh YOURusername@niagara.scinet.utoronto.ca -L11111:niaXYZW:11111 -N&lt;br /&gt;
&lt;br /&gt;
this will establish a tunnel mapping the port 11111 in your computer (&amp;lt;code&amp;gt;localhost&amp;lt;/code&amp;gt;) to the port 11111 on the Niagara's compute node, &amp;lt;code&amp;gt;niaXYZW&amp;lt;/code&amp;gt;, where the ParaView server will be waiting for connections.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Start ParaView on your local computer, go to &amp;quot;File -&amp;gt; Connect&amp;quot; and click on 'Add Server'.&lt;br /&gt;
You will need to point ParaView to your local port &amp;lt;code&amp;gt;11111&amp;lt;/code&amp;gt;, so you can do something like&amp;lt;/li&amp;gt;&lt;br /&gt;
 name = niagara&lt;br /&gt;
 server type = Client/Server&lt;br /&gt;
 host = localhost&lt;br /&gt;
 port = 11111&lt;br /&gt;
then click Configure, select &amp;lt;code&amp;gt;Manual&amp;lt;/code&amp;gt; and click Save.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Once the remote server is added to the configuration, simply select the server from the list and click Connect.&lt;br /&gt;
The first terminal window that read &amp;lt;code&amp;gt;Accepting connection...&amp;lt;/code&amp;gt; will now read &amp;lt;code&amp;gt;Client connected&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Open a file in ParaView (it will point you to the remote filesystem) and visualize it as usual.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multiple CPUs====&lt;br /&gt;
For performing parallel rendering using multiple CPUs, &amp;lt;code&amp;gt;pvserver&amp;lt;/code&amp;gt; should be run using &amp;lt;code&amp;gt;srun&amp;lt;/code&amp;gt;, ie. either submit a job script or request a job using&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt; salloc --ntasks=N*40 --nodes=N --time=1:00:00&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  module load paraview&lt;br /&gt;
  srun pvserver --mesa&lt;br /&gt;
&lt;br /&gt;
=== Final Considerations ===&lt;br /&gt;
Usually both VisIt and ParaView require to use the same version between the local client and the remote host, please try to stick to that to avoid having incompatibility issues, which might result in potential problems during the connections.&lt;br /&gt;
&lt;br /&gt;
== Batch mode and Scripting ==&lt;br /&gt;
Both, VisIt and ParaView, allow for batch processing using scripting in different languages.&lt;br /&gt;
&lt;br /&gt;
=== VisIt ===&lt;br /&gt;
In order to run or launch the Python interpreter for VisIt, you will need to execute the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; visit -cli -no-win -norun engine_par &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the 'engine_par' flag is needed in order to run the visualization engine in parallel.&lt;br /&gt;
&lt;br /&gt;
Alternatively, if one wants to assign resources from the cluster just from within the script one should add the following line to the script&lt;br /&gt;
&lt;br /&gt;
   OpenComputeEngine(&amp;quot;localhost&amp;quot;, (&amp;quot;-l&amp;quot;, &amp;quot;srun&amp;quot;, &amp;quot;-np&amp;quot;, &amp;quot;40&amp;quot;))&lt;br /&gt;
&lt;br /&gt;
In order to execute scripts in batch mode, use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; visit -cli -no-win -norun engine_par  -s scriptName.py&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that for running in parallel, in addition to loading the VisIt module, an mpi  module should also be loaded.&lt;br /&gt;
Eg.&lt;br /&gt;
&lt;br /&gt;
   module load visit&lt;br /&gt;
&lt;br /&gt;
   module load intel/2018.2 intelmpi/2018.2 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=ParallelPorting#Making_sure_you_actually_have_a_parallel_engine https://www.visitusers.org/index.php?title=ParallelPorting#Making_sure_you_actually_have_a_parallel_engine]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=VisIt-tutorial-Python-scripting https://www.visitusers.org/index.php?title=VisIt-tutorial-Python-scripting]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=Python_examples https://www.visitusers.org/index.php?title=Python_examples]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=VisIt-tutorial-Advanced-scripting https://www.visitusers.org/index.php?title=VisIt-tutorial-Advanced-scripting]&lt;br /&gt;
&lt;br /&gt;
=== ParaView ===&lt;br /&gt;
ParaView offers a python interpreter &amp;lt;code&amp;gt;pvbatch&amp;lt;/code&amp;gt; to use &lt;br /&gt;
&lt;br /&gt;
 pvbatch --mesa-swr-avx2 --force-offscreen-rendering scriptName.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.paraview.org/Wiki/ParaView_and_Batch https://www.paraview.org/Wiki/ParaView_and_Batch]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.paraview.org/Wiki/ParaView/Python_Scripting https://www.paraview.org/Wiki/ParaView/Python_Scripting]&lt;br /&gt;
&lt;br /&gt;
== Other Versions ==&lt;br /&gt;
Alternatively you can try to use the visualization modules available on the CCEnv stack, for doing so just load the CCEnv module and select your favourite visualization module.&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Visualization&amp;diff=1714</id>
		<title>Visualization</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Visualization&amp;diff=1714"/>
		<updated>2018-11-15T15:23:02Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* VisIt */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Software Available ==&lt;br /&gt;
We have installed the latest versions of the open source visualization suites: VMD, VisIt and ParaView.&lt;br /&gt;
&lt;br /&gt;
Notice that for using ParaView you need to explicitly specify one of the mesa flags in order to avoid trying to use openGL, i.e.,&lt;br /&gt;
after loading the paraview module, use the following command:&lt;br /&gt;
&lt;br /&gt;
  paraview --mesa-swr&lt;br /&gt;
&lt;br /&gt;
Notice that Niagara does not have specialized nodes nor specially designated hardware for visualization, so if you want to perform interactive visualization or exploration of your data you will need to submit an interactive job (debug job, see [[https://docs.scinet.utoronto.ca/index.php/Niagara_Quickstart#Testing]]).&lt;br /&gt;
For the same reason you won't be able to request or use GPUs for rendering as there are none!&lt;br /&gt;
&lt;br /&gt;
== Interactive Visualization ==&lt;br /&gt;
Runtime is limited on the login nodes, so you will need to request a testing job in order to have more time for exploring and visualizing your data.&lt;br /&gt;
Additionally by doing so, you will have access to the 40 cores of each of the nodes requested.&lt;br /&gt;
For performing an interactive visualization session in this way please follow these steps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; ssh into niagara.scinet.utoronto.ca with the -X/-Y flag for x-forwarding&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; request an interactive job, ie.&amp;lt;/li&amp;gt;&lt;br /&gt;
   debugjob&lt;br /&gt;
this will connect you to a node, let's say for the argument &amp;quot;niaXYZW&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; run your favourite visualization program, eg. VisIt/ParaView &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   module load visit&lt;br /&gt;
   visit&lt;br /&gt;
&lt;br /&gt;
   module load paraview&lt;br /&gt;
   paraview --mesa-swr&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; exit the debug session.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Remote Visualization -- Client-Server Mode ==&lt;br /&gt;
You can use any of the remote visualization protocols supported for both VisIt and ParaView.&lt;br /&gt;
&lt;br /&gt;
Both, VisIt and ParaView, support &amp;quot;remote visualization&amp;quot; protocols.&lt;br /&gt;
This includes:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;  accessing data remotely, ie. stored on the cluster&lt;br /&gt;
&amp;lt;li&amp;gt; rendering visualizations using the compute nodes as rendering engines&lt;br /&gt;
&amp;lt;li&amp;gt; or both&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VisIt Client-Server Configuration ===&lt;br /&gt;
For allowing VisIt connect to the Niagara cluster you need to set up a &amp;quot;Host Configuration&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Choose *one* of the methods bellow:&lt;br /&gt;
&lt;br /&gt;
====Niagara Host Configuration File====&lt;br /&gt;
You can just download the Niagara host file, right click on the following link [https://support.scinet.utoronto.ca/~mponce/viz/host_niagara.xml host_niagara.xml] and select save as... &lt;br /&gt;
Depending on the OS you are using on your local machine:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; on a Linux/Mac OS place this file in &amp;lt;code&amp;gt;~/.visit/hosts/&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; on a Windows machine, place the file in  &amp;lt;code&amp;gt;My Documents\VisIt 2.13.0\hosts\&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart VisIt and check that the niagara profile should be available in your hosts.&lt;br /&gt;
&lt;br /&gt;
====Manual Niagara Host Configuration====&lt;br /&gt;
If you prefer to set up the verser yourself, instead of the configuration file from the previous section, just follow along these steps.&lt;br /&gt;
Open VisIt in your computer, go to the 'Options' menu, and click on &amp;quot;Host profiles...&amp;quot;&lt;br /&gt;
Then click on 'New Host' and select:&lt;br /&gt;
&lt;br /&gt;
 Host nickname = niagara&lt;br /&gt;
 Remote host name = niagara.scinet.utoronto.ca&lt;br /&gt;
 Username = Enter_Your_OWN_username_HERE&lt;br /&gt;
 Path to VisIt installation = /scinet/niagara/software/2018a/opt/base/visit/2.13.1&lt;br /&gt;
&lt;br /&gt;
Click on the &amp;quot;&amp;lt;code&amp;gt;Tunnel data connections through SSH&amp;lt;/code&amp;gt;&amp;quot;, and then hit Apply!&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
| [[File:Visit_niagara-01.png|480px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on the top of the window click on 'Launch Profiles' tab.&lt;br /&gt;
You will have to create two profiles:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;code&amp;gt;login&amp;lt;/code&amp;gt;: for connecting through the login nodes and accessing data &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;code&amp;gt;slurm&amp;lt;/code&amp;gt;: for using compute nodes as rendering engines &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
For doing so, click on 'New Profile', set the corresponding profile name, ie. login/slurm.&lt;br /&gt;
Then click on the Parallel tab and set the &amp;quot;Launch parallel engine&amp;quot;&lt;br /&gt;
&lt;br /&gt;
For the slurm profile, you will need to set the parameters as seen below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot; /&amp;gt;&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
| [[File:Visit_niagara-02.png|400px|]]&lt;br /&gt;
| [[File:Visit_niagara-03.png|400px|]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, after you are done with these changes, go to the &amp;quot;Options&amp;quot; menu and select &amp;quot;Save settings&amp;quot;, so that your changes are saved and available next time you relaunch VisIt.&lt;br /&gt;
&lt;br /&gt;
=== ParaView Client-Server Configuration ===&lt;br /&gt;
Similarly to VisIt you will need to start a &amp;lt;code&amp;gt;debugjob&amp;lt;/code&amp;gt; in order to use a compute node to files and compute resources.&lt;br /&gt;
Here are the steps to follow:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Launch an interactive job (debugjob) on Niagara,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  debugjob&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; After getting a compute node, let's say niaXYZW, load the ParaView module and start a ParaView server,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  module load paraview&lt;br /&gt;
  pvserver --mesa-swr-ax2&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;--mesa-swr-avx2&amp;lt;/code&amp;gt; flag has been reported to offer faster software rendering using the OpenSWR library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Now, you have to wait a few seconds for the server to be ready to accept client connections.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  Waiting for client...&lt;br /&gt;
  Connection URL: cs://niaXYZW.scinet.local:11111&lt;br /&gt;
  Accepting connection(s): niaXYZW.scinet.local:11111&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Open a new terminal without closing your debugjob, and ssh into Niagara using the following command,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  ssh YOURusername@niagara.scinet.utoronto.ca -L11111:niaXYZW:11111 -N&lt;br /&gt;
&lt;br /&gt;
this will establish a tunnel mapping the port 11111 in your computer (&amp;lt;code&amp;gt;localhost&amp;lt;/code&amp;gt;) to the port 11111 on the Niagara's compute node, &amp;lt;code&amp;gt;niaXYZW&amp;lt;/code&amp;gt;, where the ParaView server will be waiting for connections.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Start ParaView on your local computer, go to &amp;quot;File -&amp;gt; Connect&amp;quot; and click on 'Add Server'.&lt;br /&gt;
You will need to point ParaView to your local port &amp;lt;code&amp;gt;11111&amp;lt;/code&amp;gt;, so you can do something like&amp;lt;/li&amp;gt;&lt;br /&gt;
 name = niagara&lt;br /&gt;
 server type = Client/Server&lt;br /&gt;
 host = localhost&lt;br /&gt;
 port = 11111&lt;br /&gt;
then click Configure, select &amp;lt;code&amp;gt;Manual&amp;lt;/code&amp;gt; and click Save.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Once the remote server is added to the configuration, simply select the server from the list and click Connect.&lt;br /&gt;
The first terminal window that read &amp;lt;code&amp;gt;Accepting connection...&amp;lt;/code&amp;gt; will now read &amp;lt;code&amp;gt;Client connected&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Open a file in ParaView (it will point you to the remote filesystem) and visualize it as usual.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multiple CPUs====&lt;br /&gt;
For performing parallel rendering using multiple CPUs, &amp;lt;code&amp;gt;pvserver&amp;lt;/code&amp;gt; should be run using &amp;lt;code&amp;gt;srun&amp;lt;/code&amp;gt;, ie. either submit a job script or request a job using&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt; salloc --ntasks=N*40 --nodes=N --time=1:00:00&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  module load paraview&lt;br /&gt;
  srun pvserver --mesa&lt;br /&gt;
&lt;br /&gt;
=== Final Considerations ===&lt;br /&gt;
Usually both VisIt and ParaView require to use the same version between the local client and the remote host, please try to stick to that to avoid having incompatibility issues, which might result in potential problems during the connections.&lt;br /&gt;
&lt;br /&gt;
== Batch mode and Scripting ==&lt;br /&gt;
Both, VisIt and ParaView, allow for batch processing using scripting in different languages.&lt;br /&gt;
&lt;br /&gt;
=== VisIt ===&lt;br /&gt;
In order to run or launch the Python interpreter for VisIt, you will need to execute the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; visit -cli -no-win -norun engine_par &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the 'engine_par' flag is needed in order to run the visualization engine in parallel.&lt;br /&gt;
&lt;br /&gt;
Alternatively, if one wants to assign resources from the cluster just from within the script one should add the following line to the script&lt;br /&gt;
&lt;br /&gt;
   OpenComputeEngine(&amp;quot;localhost&amp;quot;, (&amp;quot;-l&amp;quot;, &amp;quot;srun&amp;quot;, &amp;quot;-np&amp;quot;, &amp;quot;40&amp;quot;))&lt;br /&gt;
&lt;br /&gt;
In order to execute scripts in batch mode, use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; visit -cli -no-win -norun engine_par  -s scriptName.py&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that for running in parallel, in addition to loading the VisIt module, an mpi  module should also be loaded.&lt;br /&gt;
Eg.&lt;br /&gt;
&lt;br /&gt;
module load visit&lt;br /&gt;
module load intel/2018.2 intelmpi/2018.2 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=ParallelPorting#Making_sure_you_actually_have_a_parallel_engine https://www.visitusers.org/index.php?title=ParallelPorting#Making_sure_you_actually_have_a_parallel_engine]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=VisIt-tutorial-Python-scripting https://www.visitusers.org/index.php?title=VisIt-tutorial-Python-scripting]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=Python_examples https://www.visitusers.org/index.php?title=Python_examples]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=VisIt-tutorial-Advanced-scripting https://www.visitusers.org/index.php?title=VisIt-tutorial-Advanced-scripting]&lt;br /&gt;
&lt;br /&gt;
=== ParaView ===&lt;br /&gt;
ParaView offers a python interpreter &amp;lt;code&amp;gt;pvbatch&amp;lt;/code&amp;gt; to use &lt;br /&gt;
&lt;br /&gt;
 pvbatch --mesa-swr-avx2 --force-offscreen-rendering scriptName.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.paraview.org/Wiki/ParaView_and_Batch https://www.paraview.org/Wiki/ParaView_and_Batch]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.paraview.org/Wiki/ParaView/Python_Scripting https://www.paraview.org/Wiki/ParaView/Python_Scripting]&lt;br /&gt;
&lt;br /&gt;
== Other Versions ==&lt;br /&gt;
Alternatively you can try to use the visualization modules available on the CCEnv stack, for doing so just load the CCEnv module and select your favourite visualization module.&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=Visualization&amp;diff=1713</id>
		<title>Visualization</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=Visualization&amp;diff=1713"/>
		<updated>2018-11-15T15:20:35Z</updated>

		<summary type="html">&lt;p&gt;Mponce: /* VisIt */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Software Available ==&lt;br /&gt;
We have installed the latest versions of the open source visualization suites: VMD, VisIt and ParaView.&lt;br /&gt;
&lt;br /&gt;
Notice that for using ParaView you need to explicitly specify one of the mesa flags in order to avoid trying to use openGL, i.e.,&lt;br /&gt;
after loading the paraview module, use the following command:&lt;br /&gt;
&lt;br /&gt;
  paraview --mesa-swr&lt;br /&gt;
&lt;br /&gt;
Notice that Niagara does not have specialized nodes nor specially designated hardware for visualization, so if you want to perform interactive visualization or exploration of your data you will need to submit an interactive job (debug job, see [[https://docs.scinet.utoronto.ca/index.php/Niagara_Quickstart#Testing]]).&lt;br /&gt;
For the same reason you won't be able to request or use GPUs for rendering as there are none!&lt;br /&gt;
&lt;br /&gt;
== Interactive Visualization ==&lt;br /&gt;
Runtime is limited on the login nodes, so you will need to request a testing job in order to have more time for exploring and visualizing your data.&lt;br /&gt;
Additionally by doing so, you will have access to the 40 cores of each of the nodes requested.&lt;br /&gt;
For performing an interactive visualization session in this way please follow these steps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; ssh into niagara.scinet.utoronto.ca with the -X/-Y flag for x-forwarding&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; request an interactive job, ie.&amp;lt;/li&amp;gt;&lt;br /&gt;
   debugjob&lt;br /&gt;
this will connect you to a node, let's say for the argument &amp;quot;niaXYZW&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; run your favourite visualization program, eg. VisIt/ParaView &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   module load visit&lt;br /&gt;
   visit&lt;br /&gt;
&lt;br /&gt;
   module load paraview&lt;br /&gt;
   paraview --mesa-swr&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; exit the debug session.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Remote Visualization -- Client-Server Mode ==&lt;br /&gt;
You can use any of the remote visualization protocols supported for both VisIt and ParaView.&lt;br /&gt;
&lt;br /&gt;
Both, VisIt and ParaView, support &amp;quot;remote visualization&amp;quot; protocols.&lt;br /&gt;
This includes:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;  accessing data remotely, ie. stored on the cluster&lt;br /&gt;
&amp;lt;li&amp;gt; rendering visualizations using the compute nodes as rendering engines&lt;br /&gt;
&amp;lt;li&amp;gt; or both&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VisIt Client-Server Configuration ===&lt;br /&gt;
For allowing VisIt connect to the Niagara cluster you need to set up a &amp;quot;Host Configuration&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Choose *one* of the methods bellow:&lt;br /&gt;
&lt;br /&gt;
====Niagara Host Configuration File====&lt;br /&gt;
You can just download the Niagara host file, right click on the following link [https://support.scinet.utoronto.ca/~mponce/viz/host_niagara.xml host_niagara.xml] and select save as... &lt;br /&gt;
Depending on the OS you are using on your local machine:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; on a Linux/Mac OS place this file in &amp;lt;code&amp;gt;~/.visit/hosts/&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; on a Windows machine, place the file in  &amp;lt;code&amp;gt;My Documents\VisIt 2.13.0\hosts\&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart VisIt and check that the niagara profile should be available in your hosts.&lt;br /&gt;
&lt;br /&gt;
====Manual Niagara Host Configuration====&lt;br /&gt;
If you prefer to set up the verser yourself, instead of the configuration file from the previous section, just follow along these steps.&lt;br /&gt;
Open VisIt in your computer, go to the 'Options' menu, and click on &amp;quot;Host profiles...&amp;quot;&lt;br /&gt;
Then click on 'New Host' and select:&lt;br /&gt;
&lt;br /&gt;
 Host nickname = niagara&lt;br /&gt;
 Remote host name = niagara.scinet.utoronto.ca&lt;br /&gt;
 Username = Enter_Your_OWN_username_HERE&lt;br /&gt;
 Path to VisIt installation = /scinet/niagara/software/2018a/opt/base/visit/2.13.1&lt;br /&gt;
&lt;br /&gt;
Click on the &amp;quot;&amp;lt;code&amp;gt;Tunnel data connections through SSH&amp;lt;/code&amp;gt;&amp;quot;, and then hit Apply!&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
| [[File:Visit_niagara-01.png|480px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on the top of the window click on 'Launch Profiles' tab.&lt;br /&gt;
You will have to create two profiles:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;code&amp;gt;login&amp;lt;/code&amp;gt;: for connecting through the login nodes and accessing data &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &amp;lt;code&amp;gt;slurm&amp;lt;/code&amp;gt;: for using compute nodes as rendering engines &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
For doing so, click on 'New Profile', set the corresponding profile name, ie. login/slurm.&lt;br /&gt;
Then click on the Parallel tab and set the &amp;quot;Launch parallel engine&amp;quot;&lt;br /&gt;
&lt;br /&gt;
For the slurm profile, you will need to set the parameters as seen below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot; /&amp;gt;&lt;br /&gt;
{| align=&amp;quot;center&amp;quot;&lt;br /&gt;
| [[File:Visit_niagara-02.png|400px|]]&lt;br /&gt;
| [[File:Visit_niagara-03.png|400px|]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, after you are done with these changes, go to the &amp;quot;Options&amp;quot; menu and select &amp;quot;Save settings&amp;quot;, so that your changes are saved and available next time you relaunch VisIt.&lt;br /&gt;
&lt;br /&gt;
=== ParaView Client-Server Configuration ===&lt;br /&gt;
Similarly to VisIt you will need to start a &amp;lt;code&amp;gt;debugjob&amp;lt;/code&amp;gt; in order to use a compute node to files and compute resources.&lt;br /&gt;
Here are the steps to follow:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Launch an interactive job (debugjob) on Niagara,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  debugjob&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; After getting a compute node, let's say niaXYZW, load the ParaView module and start a ParaView server,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  module load paraview&lt;br /&gt;
  pvserver --mesa-swr-ax2&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;--mesa-swr-avx2&amp;lt;/code&amp;gt; flag has been reported to offer faster software rendering using the OpenSWR library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Now, you have to wait a few seconds for the server to be ready to accept client connections.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  Waiting for client...&lt;br /&gt;
  Connection URL: cs://niaXYZW.scinet.local:11111&lt;br /&gt;
  Accepting connection(s): niaXYZW.scinet.local:11111&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Open a new terminal without closing your debugjob, and ssh into Niagara using the following command,&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  ssh YOURusername@niagara.scinet.utoronto.ca -L11111:niaXYZW:11111 -N&lt;br /&gt;
&lt;br /&gt;
this will establish a tunnel mapping the port 11111 in your computer (&amp;lt;code&amp;gt;localhost&amp;lt;/code&amp;gt;) to the port 11111 on the Niagara's compute node, &amp;lt;code&amp;gt;niaXYZW&amp;lt;/code&amp;gt;, where the ParaView server will be waiting for connections.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Start ParaView on your local computer, go to &amp;quot;File -&amp;gt; Connect&amp;quot; and click on 'Add Server'.&lt;br /&gt;
You will need to point ParaView to your local port &amp;lt;code&amp;gt;11111&amp;lt;/code&amp;gt;, so you can do something like&amp;lt;/li&amp;gt;&lt;br /&gt;
 name = niagara&lt;br /&gt;
 server type = Client/Server&lt;br /&gt;
 host = localhost&lt;br /&gt;
 port = 11111&lt;br /&gt;
then click Configure, select &amp;lt;code&amp;gt;Manual&amp;lt;/code&amp;gt; and click Save.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Once the remote server is added to the configuration, simply select the server from the list and click Connect.&lt;br /&gt;
The first terminal window that read &amp;lt;code&amp;gt;Accepting connection...&amp;lt;/code&amp;gt; will now read &amp;lt;code&amp;gt;Client connected&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Open a file in ParaView (it will point you to the remote filesystem) and visualize it as usual.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Multiple CPUs====&lt;br /&gt;
For performing parallel rendering using multiple CPUs, &amp;lt;code&amp;gt;pvserver&amp;lt;/code&amp;gt; should be run using &amp;lt;code&amp;gt;srun&amp;lt;/code&amp;gt;, ie. either submit a job script or request a job using&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt; salloc --ntasks=N*40 --nodes=N --time=1:00:00&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  module load paraview&lt;br /&gt;
  srun pvserver --mesa&lt;br /&gt;
&lt;br /&gt;
=== Final Considerations ===&lt;br /&gt;
Usually both VisIt and ParaView require to use the same version between the local client and the remote host, please try to stick to that to avoid having incompatibility issues, which might result in potential problems during the connections.&lt;br /&gt;
&lt;br /&gt;
== Batch mode and Scripting ==&lt;br /&gt;
Both, VisIt and ParaView, allow for batch processing using scripting in different languages.&lt;br /&gt;
&lt;br /&gt;
=== VisIt ===&lt;br /&gt;
In order to run or launch the Python interpreter for VisIt, you will need to execute the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; visit -cli -no-win -norun engine_par &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the 'engine_par' flag is needed in order to run the visualization engine in parallel.&lt;br /&gt;
&lt;br /&gt;
Alternatively, if you want to assign resources from the cluster just from within the script one should add the following line&lt;br /&gt;
&lt;br /&gt;
   OpenComputeEngine(&amp;quot;localhost&amp;quot;, (&amp;quot;-l&amp;quot;, &amp;quot;srun&amp;quot;, &amp;quot;-np&amp;quot;, &amp;quot;40&amp;quot;))&lt;br /&gt;
&lt;br /&gt;
In order to execute scripts you can instead run them in batch mode by executing,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; visit -cli -no-win -norun engine_par scriptName.py&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
recall to add the &amp;lt;code&amp;gt;OpenComputeEnigne(...)&amp;lt;/code&amp;gt; line to your script for using parallel processing.&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=ParallelPorting#Making_sure_you_actually_have_a_parallel_engine https://www.visitusers.org/index.php?title=ParallelPorting#Making_sure_you_actually_have_a_parallel_engine]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=VisIt-tutorial-Python-scripting https://www.visitusers.org/index.php?title=VisIt-tutorial-Python-scripting]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=Python_examples https://www.visitusers.org/index.php?title=Python_examples]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.visitusers.org/index.php?title=VisIt-tutorial-Advanced-scripting https://www.visitusers.org/index.php?title=VisIt-tutorial-Advanced-scripting]&lt;br /&gt;
&lt;br /&gt;
=== ParaView ===&lt;br /&gt;
ParaView offers a python interpreter &amp;lt;code&amp;gt;pvbatch&amp;lt;/code&amp;gt; to use &lt;br /&gt;
&lt;br /&gt;
 pvbatch --mesa-swr-avx2 --force-offscreen-rendering scriptName.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.paraview.org/Wiki/ParaView_and_Batch https://www.paraview.org/Wiki/ParaView_and_Batch]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.paraview.org/Wiki/ParaView/Python_Scripting https://www.paraview.org/Wiki/ParaView/Python_Scripting]&lt;br /&gt;
&lt;br /&gt;
== Other Versions ==&lt;br /&gt;
Alternatively you can try to use the visualization modules available on the CCEnv stack, for doing so just load the CCEnv module and select your favourite visualization module.&lt;/div&gt;</summary>
		<author><name>Mponce</name></author>
	</entry>
</feed>