<!-- keep this as a security measure: #uncomment if the subject should only be modifiable by the listed groups # * Set ALLOWTOPICCHANGE = Main.TWikiAdminGroup,Main.CMSAdminGroup # * Set ALLOWTOPICRENAME = Main.TWikiAdminGroup,Main.CMSAdminGroup #uncomment this if you want the page only be viewable by the listed groups # * Set ALLOWTOPICVIEW = Main.TWikiAdminGroup,Main.CMSAdminGroup,Main.CMSAdminReaderGroup --> ---+ CPU Example <pre> #!/bin/bash # #SBATCH -p wn #SBATCH --account=t3 #SBATCH --job-name=job-name #SBATCH --mem=3000M # memory 3GB (per job) #SBATCH --time 01:00:00 #SBATCH -o %x-%j.out # replace default slurm-SLURM_JOB_ID.out; %x is a job-name (or script name when there is no job-name) #SBATCH -e %x-%j.err # replace default slurm-SLURM_JOB_ID.err echo HOME: $HOME echo USER: $USER echo SLURM_JOB_ID: $SLURM_JOB_ID echo HOSTNAME: $HOSTNAME # each worker node has local /scratch space to be used during job run mkdir -p /scratch/$USER/${SLURM_JOB_ID} export TMPDIR=/scratch/$USER/${SLURM_JOB_ID} ######################################################### # Please fill in your code here ######################################################### # cleaning of temporary working dir after job is completed: rm -rf /scratch/$USER/${SLURM_JOB_ID} date </pre>
This topic: CmsTier3
>
WebHome
>
SlurmUsage
>
CPUExample
Topic revision: r8 - 2022-10-17 - DerekFeichtinger
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback