Skip to content

Create New Job

Here, we explain how to assemble the necessary input files for job submission via the CLI using some pre-defined examples. The reader is referred to the dedicated Tutorial on this topic for a more comprehensive description and examples on how such input files can be customized by the user.

General Procedure

A new simulation Job can be created by assembling the necessary simulation input files, as well as the Batch Script associated with the job, under the same working folder.

By our convention, this working folder must be located under the cluster home directory of the computing cluster being considered for job execution.

Choose walltime carefully

The Walltime of the simulation is defined in the Batch Script through its corresponding directive, and should be chosen carefully for a number of reasons.

  1. Jobs that require long walltime will reserve the corresponding balance, and thus prevent other jobs from starting.
  2. When not enough walltime is allocated, the job may not finish on time, resulting in an erroneous output.
  3. The user is advised to submit a support ticket if a walltime adjustment is needed during the course of a long job execution. Our support staff will do their best to accommodate the necessary desired changes, depending on the current computing load and business hours.

Users can find our examples of job batch scripts and input files as explained here.

Example

Below are example commands needed to copy and run one of these template examples with the Quantum ESPRESSO modeling application, contained in the espresso sub-directory inside job_script_templates.

1
2
3
4
5
6
# make temporary directory
cd && mkdir -p job-examples/
# copy example files
cd job-examples/ && cp -r ~/job_script_templates/espresso .
# submit for execution
cd espresso && qsub job.pbs

The above case submits the sample Quantum ESPRESSO job into the queue of the resource manager for scheduling its execution. You can view its status with the qstat command described here.