Department of Electrical and Computer Engineering Facebook page


  • DEPARTMENT
    • Overview
    • Computing
    • Facilities
    • Organizations
    • Educational Objectives
    • Student Outcomes
    • Scholarship Awards
    • Employment
    • Advisory Committee
    • Contact
  • ACADEMICS
    • Undergraduate
      • Computer Eng.
      • Electrical Eng.
      • Ambassadors
    • Graduate
      • Information for Prospective Students
      • ECE Graduate Handbook
      • Graduate Forms
      • Ph.D. Qualifying Exam
      • Distance Education
      • Frequently Asked Questions (FAQ)
    • Courses
    • Student Survival kit
    • Distance Learning
  • PEOPLE
    • Faculty
    • Staff
  • PROSPECTIVE STUDENTS
    • Overview
    • FAQ
    • Considering ECE
    • Scholarships
    • PC Requirements
    • Office of Admissions
  • RESEARCH
    • Overview
    • Signal Processing & Communications
    • Digital Systems & Microelectronics
    • Power & High Voltage
    • Research Centers
      • Emerging Materials Research Laboratory
      • High Voltage Laboratory
      • Robotics
    • HPCC
  • ALUMNI
Compute Cluster - Ece
Personal tools
  • Log in
Views
  • Page
  • Discussion
  • View source
  • History

Compute Cluster

From Ece

Jump to: navigation, search

Contents

  • 1 How is a job submitted to the compute cluster?
  • 2 How are jobs monitored on the compute cluster?
  • 3 What should be in the script file that is submitted with qsub?
  • 4 How do I submit Matlab jobs to the cluster?


How is a job submitted to the compute cluster?

You can submit a job to the cluster using the qsub command from the command line of the host, talus.ece.msstate.edu. The syntax of the qsub command is:

   qsub [options] script_file

The script_file argument is the name of the script file that contains the commands to be run by your job.

For more information, type man qsub at the command prompt.

How are jobs monitored on the compute cluster?

You can monitor jobs that you have submitted to the compute cluster using the qmon command. qmon is a GUI that requires you to have either X-Win32 or X from the Cygwin utilities in the Windows environment in order to view it. If you are running Linux or MacOS, you will not need anything extra.

If you wish to see the status from the command line, use qstat. More information about qstat can be found by running man qstat from the command line.

What should be in the script file that is submitted with qsub?

A sample script is:

#!/bin/bash
# Sample script for Grindengine
# Replace items enclosed by {}
# Remove # to uncomment lines
# man qsub for more options and additional info

#$ -S /usr/bin/csh

#$ -V
#$ -cwd

#$ -M {email address for notification}
#$ -m {condition for notification, e.g. be for beginning and end}

#$ -o {file for standard output}
#$ -e {file for standard error}

{command line(s) to be executed}

How do I submit Matlab jobs to the cluster?

Matlab must be run in a non-interactive mode. You can do that by specifying the following in your batch file:

matbg INFILE.M OUTFILE

infile.m is the script file that has matlab commands.

IMPORTANT: Type "quit" as the last statement in your script. If you forget to do that, the batch job may run forever.

outfile is the file where the output of the Matlab script is saved.

Retrieved from "http://www.ece.msstate.edu/wiki/index.php/Compute_Cluster"
Category: Admin
Navigation
  • Main Page
  • Community portal
  • Current events
  • Recent changes
  • Random page
  • Help
SEARCH
TOOLBOX
LANGUAGES
 
Toolbox
  • What links here
  • Related changes
  • Upload file
  • Special pages
  • Printable version
  • Permanent link
Powered by MediaWiki
  • This page was last modified on 24 September 2008, at 16:28.
  • This page has been accessed 1,909 times.
  • Privacy policy
  • About Ece
  • Disclaimers

Mississippi State University Home| PO Box 9571, Mississippi State, MS 39762 | Main Office: 1.662.325.3912

Bagley College of Engineering | Mississippi State University| Legal| Webmaster| Intranet

Page modified: Tue, 23 Sep 2008 15:18:39 CDT