Skip to content

A new version of SD Connect and SD Desktop will be available from Monday, September 28. The major upgrade will introduce significant improvements, but also includes changes that are not compatible with the current version of the service. Click here to review the available support materials.

Warning!

Puhti and Mahti computing services have been decommissioned and no new jobs are accepted or executed on its compute nodes. Puhti and Mahti login nodes and storage services are planned to remain available until 15 October 2026. Clean up unnecessary files and move any data you need to keep by 31 August 2026. See the Roihu data migration guide for instructions on transferring your data to Roihu.

Submitting a batch job

Submit a job to the queue with command sbatch:

sbatch <batch_job_file>

For example:

sbatch job.sh

When the job is successfully submitted, the command prints out the ID number of the submitted job. For example, Submitted batch job 3609650.

To check if your job is running correctly:

squeue -u $USER

or

squeue --me

You should see your job ID and other details displayed in the terminal.

To cancel a submitted batch job:

scancel <jobid>

For example,

scancel 3609650

To find out more about your jobs:

sacct

The information includes the state of the jobs (PENDING, RUNNING, COMPLETED, FAILED, etc.) and the job ID. By default, the sacct command displays information about a user's own jobs that have been submitted to the queue on the current date. It also has a wide selection of options and parameters that can be used to select which data is displayed. See all sacct options and parameters.

Avoid querying too much data with sacct

Do not query job data from a long time period with sacct. sacct fetches its data from the Slurm accounting database, and with large queries the operation can be heavy on the system. In particular, avoid running the command many times in a row. Instead, you can redirect the output data to a file and then search that for whatever information you want to analyze. For example, to save the data from the past 7 days in a file sacct-output.txt:

sacct --starttime now-7days > sacct-output.txt

Submitting jobs across architectures on Roihu

On Roihu, the CPU nodes are x86 and the GPU nodes are ARM, so normally you should submit CPU jobs from roihu-cpu.csc.fi and GPU jobs from roihu-gpu.csc.fi. Submitting across architectures is possible, but the job inherits an environment built for the wrong architecture unless you take extra care. See Submitting jobs across architectures.

More information