TABLE OF CONTENTS
::pwtk::queue::pwtk_profile
SYNOPSIS
proc ::pwtk::queue::pwtk_profile {queueSystem profileName {pwtkProfileSpecs {}}} {
PURPOSE
Set or query a PWTK profile $profileName for a given $queueSystem queuing system.
ARGUMENTS
- queueSystem -- name of batch queuing system (e.g. slurm, lsf, ll ...)
- profileName -- name of profile
- pwtkProfileSpecs -- profile's definition
RETURN VALUE
The value of the queueSystem's profileName pwtk_profile or an empty string if the pwtk_profile does not exist
SOURCE
variable pwtk_profile if { $pwtkProfileSpecs ne "" } { set pwtk_profile($queueSystem,$profileName) $pwtkProfileSpecs } return [::pwtk::varvalue pwtk_profile($queueSystem,$profileName)] }