Skip to main content
Ctrl+K
DKRZ Documentation  documentation - Home
  • Documentation
  • Blog
  • News
  • Home Page
  • Documentation
  • Blog
  • News
  • Home Page
Ctrl+K

Section Navigation

  • Getting started at DKRZ
    • Getting a user account
      • DKRZ user account
      • CERA user account
      • ESGF user account
      • Shared user account
    • Resource allocation
    • User Support
      • Help Desk
      • Data Support - Data Management
      • Training
        • Program Analysis and Tools Workshop
        • Training on DKRZ’s HPC systems (mistral, HPSS and cloud)
        • Introduction to DKRZ’s HLRE-3 system Mistral
    • Multi-Factor-Authentication
    • Terms of use
  • Levante HPC system
    • Configuration
    • Access and Environment
    • File Systems
    • Developing and Using Scientific Software
      • Compiling and Linking
      • Debugging
      • Building your own package: spack
      • Python
      • GPU Programming
    • Running Jobs with Slurm
      • Slurm Introduction
      • Partitions and Limits
      • Example Batch Scripts
      • Runtime Settings
      • Using GPU nodes
      • Accounting and Priorities
      • Slurm Binding Website
    • Data Processing on Levante
    • Data Transfer
      • uftp (Unicore FTP)
    • Remote file system
    • Known issues
    • Containers
      • Singularity
  • Data Storage
    • HPC System Storage
    • DKRZ HSM (tape archive)
      • Getting Started with slk
      • Known Issues (read this!)
      • Archivals to tape
      • Retrievals from tape
      • File Search and Metadata
      • slk usage examples
      • manual pages HSM
        • slk: official StrongLink Command Line Interface
        • slk helpers: slk extension provided by DKRZ
        • improved retrieval workflow v01
        • slk wrappers: SLURM wrapper scripts to simplify StrongLink-tasks
        • Reference: metadata schemata
        • Reference: StrongLink query language
        • JSON structure for/of metadata import/export
        • Reference: StrongLink verify jobs
        • Official StrongLink Command Line Interface Guide
      • FAQ
    • Swift Object Storage
      • Swiftbrowser
      • Python-swiftclient
    • S3 Object Storage
      • Storage Access
  • Software & Services
    • Jupyterhub
      • Overview
      • Quick Start
      • Spawner options
      • VNC Desktop
      • Kernels
      • Lab Extensions
      • Changelog
    • Gitlab
      • Gitlab-runner
    • Redmine
    • Data Science Services
      • Machine Learning on Levante
    • ModVis
    • ClusterCockpit
  • Data Services
    • Data Management Planning
    • Finding & Accessing Data
      • /pool/data user projects
      • ECMWF Reanalysis Products
      • Freva instances available at DKRZ
      • Freva
      • Do you need Data?
    • Processing & Analysing
    • Publishing & Dissemination
      • Data Preparation and Quality Checking
      • ESGF publication
      • Publication at WDCC
    • Archiving & Preserving
  • Visualization
    • ParaView
      • ParaView on Levante
      • Paraview Examples
        • Create an image of sea surface speeds
        • Display clouds as a semi-transparent overlay
        • Create isosurfaces of ocean current speed
        • Create a multi-variable image / animation from a coupled ice sheet - climate simulation
        • Prepare a regional land and ocean map background
        • Streamline seeding in vector data
        • Volume rendering of (NARVAL II) ICON data
        • Isosurfaces and isocontours in regular lat-lon data
      • DKRZ ParaView tutorial document
      • The Paraview main screen
      • Camera and perspective
        • Set the background (color/gradient)
        • Camera: Follow Path
        • Camera: Orbit
        • Switch to camera parallel projection
        • Camera: Interpolate camera locations
        • Set the view size
      • Colormaps
        • Hack the color map:
        • Chose a different colormap
        • Invert the Colormap
        • Adjust the color bar and its legend
        • Rescale the colormap to a custom range
        • Save the colormap as a preset
        • Adjust the color map for a transparent display of clouds
      • Export
        • Export an animation
        • Saving animations and screenshots
      • Filters
        • Combine files with AppendAttributes
        • Extrude a land surface based on topography
        • Apply a calculator to convert u and v into speed
        • Check if you have cell or point data
        • Use the contour filter to display isolines
        • Using an earth texture as background
        • Extrusion of topography and bathymetry
        • Compute isosurfaces from the point data
        • Add an image as texture (plane) in the background
        • Add an image as texture on a sphere
        • Use a threshold to get rid of missing missing values in ICON Ocean
        • NetCDF: Date and time annotation
      • Light
        • Deactivate the light kit
      • Readers
        • Load NEMO 3D data with the netCDF CF reader
        • The NetCDF CF reader
        • Load 2D ICON data with the CDI reader
        • Load 3D ICON Ocean data in Paraview
        • Pre-Processing for a multi-variable image / animation
      • Rendering Techniques
        • Use bump-mapping to composite current speed and SST
      • Technical
        • Adjust / check the camera controls
        • Open the Paraview settings
        • Activate the CDI reader plugin
        • Make Paraview save a state on quitting or crashing
        • Automating visualizations in ParaView with PvBatch
        • Save a state file
    • Python
    • NCL
      • NCL examples
    • PyNGL
    • GrADS
  • Documentation For Users
  • manual pages HSM
  • slk...

