Skip to content

Jobs

Overview

The Jobs menu on the menu bar includes both the Job Composer and the Active Jobs tools. The Job Composer assists you to set up and submit jobs to the cluster through a graphical interface using file management tools and access to job templates.

jobs-dropdown.png

Job Composer

jobs-dashboard.png

Creating a New Job

  • Click New Job > From Default Template

jobcomposer-1.png

  • A new job (e.g., Simple Sequential Job) will appear in your job list.

  • Click Open Editor to open the directory in the File Editor.

jobcomposer-2.png

  • Modify the main_job.sh script as needed.

jobcomposer-3.png

  • Return to the Job Composer and click Job Options to adjust:
    • Job Name
    • Cluster (ensure it’s set to wulver)
    • Account (It will take the default account. If you have or ever had multiple accounts then you have to specify your account)

jobcomposer-4.png

  • Click Save to apply changes.
  • Select an existing job from your list.
  • Click New Job > From Selected Job.
  • This duplicates the job, allowing you to modify it without altering the original.
  • Click New Job > From Specified Path.
  • Enter the full path to a directory containing your job script and necessary files.
  • This is useful for jobs prepared outside the Job Composer.

Editing the Job Script

  1. In the Job Composer, locate your job and click Open Editor under the Submit Script section.
  2. Modify the main_job.sh script with your desired commands and SLURM directives. For example:
    #SBATCH --output=%x.%j.out # %x.%j expands to slurm JobName.JobID
    #SBATCH --error=%x.%j.err
    #SBATCH --partition=general
    #SBATCH --qos=standard
    #SBATCH --nodes=1
    #SBATCH --ntasks-per-node=1
    #SBATCH --time=01:00  # D-HH:MM:SS
    #SBATCH --mem-per-cpu=4000M
    
  3. Ensure you adjust the SLURM directives (#SBATCH lines) according to your job’s requirements.
  4. Click Save after editing.

Submitting the Job

  1. In the Job Composer, select your job.
  2. Click Submit.
  3. Monitor the job’s status under the Active Jobs tab.
    • Queued: Waiting for resources.
    • Running: Currently executing.
    • Completed: Finished execution.

jobcomposer-5.png

Outputs

  • You can check the output/error in folder contents

jobcomposer-6.png

  • Check both files to confirm your program ran successfully.

jobcomposer-7.png

Note

Even if an error might have occurred, your job status will still show complete.

Active Jobs

The Active Jobs tool will allow you to view all the jobs you’ve submitted that are currently in the queue, via OnDemand or not, so you can check on their status.

active_jobs1.png

You can expand each job to check more details. You can also open the current working directory of job in file manager or terminal by clicking Open in File Manger or Open in Terminal respectively.

active_jobs2.png