Niagara Quickstart: Difference between revisions

Jump to navigation Jump to search
Marked this version for translation
mNo edit summary
(Marked this version for translation)
Line 17: Line 17:
More detailed hardware characteristics of the Niagara supercomputer can be found [[Niagara|on this page]].
More detailed hardware characteristics of the Niagara supercomputer can be found [[Niagara|on this page]].


= Getting started on Niagara =
= Getting started on Niagara = <!--T:209-->


<!--T:4-->
<!--T:4-->
Line 24: Line 24:
If you do not have access yet (e.g. because you are new to SciNet and belonging to a group whose primary PI does not have an allocation as granted in the annual [https://www.computecanada.ca/research-portal/accessing-resources/resource-allocation-competitions Compute Canada RAC]), follow the old route of [https://ccdb.computecanada.ca/me/facilities requesting a SciNet Consortium Account on the CCDB site] to gain access to Niagara.  After clicking the "Apply" button, it usually takes only one or two business days for access to be granted.   
If you do not have access yet (e.g. because you are new to SciNet and belonging to a group whose primary PI does not have an allocation as granted in the annual [https://www.computecanada.ca/research-portal/accessing-resources/resource-allocation-competitions Compute Canada RAC]), follow the old route of [https://ccdb.computecanada.ca/me/facilities requesting a SciNet Consortium Account on the CCDB site] to gain access to Niagara.  After clicking the "Apply" button, it usually takes only one or two business days for access to be granted.   


<!--T:210-->
Please read this document carefully.  The [https://docs.scinet.utoronto.ca/index.php/FAQ FAQ] is also a useful resource.  If at any time you require assistance, or if something is unclear, please do not hesitate to [mailto:niagara@computecanada.ca contact us].
Please read this document carefully.  The [https://docs.scinet.utoronto.ca/index.php/FAQ FAQ] is also a useful resource.  If at any time you require assistance, or if something is unclear, please do not hesitate to [mailto:niagara@computecanada.ca contact us].


Line 83: Line 84:
<translate>
<translate>


<!--T:211-->
NOTE: home is read-only on compute nodes.
NOTE: home is read-only on compute nodes.


Line 107: Line 109:
=== Storage and quotas === <!--T:39-->
=== Storage and quotas === <!--T:39-->


<!--T:212-->
You should familiarize yourself with the [[Data_Management#Purpose_of_each_file_system | various file systems]], what purpose they serve, and how to properly use them.  This table summarizes the various file systems.  See the [[Data_Management | Data Management]] page for more details.
You should familiarize yourself with the [[Data_Management#Purpose_of_each_file_system | various file systems]], what purpose they serve, and how to properly use them.  This table summarizes the various file systems.  See the [[Data_Management | Data Management]] page for more details.


Line 163: Line 166:
|}
|}


=== Moving data to Niagara ===
=== Moving data to Niagara === <!--T:213-->


<!--T:214-->
If you need to move data to Niagara for analysis, or when you need to move data off of Niagara, use the following guidelines:
If you need to move data to Niagara for analysis, or when you need to move data off of Niagara, use the following guidelines:
* If your data is less than 10GB, move the data using the login nodes.
* If your data is less than 10GB, move the data using the login nodes.
* If your data is greater than 10GB, move the data using the datamover nodes nia-datamover1.scinet.utoronto.ca and nia-datamover2.scinet.utoronto.ca .
* If your data is greater than 10GB, move the data using the datamover nodes nia-datamover1.scinet.utoronto.ca and nia-datamover2.scinet.utoronto.ca .


<!--T:215-->
Details of how to use the datamover nodes can be found on the [[Data_Management#Moving_data | Data Management ]] page.
Details of how to use the datamover nodes can be found on the [[Data_Management#Moving_data | Data Management ]] page.


= Loading software modules = <!--T:48-->
= Loading software modules = <!--T:48-->


<!--T:216-->
You have two options for running code on Niagara: use existing software, or [[Niagara_Quickstart#Compiling_on_Niagara:_Example | compile your own]].  This section focuses on the former.
You have two options for running code on Niagara: use existing software, or [[Niagara_Quickstart#Compiling_on_Niagara:_Example | compile your own]].  This section focuses on the former.


Line 178: Line 184:
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]].
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]].


<!--T:217-->
Common module subcommands are:
Common module subcommands are:
<li><code>module load &lt;module-name&gt;</code>: use particular software</li>
<li><code>module load &lt;module-name&gt;</code>: use particular software</li>
Line 185: Line 192:
<li><code>module list</code>: list loaded modules</li>
<li><code>module list</code>: list loaded modules</li>


<!--T:218-->
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.
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.


<!--T:219-->
There are handy abbreviations for the module commands. <code>ml</code> is the same as <code>module list</code>, and <code>ml <module-name></code> is the same as <code>module load <module-name></code>.
There are handy abbreviations for the module commands. <code>ml</code> is the same as <code>module list</code>, and <code>ml <module-name></code> is the same as <code>module load <module-name></code>.


== Software stacks: NiaEnv and CCEnv ==
== Software stacks: NiaEnv and CCEnv == <!--T:220-->


<!--T:53-->
<!--T:53-->
Line 229: Line 238:
Solve these dependencies by using <code>module spider</code>.
Solve these dependencies by using <code>module spider</code>.


= Available compilers and interpreters =
= Available compilers and interpreters = <!--T:221-->


<!--T:222-->
* For most compiled software, one should use the Intel compilers (<tt>icc</tt> for C, <tt>icpc</tt> for C++, and <tt>ifort</tt> for Fortran). Loading an <tt>intel</tt> module makes these available.  
* For most compiled software, one should use the Intel compilers (<tt>icc</tt> for C, <tt>icpc</tt> for C++, and <tt>ifort</tt> for Fortran). Loading an <tt>intel</tt> module makes these available.  
* The GNU compiler suite (<tt>gcc, g++, gfortran</tt>) is also available, if you load one of the <tt>gcc</tt> modules.
* The GNU compiler suite (<tt>gcc, g++, gfortran</tt>) is also available, if you load one of the <tt>gcc</tt> modules.
Line 243: Line 253:
= Using Commercial Software = <!--T:67-->
= Using Commercial Software = <!--T:67-->


<!--T:223-->
May I use commercial software on Niagara?
May I use commercial software on Niagara?


Line 379: Line 390:
Within these limits, jobs will still have to wait in the queue.  The waiting time depends on many factors such as the allocation amount, how much allocation was used in the recent past, the number of nodes and the walltime, and how many other jobs are waiting in the queue.
Within these limits, jobs will still have to wait in the queue.  The waiting time depends on many factors such as the allocation amount, how much allocation was used in the recent past, the number of nodes and the walltime, and how many other jobs are waiting in the queue.


== File Input/Output Tips ==
== File Input/Output Tips == <!--T:224-->


<!--T:225-->
It is important to understand the file systems, so as to perform your file I/O (Input/Output) responsibly.  Refer to the [[Data_Management | Data Management]] page for details about the file systems.
It is important to understand the file systems, so as to perform your file I/O (Input/Output) responsibly.  Refer to the [[Data_Management | Data Management]] page for details about the file systems.
* Your files can be seen on all Niagara login and compute nodes.
* Your files can be seen on all Niagara login and compute nodes.
Line 414: Line 426:
<source lang="bash">nia-login07:scratch$ sbatch mpi_job.sh</source>
<source lang="bash">nia-login07:scratch$ sbatch mpi_job.sh</source>


<!--T:226-->
<ul>
<ul>
<li>First line indicates that this is a bash script.</li>
<li>First line indicates that this is a bash script.</li>
Bureaucrats, cc_docs_admin, cc_staff
2,879

edits

Navigation menu