Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

The Open OnDemand Job Composer enables users to create job scripts and submit them without ever using the command line. This is paricularly helpful for new users who have never opened a terminal or are unfamiliar with Linux command line behavior. However, some knowledge of Slurm and ARCC’s required Slurm directives is needed to successfully submit jobs on MedicineBow. Discussed in this module is the use of the Job Composer and common issues that arise with it.



First Look at the Job Composer

When opening the Job Composer for the first time, there are a few pop up prompts to follow to get started creating a job. There are also two items in the top menu 1) for Job management and 2) for job templates. Notice that the “New Job” button allows user to select a previously created job with the path, or from a Default Template as well as a new one if there is a job in the selections below.

image-20240722-141728.png

Create a Job With a Template

If someone has never created a batch job in Slurm before, a template is a good place to get started into seeing how one would look like. In this example, we will create a Default Template and then edit it in the steps below.

After clicking the “New Job” Button and selecting the “Default Template” option, we are presented with a new box on the right of the first look. Notice the parameters already set:

  • Job Name

  • Account

  • Along with script location and name

  • As well as a preview of what the job looks like

This default will not run on ARCC systems “as-is”. Edits will be required.

image-20240722-143105.png


Job Editor

When we click the light blue button on the bottom of the right box, we get a new window to pop up with a text editor-like appearance. If we then look at ARCC’s documentation on Required Inputs, we know what to add to get a job to run by adding the account and time Slurm directives.

image-20240722-144653.png

If we click save and go back to the Job Composer page, we should see our changes in the preview.


Job Options

Now that our job will run, we still might need to make some changes to the job options that will work best for us. If we click the “Job Options” image-20240722-145116.png button on the left box we get presented with a new view:

  • We can rename the job to “Hello_world_Template” that makes more sense for us to find later

  • Leave cluster and job script fields as the default because that is the system we want and the file we just editied

  • We can add account here instead of in the script, but it’s just a good practice to have it in the script

image-20240722-145233.png


Alternatively No Table

image-20240514-000127.png


Finally The End

Link to Previous sub-module or Home Module

Align left link to next sub-module or home

  • No labels