Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

arch-slk_settings

This file includes the main settings for the simulation and is called “sourced” at the beginning end of each script in the job chain_settings file.

Environment Variable

Description

ITYPE_ARCH_SLK

= 0 no archiving to the tape archive
= 1 archiving to the tape archive

TIME_ARCH_SLK

SBATCH setting for "--time" of the arch.job.sh

TIME_ARCH_SLK_CHECK

SBATCH setting for "--time" of the arch-slk_check.job.sh

PARTITION_ARCH_SLK

SBATCH setting for "--partition". Can be compute ore shared at DKRZ.

ARCH_SLK_SLKDIR

Base directory under which the data are stored in the tape archive. Data are stored under ${ARCH_SLK_SLKDIR}/${EXPID}/${YYYY_MM}  

ARCH_SLK_ITYPE_CHECKFILESIZE

= 0 no check
= 1 compare bytes of the files
= 2 compare MD5 checksums of the files
= 3 as 1 plus compare MD5 checksums of the tar-files after the end of each year at the very end of the job

ARCH_SLK_SLEEP

In case the archiving does not work or the MD5 checksum of the archive is not yet ready

try

the jobs re-tries again after ARCH_SLK_SLEEP seconds

(only relevant for ARCH_SLK_ITYPE_CHECKFILESIZE=2)

ARCH_SLK_RETRY_MAX

Maximum

naumber

number of re-tries in case the archiving does not work or the MD5 checksum of the archive is not yet ready

(only relevant for ARCH_SLK_ITYPE_CHECKFILESIZE=2)

ARCH_SLK_DELETE_ARCHFILES

= 0 tar files on disk will be kept
= 1 tar files on disk will be deleted

ARCH_SLK_CHECK_SBATCH_BEGIN

Time delay for starting the arch-slk_check.job.sh script. Must be in SLURM nomencalture of its "--begin" option (https://slurm.schedmd.com/sbatch.html).