Niagara Quickstart: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 368: Line 368:
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.


== Email Notification == <!--T:199-->
== File Input/Output Tips ==
Email notification works, but you need to add the email address and type of notification you may want to receive in your submission script, eg.


    <!--T:200-->
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.
#SBATCH --mail-user=YOUR.email.ADDRESS
* Your files can be seen on all Niagara login and compute nodes.
    #SBATCH --mail-type=ALL
* $HOME, $SCRATCH, and $PROJECT all use the parallel file system called GPFS.
 
* GPFS is a high-performance file system which provides rapid reads and writes to large data sets in parallel from many nodes.
<!--T:201-->
* Accessing data sets which consist of many, small files leads to poor performance on GPFS.
If you omit the mail-user option, the scheduler will use the primary email address associated with your Compute Canada account.
* Avoid reading and writing lots of small amounts of data to disk.  Many small files on the system waste space and are slower to access, read and write.  If you must write many small files, use [[User_Ramdisk | ramdisk]].
 
* Write data out in a binary format. This is faster and takes less space.
<!--T:202-->
* The [[Burst Buffer]] is another option for I/O heavy-jobs and for speeding up [[Checkpoints|checkpoints]].
The sbatch man page (type <tt>man sbatch</tt> on Niagara) explains all possible mail-types.


== Example submission script (MPI) == <!--T:90-->
== Example submission script (MPI) == <!--T:90-->
cc_staff
290

edits

Navigation menu