Skip to main content
Welcome to the University of Lethbridge
  • Library
  • Directory
  • Intranet
  • MyExperience
  • Webmail
  • Bridge
  • Moodle
Study here Give
Faculty of Arts & Science Department of Physics & Astronomy
Close
  • About Us
    • Future Students
    • Current Students
    • Graduate Studies
    • Meet our Faculty & Staff
    • Department Information
    • Let's Talk Science
    • Speaker Series
    • Liberal Education
    • Profiles & Stories
  • Programs & Courses
    • Departmental Timetable
    • Academic Writing Program
    • Minors
    • Honours Thesis
    • Independent Study
    • Applied Studies
    • Co-operative Education & Internships
    • Academic Advising
    • Skills Acquired
    • Career Prospects
  • Research
    • Job Opportunities for Students
    • SPIRE ICC Post-ops Meeting February 2016
  • Resources
    • Resources for Teachers
    • Physics Lab Information
    • Magnetic Resonance Facility
    • ASTRONOMY FIELD TRIP FORM
    • Remote Sensing
    • Space Astronomy (ISIS)
    • Theoretical Physics Group
    • Useful Web Links
    • High Performance Computing
    • Canadian Association of Physicists
    • Physics FAQs
  • Contact Us
  • Library
  • Directory
  • Intranet
  • MyExperience
  • Webmail
  • Bridge
  • Moodle
Study here Give
Resources
  • Resources for Teachers
  • Physics Lab Information
  • Magnetic Resonance Facility
  • ASTRONOMY FIELD TRIP FORM
    • Waiver Form
  • Remote Sensing
  • Space Astronomy (ISIS)
  • Theoretical Physics Group
  • Useful Web Links
  • High Performance Computing
    • Dalhousie University
      • SP2 Usage Notes
    • Memorial University of Newfoundland
      • Local documentation
    • University of Alberta
      • Full demonstration
      • Local Documentation
    • University of Calgary
    • University of Montreal
      • Local documentation
      • Network Queuing System (NQS)
    • Université Laval
    • Local docmentation
  • Canadian Association of Physicists
  • Physics FAQs

Network Queuing System (NQS)

Interactive and background jobs are strongly discouraged on ESI batch machines (though exceptions are made for compiling and debugging). Instead jobs should be submitted in batch mode via NQS from a frontend machine. Relevant commands are:

  • qstat -ad to see jobs which are currently running or waiting in the queues.
  • qsub -q QUEUE SCRIPT to submit a shell script “SCRIPT” to the queue “QUEUE”.
  • qdel -k 3901.esi21@esirs to kill the job number 3901 submitted from esi21 but queued on esirs.
  • qacct -u usager -S -a MONTH/DAY lists the total CPU time used by the user since the specified date.

Note that you must add /usr/local/bin to your default UNIX path in order to access these commands. Sample scripts are:

  • sample script 1 (too simple).
  • sample script 2 (parallelized task).
  • sample script 3 (one of the right ways to do things).

More information about these commands may be obtained from the on-line manual. The queues are listed on the main page for the ESI network. In writing appropriate NQS scripts, please note that it is important that jobs run on the batch machines maximize performance. Since performance is lost by transfering files across disk boundaries, the standard operating procedure for running jobs on our batch machines is to

  1. Create a subdirectory in /UDEM/disques/tmp/login, where “login” is the users login name (call this new subdirectory “mydir” for the sake of illustration).
  2. Copy input and executable to /UDEM/disques/tmp/login/mydir.
  3. Run the program, making sure that all output files are written to /UDEM/disques/tmp/login/mydir.
  4. Copy any output files you would like to save to another directory (such as /UDEM/disques/chims1/login).
  5. Empty and remove /UDEM/disques/tmp/login.

Note that users should never use /tmp as scratch directory. Instead /UDEM/disques/tmp/login should be used.

Related Links

  • Services for Students
  • Career Bridge
  • Academic Advising
  • Apply Now

Connect with us

  • Events
  • News
  • Instagram
  • Facebook

Physics & Astronomy

  • SA9350
    (Science Commons)
  • 403-329-2280
  • physics@uleth.ca

Students

  • Academic calendar
  • Student Enrolment and Registrar Services
  • Student opportunities
  • Student services
  • Study here

Information for

  • Alumni
  • Donors
  • Visitors and community

Campus

  • Careers at uLethbridge
  • Events
  • Faculty and staff intranet
  • Maps and tours
  • News
Visit the University of Lethbridge Homepage
  • Lethbridge, Alberta, Canada
  • Contact us
  • Calgary Campus
  • Faculty and staff directory

The University is located on traditional Blackfoot Confederacy territory. We honour the Blackfoot people and their traditional ways of knowing in caring for this land, as well as all Aboriginal peoples who have helped shape and continue to strengthen our University community.

©2025 University of Lethbridge | Terms of use