slk wrappers: SLURM wrapper scripts to simplify StrongLink-tasks#

file version: 04 Feb 2025

current software version: slk_wrappers version 2.0.1

Available Wrapper Scripts#

  • slk_wrapper_version: print the version of the scripts

  • slk_wrapper_daily_login_check: start a SLURM job which runs daily and notifies you when your login token is due to expire

  • slk_wrapper_recall_wait_retrieve (DEPRECATED since v2.0.0): recall files to the cache and start retrieval as SLURM job when the recall is finished; please use instead: start_recall_wrapper.sh and start_retrieve_wrapper.sh

  • slk_wrapper_wait_retrieve (DEPRECATED since v2.0.0): retrieve files which are currently copied from tape to cache (see in this command’s description for details); please use instead: start_recall_wrapper.sh and start_retrieve_wrapper.sh

  • start_recall_wrapper.sh: start SLURM job chain which repeatedly starts recall jobs to copy requested files from tape to cache; requires that slk_helpers gfbt ... ran before

  • start_retrieve_wrapper.sh: start SLURM job chain which repeatedly tries to retrieve/transfer requested files from the cache to you/Lustre/Levante; requires that slk_helpers gfbt ... ran before

slk_wrapper_version#

$ slk_wrapper_version
slk wrapper version: 2.0.1
slk_helpers version: Version 1.13.2
slk version: SCLI Version 3.3.91

Prints the version of the slk wrapper scripts and of the used version of the slk_helpers and slk.

slk_wrapper_daily_login_check#

$ slk_wrapper_daily_login_check

Submit a SLURM job which notifies you via email when your login token is due to expire. This job re-submits itself with one day delay so that the status of your login token is checked once a day. If you wish to stop this again, please cancel the SLURM job with name slk_token_expire_notify via scancel.

slk_wrapper_weekly_verify_job#

wrapper will be removed soon

slk_wrapper_recall_wait_retrieve (DEPRECATED since v2.0.0)#

$ slk_wrapper_recall_wait_retrieve --help
$ slk_wrapper_recall_wait_retrieve <account> <source_path> <destination_path> <suffix_logfile>

* ``--help``: print short help
* ``<account>``: DKRZ project with compute time (e.g. gg0302, ab0995 or mh0287)
* ``<source_path>``: resource path or search id of archived data which should be obtained
* ``<destination_path>``: destination directory on Levante
* ``<suffix_logfile>``: a log file with the name ``logfile_<suffix>.log`` is automatically created

Start a recall job in StrongLink (copy files from tape to cache) and submits a SLURM job which repeatedly submits itself until the recall job is finished. When the recall job is finished, another SLURM job is submitted which retrieves the files from the cache to the Lustre filesystem / Levante.

slk_wrapper_wait_retrieve (DEPRECATED since v2.0.0)#

$ slk_wrapper_wait_retrieve --help
$ slk_wrapper_wait_retrieve <account> <source_path> <destination_path> <job_id> <suffix_logfile>

* ``--help``: print short help
* ``<account>``: DKRZ project with compute time (e.g. gg0302, ab0995 or mh0287)
* ``<source_path>``: resource path or search id of archived data which should be obtained
* ``<destination_path>``: destination directory on Levante
* ``<job_id>``: id of a running StrongLink recall job (not SLURM job id); recall job ids are printed into ``~/.slk/slk-cli.log``
* ``<suffix_logfile>``: a log file with the name ``logfile_<suffix>.log`` is automatically created

Useful when a recall job is already running and you want to retrieve the files from the cache as soon as they are there.

Submits a SLURM job which repeatedly submits itself until the recall job with given job_id is finished. When the recall job is finished, another SLURM job is submitted which retrieves the files from the cache to the Lustre filesystem / Levante.

start_recall_wrapper.sh#

Please see improved retrieval workflow v01

start_retrieve_wrapper.sh#

Please see improved retrieval workflow v01

On this page
  • Available Wrapper Scripts
  • slk_wrapper_version
  • slk_wrapper_daily_login_check
  • slk_wrapper_weekly_verify_job
  • slk_wrapper_recall_wait_retrieve (DEPRECATED since v2.0.0)
  • slk_wrapper_wait_retrieve (DEPRECATED since v2.0.0)
  • start_recall_wrapper.sh
  • start_retrieve_wrapper.sh
Imprint and Privacy Policy

© Copyright Deutsches Klimarechenzentrum GmbH.

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.15.4.