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

Full demonstraton

The following example shows how to transfer a file from your computer to the Aurora system, submitting a job, and retrieving data. The example assumes that you have two basic programs installed on your computer— WS_FTP, and CRT Telnet (both are available from the Department of Information Technology, and can be installed on your computer at no charge).

Uploading Your Source Code

To upload your source code, you will need to start WSFTP. Start WSFTP by going to your Start menu, choose Programs, then choose WS_FTP LE

Image

We need to fill out the boxes with information. You may call the profile name whatever you wish. In this case, we have called it: U of A - Aurora Then for the Host Name/Address box, enter: aurora.nic.ualberta.ca For the User ID, enter in your assigned user name which was given to you by the U of A technical contact. And lastly, for the password, simply leave it blank. (You may wish to enter it, however for security reasons you should not). Once you have entered in the information, click on the OK button.

Image

Image

Now that we’re connected, you need to find your source file you wish to upload. The contents of your computer hard drive is on the left hand window. Simply find the file, and click on the file name. Once you have selected your file name, click on the right arrow (->) which is in the middle pane. This uploads your source code.

Image

Now that the file has been uploaded, we need to connect to Aurora to compile and submit the job. To connect to Aurora, we will need to Start CRT (or a similar Telnet program). Start CRT by clicking on the Start button, click Programs, then choose CRT.

Image

If you do not have the Aurora connection setup, then follow this step. Otherwise you may skip this step. Click on the New button.

Image

If you do not have the Aurora connection setup, then follow this step. Otherwise you may skip this step. We need to fill out the appropriate information. In the Name box, you may call the connection whatever you like. We are calling it U of A Aurora. The Hostname or IP is filled in as: aurora.nic.ualberta.ca Once this is done, simply click on the OK button.

Image

Now that we have the connection created, simply click on the U of A Aurora and then click OK.

Image

Once connected, enter your login name, and your password. These are CASE SENSITIVE, so make sure you have entered the two pieces of information accordingly.

Image

Now that we’re connected, we need to compile the test.for file that we uploaded. To compile the program, we would type: “f77 test.for -o test” The syntax for compilation is “f77 -o

Image

Now that the program has compiled (you will probably have some output on the screen regarding completion of compilation), you may now submit your job to the LSF queue. To submit your job to LSF, we need to start a program called bsub (bsub is used for serial/scalar processing). So at the command line, type “bsub” and hit enter.

Image

To submit your job, simply type “./test > myoutput” followed by the enter key. Note: the submission of your job is much like running your program interactively. In this case we are storing any screen output to a file called myoutput. If you wish to omit the screen information, the command would simply be “./test” followed by the enter key. Once you have typed that it, hit Control+D (HOLD down the CTRL key, and press the D key once). Please note: bsub is for scalar processing. If you need parallel processing use the following command instead: bmpirun -np numberofcpus jobname jobparameters where numberofcpus is the number of cpus you wish the jobs to be run on, jobname is the program (eg. ./test ) and jobparameters are any extra paramaters you wish to supply to the job.

Image

The job has now been submitted to the LSF queue. To check the status of your jobs, you can type in: “bjobs”

Image

In the above example we see that a job is currently running. If your jobs are done, you will see the following:

Image

Now that the job is finished, we can retreive our data via FTP. There should be an output file, called “myoutput”, and if your program outputs a data file, then you should have that as well. Start WSFTP and connect to the Aurora system to download your data files. When you connect with WSFTP you should notice your new data files on the right hand window. Click on them and then click on the Left Arrow (-) button to transfer the data files to your computer.

Image

When you are done, you should “clean up” your files. Simply delete any files which you have created. If you wish to retreive account information (eg. cpu time, etc), use the “bacct” routine to check your account status.

Image

If you wish to remove a job from the LSF queue, use the bjobs command to find out the JOBID number, and then use the bkill jobid# command to remove the job from the queue.

Image

To find out what how many jobs are in the queue, use the “bjobs -u all” command

Image

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