The University of Lethbridge
  • Notice Board
  • Web Mail
  • Web Tools
  • Directory
  • The Bridge
  • Library
  • Registrar

Faculty of Arts & Science
Physics & Astronomy


  • About Us
  • Courses
  • Programs
  • Research
  • Resources
  • Stories
  • Contact Us

Resources

  • Physics Lab Information
  • Magnetic Resonance Facility
  • ASTRONOMY FIELD TRIP FORM
  • Remote Sensing
  • Space Astronomy (ISIS)
  • Theoretical Physics Group
  • Useful Web Links
  • High Performance Computing
    • Dalhousie University
    • Memorial University of Newfoundland
    • Université Laval
    • University of Alberta
    • University of Calgary
    • University of Montreal
      • Local documentation
      • Network Queuing System (NQS)
    • University of Western Ontario
  • Careers in Physics
  • Physics FAQs

Faculty Members

  • Department Directory
Faculty of Arts & Science » Department of Physics & Astronomy » Resources » High Performance Computing » University of Montreal

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.

Upcoming Events for Physics-Astronomy

Alberta Airborne LiDAR Stakeholder Meeting
Monday, July 8, 2013 - 9:00am - Tuesday, July 9, 2013 - 7:00pm
University of Lethbridge
Alberta Airborne LiDAR Stakeholder MeetingHosted by the Alberta Terrestrial Imaging Centre,...

© 2013 University of Lethbridge | 4401 University Drive, Lethbridge, Alberta T1K 3M4 | Web Privacy Statement | Contact Directory

Services for Students

Services for Students

Courses & Exams
Academic Support
Finances
Information Technology
More

Facebook
Twitter
University Athletics

University Athletics

The University of Lethbridge Pronghorns represent our campus in interuniversity sport. Go Horns!
visit horns.uleth.ca

1st Choice Savings Centre for Sport and Wellness

1st Choice Savings Centre for Sport and Wellness

State-of-the-art recreation facilities.
Schedules and programs