.TH "slurm.conf" "5" "March 2009" "slurm.conf 2.0" "Slurm configuration file" .SH "NAME" slurm.conf \- Slurm configuration file .SH "DESCRIPTION" \fB/etc/slurm.conf\fP is an ASCII file which describes general SLURM configuration information, the nodes to be managed, information about how those nodes are grouped into partitions, and various scheduling parameters associated with those partitions. This file should be consistent across all nodes in the cluster. .LP The file location can be modified at system build time using the DEFAULT_SLURM_CONF parameter. In addition, you can use the \fBSLURM_CONF\fR environment variable to override the built\-in location of this file. The SLURM daemons also allow you to override both the built\-in and environment\-provided location using the "\-f" option on the command line. .LP Note the while SLURM daemons create log files and other files as needed, it treats the lack of parent directories as a fatal error. This prevents the daemons from running if critical file systems are not mounted and will minimize the risk of cold\-starting (starting without preserving jobs). .LP The contents of the file are case insensitive except for the names of nodes and partitions. Any text following a "#" in the configuration file is treated as a comment through the end of that line. The size of each line in the file is limited to 1024 characters. Changes to the configuration file take effect upon restart of SLURM daemons, daemon receipt of the SIGHUP signal, or execution of the command "scontrol reconfigure" unless otherwise noted. .LP If a line begins with the word "Include" followed by whitespace and then a file name, that file will be included inline with the current configuration file. .LP The overall configuration parameters available include: .TP \fBAccountingStorageEnforce\fR If set to a non-zero value and the user, partition, account association is not defined for a job in the accounting database then prevent the job from being executed. This needs to be set to '2' if you the association limits will also be enforced. If set to anything else limits of associations will not be enforced. The default value is zero. .TP \fBAccountingStorageHost\fR Define the name of the host where the database is running we are going to store the accounting data. Only used for database type storage plugins, ignored otherwise. Also see \fBDefaultStorageHost\fR. .TP \fBAccountingStorageLoc\fR Specifies the location of the file or database where accounting records are written. Also see \fBDefaultStorageLoc\fR. .TP \fBAccountingStoragePass\fR Define the password used to gain access to the database to store the accounting data. Only used for database type storage plugins, ignored otherwise. In the case of Slurm DBD (Data Base Daemon) with Munge authentication this can be configured to use a Munge daemon specifically configured to provide authentication between clusters while the default Munge daemon provides authentication within a cluster. In that case, \fBAccountingStoragePass\fR should specify the named port to be used for communications with the alternate Munge daemon (e.g. "/var/run/munge/global.socket.2"). The default value is NULL. Also see \fBDefaultStoragePass\fR. .TP \fBAccountingStoragePort\fR Define the port the database server is listening on where we are going to store the accounting data. Only used for database type storage plugins, ignored otherwise. Also see \fBDefaultStoragePort\fR. .TP \fBAccountingStorageType\fR Define the accounting storage mechanism type. Acceptable values at present include "accounting_storage/mysql", "accounting_storage/none", "accounting_storage/pgsql", and "accounting_storage/slurmdbd". The value "accounting_storage/filetxt" indicates that accounting records will be written to a the file specified by the \fBAccountingStorageLoc\fR parameter. The value "accounting_storage/mysql" indicates that accounting records should be written to a MySQL database specified by the \fBAccountingStorageLoc\fR parameter. The default value is "accounting_storage/none", which means that account records are not maintained. The value "accounting_storage/pgsql" indicates that accounting records should be written to a PostgreSQL database specified by the \fBAccountingStorageLoc\fR parameter. This plugin is not complete and should not be used if wanting to use associations. It will however work with basic accounting of jobs and job steps. If interested in completing please email slurm-dev@lists.llnl.gov. The value "accounting_storage/slurmdbd" indicates that accounting records will be written to SlurmDDB, which manages an underlying MySQL or PostgreSQL database. See "man slurmdbd" for more information. Also see \fBDefaultStorageType\fR. .TP \fBAccountingStorageUser\fR Define the name of the user we are going to connect to the database with to store the accounting data. Only used for database type storage plugins, ignored otherwise. Also see \fBDefaultStorageUser\fR. .TP \fBAuthType\fR Define the authentication method for communications between SLURM components. Acceptable values at present include "auth/none", "auth/authd", and "auth/munge". The default value is "auth/munge". "auth/nume includes the UID in each communication, but it is not verified. This may be fine for testing purposes, but \fBdo not use "auth/none" if you desire any security\fR. "auth/authd" indicates that Brett Chun's authd is to be used (see "http://www.theether.org/authd/" for more information, Note that authd is no longer actively supported). "auth/munge" indicates that LLNL's MUNGE is to be used (this is the best supported authentication mechanism for SLURM, see "http://home.gna.org/munge/" for more information). All SLURM daemons and commands must be terminated prior to changing the value of \fBAuthType\fR and later restarted (SLURM jobs can be preserved). .TP \fBBackupAddr\fR Name that \fBBackupController\fR should be referred to in establishing a communications path. This name will be used as an argument to the gethostbyname() function for identification. For example, "elx0000" might be used to designate the Ethernet address for node "lx0000". By default the \fBBackupAddr\fR will be identical in value to \fBBackupController\fR. .TP \fBBackupController\fR The name of the machine where SLURM control functions are to be executed in the event that \fBControlMachine\fR fails. This node may also be used as a compute server if so desired. It will come into service as a controller only upon the failure of ControlMachine and will revert to a "standby" mode when the ControlMachine becomes available once again. This should be a node name without the full domain name (e.g. "lx0002"). While not essential, it is recommended that you specify a backup controller. See the \fBRELOCATING CONTROLLERS\fR section if you change this. .TP \fBBatchStartTimeout\fR The maximum time (in seconds) that a batch job is permitted for launching before being considered missing and releasing the allocation. The default value is 10 (seconds). Larger values may be required if more time is required to execute the \fBProlog\fR, loading user environment variables (for Moab spawned jobs), or the slurmd daemon gets paged from memory. .TP \fBCacheGroups\fR If set to 1, the slurmd daemon will cache /etc/groups entries. This can improve performance for highly parallel jobs if NIS servers are used and unable to respond very quickly. The default value is 0 to disable caching group data. .TP \fBCheckpointType\fR Define the system\-initiated checkpoint method to be used for user jobs. The slurmctld daemon must be restarted for a change in \fBCheckpointType\fR to take effect. Acceptable values at present include "checkpoint/aix" (only on AIX systems), "checkpoint/ompi" (requires OpenMPI version 1.3 or higher), "checkpoint/xlch" (for XLCH, requires that SlurmUser be root), and "checkpoint/none". The default value is "checkpoint/none". .TP \fBClusterName\fR The name by which this SLURM managed cluster is known for accounting purposes. This is needed distinguish between accounting data from multiple clusters being recorded in a single database. .TP \fBCompleteWait\fR The time, in seconds, given for a job to remain in COMPLETING state before any any additional jobs are scheduled. If set to zero, pending jobs will be started as soon as possible. Since a COMPLETING job's resources are released for use by other jobs as soon as the \fBEpilog\fR completes on each individual node, this can result in very fragmented resource allocations. To provide jobs with the minimum response time, a value of zero is recommended (no waiting). To minimize fragmentation of resources, a value equal to \fBKillWait\fR plus two is recommended. In that case, setting \fBKillWait\fR to a small value may be beneficial. The default value of \fBCompleteWait\fR is zero seconds. The value may not exceed 65533. .TP \fBControlAddr\fR Name that \fBControlMachine\fR should be referred to in establishing a communications path. This name will be used as an argument to the gethostbyname() function for identification. For example, "elx0000" might be used to designate the Ethernet address for node "lx0000". By default the \fBControlAddr\fR will be identical in value to \fBControlMachine\fR. .TP \fBControlMachine\fR The name of the machine where SLURM control functions are executed as returned by the \fIgethostname()\fR function the cut at the first dot or the \fIhostname \-s\fR command (e.g. use "tux001" rather than "tux001.my.com"). This value must be specified. See the \fBRELOCATING CONTROLLERS\fR section if you change this. .TP \fBCryptoType\fR Define the cryptographic signature tool to be used in the creation of job step credentials. The slurmctld daemon must be restarted for a change in \fBCryptoType\fR to take effect. Acceptable values at present include "crypto/munge" and "crypto/openssl". The default value is "crypto/munge". .TP \fBDebugFlags\fR Define specific subsystems which should provide more detailed event logging. Multiple subsystems can be specified with comma separators. Valid subsystems available today (with more to come) include: .RS .TP 15 \fBCPU_Bind\fR CPU binding details for jobs and steps .TP \fBSteps\fR Slurmctld resource allocation for job steps .TP \fBTriggers\fR Slurmctld triggers .TP \fBWiki\fR Sched/wiki and wiki2 communications .RE .TP \fBDefMemPerCPU\fR Default real memory size available per allocated CPU in MegaBytes. Used to avoid over\-subscribing memory and causing paging. \fBDefMemPerCPU\fR would generally be used if individual processors are alocated to jobs (\fBSelectType=select/cons_res\fR). The default value is 0 (unlimited). Also see \fBDefMemPerNode\fR and \fBMaxMemPerCPU\fR. \fBDefMemPerCPU\fR and \fBDefMemPerNode\fR are mutually exclusive. NOTE: Enforcement of memory limits currently requires enabling of accounting, which samples memory use on a periodic basis (data need not be stored, just collected). .TP \fBDefMemPerNode\fR Default real memory size available per allocated node in MegaBytes. Used to avoid over\-subscribing memory and causing paging. \fBDefMemPerNode\fR would generally be used if whole nodes are alocated to jobs (\fBSelectType=select/linear\fR) and resources are shared (\fBShared=yes\fR or \fBShared=force\fR). The default value is 0 (unlimited). Also see \fBDefMemPerCPU\fR and \fBMaxMemPerNode\fR. \fBDefMemPerCPU\fR and \fBDefMemPerNode\fR are mutually exclusive. NOTE: Enforcement of memory limits currently requires enabling of accounting, which samples memory use on a periodic basis (data need not be stored, just collected). .TP \fBDefaultStorageHost\fR Define the name of the host where the database is running and used to to store the accounting and job completion data. Only used for database type storage plugins, ignored otherwise. Also see \fBAccountingStorageHost\fR and \fBJobCompHost\fR. .TP \fBDefaultStorageLoc\fR Specifies the location of the file or database where accounting and job completion records are written. Also see \fBAccountingStorageLoc\fR and \fBJobCompLoc\fR. .TP \fBDefaultStoragePass\fR Define the password used to gain access to the database to store the accounting and job completion data. Only used for database type storage plugins, ignored otherwise. Also see \fBAccountingStoragePass\fR and \fBJobCompPass\fR. .TP \fBDefaultStoragePort\fR Define the port the database server is listening on where we are going to store the accounting and job completion data. Only used for database type storage plugins, ignored otherwise. Also see \fBAccountingStoragePort\fR and \fBJobCompPort\fR. .TP \fBDefaultStorageType\fR Define the accounting and job completion storage mechanism type. Acceptable values at present include "filetxt", "mysql", "none", "pgsql", and "slurmdbd". The value "filetxt" indicates that records will be written to a the file. .ad The value "mysql" indicates that accounting records will be written to a mysql database. The default value is "none", which means that records are not maintained. The value "pgsql" indicates that records will be written to a postresql database. The value "slurmdbd" indicates that records will be written to SlurmDbd, which maintains its own database. See "man slurmdbd for more information". Also see \fBAccountingStorageType\fR and \fBJobCompType\fR. .TP \fBDefaultStorageUser\fR Define the name of the user we are going to connect to the database with to store the accounting and job completion data. Only used for database type storage plugins, ignored otherwise. Also see \fBAccountingStorageUser\fR and \fBJobCompUser\fR. .TP \fBDisableRootJobs\fR If set to "YES" then user root will be prevented from running any jobs. The default value is "NO", meaning user root will be able to execute jobs. \fBDisableRootJobs\fR may also be set by partition. .TP \fBEnforcePartLimits\fR If set to "YES" then jobs which exceed a partition's size and/or time limits will be rejected at submission time. If set to "NO" then the job will be accepted and remain queued until the partition limits are altered. The default value is "NO". .TP \fBEpilog\fR Fully qualified pathname of a script to execute as user root on every node when a user's job completes (e.g. "/usr/local/slurm/epilog"). This may be used to purge files, disable user login, etc. By default there is no epilog. See \fBProlog and Epilog Scripts\fR for more information. .TP \fBEpilogMsgTime\fR The number of microseconds the the slurmctld daemon requires to process an epilog completion message from the slurmd dameons. This parameter can be used to prevent a burst of epilog completion messages from being sent at the same time which should help prevent lost messages and improve throughput for large jobs. The default value is 2000 microseconds. For a 1000 node job, this spreads the epilog completion messages out over two seconds. .TP \fBEpilogSlurmctld\fR Fully qualified pathname of a program for the slurmctld to execute upon termination of a job allocation (e.g. "/usr/local/slurm/epilog_controller"). The program executes as SlurmUser, which gives it permission to drain nodes and requeue the job if a failure occurs or cancel the job if appropriate. The program can be used to reboot nodes or perform other work to prepare resources for use. See \fBProlog and Epilog Scripts\fR for more information. .TP \fBFastSchedule\fR Controls how a nodes configuration specifications in slurm.conf are used. If the number of node configuration entries in the configuration file is significantly lower than the number of nodes, setting FastSchedule to 1 will permit much faster scheduling decisions to be made. (The scheduler can just check the values in a few configuration records instead of possibly thousands of node records.) Note that on systems with hyper\-threading, the processor count reported by the node will be twice the actually processor count. Consider which value you want to be used for scheduling purposes. .RS .TP 5 \fB1\fR (default) Consider the configuration of each node to be that specified in the configuration file and any node with less than the configured resources will be set DOWN. .TP \fB0\fR Base scheduling decisions upon the actual configuration of each individual node except that the node's processor count in SLURM's configuration must match the actual hardware configuration if \fBSchedulerType=sched/gang\fR or \fBSelectType=select/cons_res\fR are configured (both of those plugins maintain resource allocation information using bitmaps for the cores in the system and must remain static, while the node's memory and disk space can be esblished later). .TP \fB2\fR Consider the configuration of each node to be that specified in the slurm.conf configuration file and any node with less resources than configured will \fBnot\fR be set DOWN. This can be useful for testing purposes. .RE .TP \fBFirstJobId\fR The job id to be used for the first submitted to SLURM without a specific requested value. Job id values generated will incremented by 1 for each subsequent job. This may be used to provide a meta\-scheduler with a job id space which is disjoint from the interactive jobs. The default value is 1. .TP \fBGetEnvTimeout\fR Used for Moab scheduled jobs only. Controls how long job should wait in seconds for loading the user's environment before attempting to load it from a cache file. Applies when the srun or sbatch \fI--get-user-env\fR option is used. If set to 0 then always load the user's environment from the cache file. The default value is 2 seconds. .TP \fBHealthCheckInterval\fR The interval in seconds between executions of \fBHealthCheckProgram\fR. The default value is zero, which disables execution. .TP \fBHealthCheckProgram\fR Fully qualified pathname of a script to execute as user root periodically on all compute nodes that are not in the DOWN state. This may be used to verify the node is fully operational and DRAIN the node or send email if a problem is detected. Any action to be taken must be explicitly performed by the program (e.g. execute "scontrol update NodeName=foo State=drain Reason=tmp_file_system_full" to drain a node). The interval is controlled using the \fBHealthCheckInterval\fR parameter. Note that the \fBHealthCheckProgram\fR will be executed at the same time on all nodes to minimize its impact upon parallel programs. This program is will be killed if it does not terminate normally within 60 seconds. By default, no program will be executed. .TP \fBInactiveLimit\fR The interval, in seconds, a job or job step is permitted to be inactive before it is terminated. A job or job step is considered inactive if the associated srun command is not responding to slurm daemons. This could be due to the termination of the srun command or the program being is a stopped state. A batch job is considered inactive if it has no active job steps (e.g. periods of pre\- and post\-processing). This limit permits defunct jobs to be purged in a timely fashion without waiting for their time limit to be reached. This value should reflect the possibility that the srun command may stopped by a debugger or considerable time could be required for batch job pre\- and post\-processing. This limit is ignored for jobs running in partitions with the \fBRootOnly\fR flag set (the scheduler running as root will be responsible for the job). The default value is unlimited (zero). May not exceed 65533. .TP \fBJobAcctGatherType\fR Define the job accounting mechanism type. Acceptable values at present include "jobacct_gather/aix" (for AIX operating system), "jobacct_gather/linux" (for Linux operating system) and "jobacct_gather/none" (no accounting data collected). The default value is "jobacct_gather/none". In order to use the \fBsacct\fR tool, "jobacct_gather/aix" or "jobacct_gather/linux" must be configured. .TP \fBJobAcctGatherFrequency\fR Define the job accounting sampling interval. For jobacct_gather/none this parameter is ignored. For jobacct_gather/aix and jobacct_gather/linux the parameter is a number is seconds between sampling job state. The default value is 30 seconds. A value of zero disables real the periodic job sampling and provides accounting information only on job termination (reducing SLURM interference with the job). .TP \fBJobCheckpointDir\fR Set the default directory used to store job checkpoint files. The default value is "/var/slurm/checkpoint". .TP \fBJobCompHost\fR Define the name of the host where the database is running and used to store the job completion data. Only used for database type storage plugins, ignored otherwise. Also see \fBDefaultStorageHost\fR. .TP \fBJobCompLoc\fR The interpretation of this value depends upon the logging mechanism specified by the \fBJobCompType\fR parameter either a filename or a database name. Also see \fBDefaultStorageLoc\fR. .TP \fBJobCompPass\fR Define the password used to gain access to the database to store the job completion data. Only used for database type storage plugins, ignored otherwise. Also see \fBDefaultStoragePass\fR. .TP \fBJobCompPort\fR Define the port the database server is listening on where we are going to store the job completion data. Only used for database type storage plugins, ignored otherwise. Also see \fBDefaultStoragePort\fR. .TP \fBJobCompType\fR Define the job completion logging mechanism type. Acceptable values at present include "jobcomp/none", "jobcomp/filetxt", "jobcomp/mysql", "jobcomp/pgsql", and "jobcomp/script"". The default value is "jobcomp/none", which means that upon job completion the record of the job is purged from the system. If using the accounting infrastructure this plugin may not be of interest since the information here is redundant. The value "jobcomp/filetxt" indicates that a record of the job should be written to a text file specified by the \fBJobCompLoc\fR parameter. The value "jobcomp/mysql" indicates that a record of the job should be written to a mysql database specified by the \fBJobCompLoc\fR parameter. The value "jobcomp/pgsql" indicates that a record of the job should be written to a postgresql database specified by the \fBJobCompLoc\fR parameter. The value "jobcomp/script" indicates that a script specified by the \fBJobCompLoc\fR parameter is to be executed with environment variables indicating the job information. .TP \fBJobCompUser\fR Define the name of the user we are going to connect to the database with to store the job completion data. Only used for database type storage plugins, ignored otherwise. Also see \fBDefaultStorageUser\fR. .TP \fBJobCredentialPrivateKey\fR Fully qualified pathname of a file containing a private key used for authentication by Slurm daemons. This parameter is ignored if \fBCryptType=munge\fR. .TP \fBJobCredentialPublicCertificate\fR Fully qualified pathname of a file containing a public key used for authentication by Slurm daemons. This parameter is ignored if \fBCryptType=munge\fR. .TP \fBJobFileAppend\fR This option controls what to do if a job's output or error file exist when the job is started. If \fBJobFileAppend\fR is set to a value of 1, then append to the existing file. By default, any existing file is truncated. .TP \fBJobRequeue\fR This option controls what to do by default after a node failure. If \fBJobRequeue\fR is set to a value of 1, then any job running on the failed node will be requeued for execution on different nodes. If \fBJobRequeue\fR is set to a value of 0, then any job running on the failed node will be terminated. Use the \fBsbatch\fR \fI\-\-no\-requeue\fR or \fI\-\-requeue\fR option to change the default behavior for individual jobs. The default value is 1. .TP \fBKillOnBadExit\fR If set to 1, the job will be terminated immediately when one of the processes is crashed or aborted. With default value of 0, if one of the processes is crashed or aborted the other processes will continue to run. .TP \fBKillWait\fR The interval, in seconds, given to a job's processes between the SIGTERM and SIGKILL signals upon reaching its time limit. If the job fails to terminate gracefully in the interval specified, it will be forcibly terminated. The default value is 30 seconds. The value may not exceed 65533. .TP \fBLicenses\fR Specification of licenses (or other resources available on all nodes of the cluster) which can be allocated to jobs. License names can optionally be followed by an asterisk and count with a default count of one. Multiple license names should be comma separated (e.g. "Licenses=foo*4,bar"). Note that SLURM prevents jobs from being scheduled if their required license specification is not available. SLURM does not prevent jobs from using licenses that are not explicitly listed in the job submission specification. .TP \fBMailProg\fR Fully qualified pathname to the program used to send email per user request. The default value is "/bin/mail". .TP \fBMaxJobCount\fR The maximum number of jobs SLURM can have in its active database at one time. Set the values of \fBMaxJobCount\fR and \fBMinJobAge\fR to insure the slurmctld daemon does not exhaust its memory or other resources. Once this limit is reached, requests to submit additional jobs will fail. The default value is 5000 jobs. This value may not be reset via "scontrol reconfig". It only takes effect upon restart of the slurmctld daemon. May not exceed 65533. .TP \fBMaxMemPerCPU\fR Maximum real memory size available per allocated CPU in MegaBytes. Used to avoid over\-subscribing memory and causing paging. \fBMaxMemPerCPU\fR would generally be used if individual processors are alocated to jobs (\fBSelectType=select/cons_res\fR). The default value is 0 (unlimited). Also see \fBDefMemPerCPU\fR and \fBMaxMemPerNode\fR. \fBMaxMemPerCPU\fR and \fBMaxMemPerNode\fR are mutually exclusive. NOTE: Enforcement of memory limits currently requires enabling of accounting, which samples memory use on a periodic basis (data need not be stored, just collected). .TP \fBMaxMemPerNode\fR Maximum real memory size available per allocated node in MegaBytes. Used to avoid over\-subscribing memory and causing paging. \fBMaxMemPerNode\fR would generally be used if whole nodes are alocated to jobs (\fBSelectType=select/linear\fR) and resources are shared (\fBShared=yes\fR or \fBShared=force\fR). The default value is 0 (unlimited). Also see \fBDefMemPerNode\fR and \fBMaxMemPerCPU\fR. \fBMaxMemPerCPU\fR and \fBMaxMemPerNode\fR are mutually exclusive. NOTE: Enforcement of memory limits currently requires enabling of accounting, which samples memory use on a periodic basis (data need not be stored, just collected). .TP \fBMessageTimeout\fR Time permitted for a round\-trip communication to complete in seconds. Default value is 10 seconds. For systems with shared nodes, the slurmd daemon could be paged out and necessitate higher values. .TP \fBMinJobAge\fR The minimum age of a completed job before its record is purged from SLURM's active database. Set the values of \fBMaxJobCount\fR and \fBMinJobAge\fR to insure the slurmctld daemon does not exhaust its memory or other resources. The default value is 300 seconds. A value of zero prevents any job record purging. May not exceed 65533. .TP \fBMpiDefault\fR Identifies the default type of MPI to be used. Srun may override this configuration parameter in any case. Currently supported versions include: \fBmpichgm\fR, \fBmvapich\fR, \fBnone\fR (default, which works for many other versions of MPI including LAM MPI and Open MPI). .TP \fBMpiParams\fR MPI parameters. Used to identify ports used by OpenMPI only and the input format is "ports=12000\-12999" to identify a range of communcation ports to be used. .TP \fBOverTimeLimit\fR Number of minutes by which a job can exceed its time limit before being cancelled. The configured job time limit is treated as a \fIsoft\fR limit. Adding \fBOverTimeLimit\fR to the \fIsoft\fR limit provides a \fIhard\fR limit, at which point the job is cancelled. This is particularly useful for backfill scheduling, which bases upon each job's soft time limit. The default value is zero. Man not exceed exceed 65533 minutes. A value of "UNLIMITED" is also supported. .TP \fBPluginDir\fR Identifies the places in which to look for SLURM plugins. This is a colon\-separated list of directories, like the PATH environment variable. The default value is "/usr/local/lib/slurm". .TP \fBPlugStackConfig\fR Location of the config file for SLURM stackable plugins that use the Stackable Plugin Architecture for Node job (K)control (SPANK). This provides support for a highly configurable set of plugins to be called before and/or after execution of each task spawned as part of a user's job step. Default location is "plugstack.conf" in the same directory as the system slurm.conf. For more information on SPANK plugins, see the \fBspank\fR(8) manual. .TP \fBPriorityDecayHalfLife\fR This controls how long prior resource use is considered in determining how over\- or under\-serviced an association is (user, bank account and cluster) in determining job priority. Applicable only if PriorityType=priority/multifactor. The units are minutes and the default value is 7 days. .TP \fBPriorityFavorSmall\fR Specifies that small jobs should be given preferencial scheduling priority. Applicable only if PriorityType=priority/multifactor. Supported values are "YES" and "NO". The default value is "NO". .TP \fBPriorityMaxAge\fR Specifies the job age which will be given the maximum age factor in computing priority. For example, a value of 30 minutes would result in all jobs over 30 minutes old would get the same age\-based priority. Applicable only if PriorityType=priority/multifactor. The units are minutes and the default value is 7 days. .TP \fBPriorityType\fR This specifies the plugin to be used in establishing a job's scheduling priority. Supported values are "priority/basic" (jobs are prioritized by order of arrival, also suitable for sched/wiki and sched/wiki2) and "priority/multifactor" (jobs are prioritized based upon size, age, fair\-share of allocation, etc). The default value is "priority/basic". .TP \fBPriorityWeightAge\fR An integer value specifying how important a job's age is in computing its priority. Applicable only if PriorityType=priority/multifactor. The default value is 1. .TP \fBPriorityWeightFairshare\fR An integer value specifying how important a job's age is in computing its priority. Applicable only if PriorityType=priority/multifactor. The default value is 1. .TP \fBPriorityWeightJobSize\fR An integer value specifying how important a job's size is in computing its priority. Applicable only if PriorityType=priority/multifactor. The default value is 1. .TP \fBPriorityWeightPartition\fR An integer value specifying how important a job's partition is in computing its priority. Applicable only if PriorityType=priority/multifactor. The default value is 1. .TP \fBPriorityWeightQOS\fR An integer value specifying how important a job's Quality Of Service is in computing its priority. Applicable only if PriorityType=priority/multifactor. The default value is 1. .TP \fBPrivateData\fR This controls what type of information is hidden from regular users. By default, all information is visible to all users. User \fBSlurmUser\fR and \fBroot\fR can always view all information. Multiple values may be specified with a comma separator. Acceptable values include: .RS .TP \fBaccounts\fR (NON-SLURMDBD ACCOUNTING ONLY) prevents users from viewing any account definitions unless they are coordinators of them. .TP \fBjobs\fR prevents users from viewing jobs or job steps belonging to other users. (NON-SLURMDBD ACCOUNTING ONLY) prevents users from viewing job records belonging to other users unless they are coordinators of the association running the job when using sacct. .TP \fBnodes\fR prevents users from viewing node state information. .TP \fBpartitions\fR prevents users from viewing partition state information. .TP \fBusers\fR (NON-SLURMDBD ACCOUNTING ONLY) prevents users from viewing information of any user other than themselves, this also makes it so users can only see associations they deal with. Coordinators can see associations of all users they are coordinator of, but can only see themselves when listing users. .TP \fBusage\fR (NON-SLURMDBD ACCOUNTING ONLY) prevents users from viewing usage of any other user. This applys to sreport. .RE .TP \fBProctrackType\fR Identifies the plugin to be used for process tracking. The slurmd daemon uses this mechanism to identify all processes which are children of processes it spawns for a user job. The slurmd daemon must be restarted for a change in ProctrackType to take effect. NOTE: "proctrack/linuxproc" and "proctrack/pgid" can fail to identify all processes associated with a job since processes can become a child of the init process (when the parent process terminates) or change their process group. To reliably track all processes, one of the other mechanisms utilizing kernel modifications is preferable. NOTE: "proctrack/linuxproc" is not compatible with "switch/elan." Acceptable values at present include: .RS .TP \fBproctrack/aix\fR which uses an AIX kernel extension and is the default for AIX systems .TP \fBproctrack/linuxproc\fR which uses linux process tree using parent process IDs .TP \fBproctrack/rms\fR which uses Quadrics kernel patch and is the default if "SwitchType=switch/elan" .TP \fBproctrack/sgi_job\fR which uses SGI's Process Aggregates (PAGG) kernel module, see \fIhttp://oss.sgi.com/projects/pagg/\fR for more information .TP \fBproctrack/pgid\fR which uses process group IDs and is the default for all other systems .RE .TP \fBProlog\fR Fully qualified pathname of a program for the slurmd to execute whenever it is asked to run a job step from a new job allocation (e.g. "/usr/local/slurm/prolog"). The slurmd executes the script before starting the first job step. This may be used to purge files, enable user login, etc. By default there is no prolog. Any configured script is expected to complete execution quickly (in less time than \fBMessageTimeout\fR). See \fBProlog and Epilog Scripts\fR for more information. .TP \fBPrologSlurmctld\fR Fully qualified pathname of a program for the slurmctld to execute before granting a new job allocation (e.g. "/usr/local/slurm/prolog_controller"). The program executes as SlurmUser, which gives it permission to drain nodes and requeue the job if a failure occurs or cancel the job if appropriate. The program can be used to reboot nodes or perform other work to prepare resources for use. See \fBProlog and Epilog Scripts\fR for more information. .TP \fBPropagatePrioProcess\fR Setting \fBPropagatePrioProcess\fR to "1", will cause a users job to run with the same priority (aka nice value) as the users process which launched the job on the submit node. If set to "0", or left unset, the users job will inherit the scheduling priority from the slurm daemon. .TP \fBPropagateResourceLimits\fR A list of comma separated resource limit names. The slurmd daemon uses these names to obtain the associated (soft) limit values from the users process environment on the submit node. These limits are then propagated and applied to the jobs that will run on the compute nodes. This parameter can be useful when system limits vary among nodes. Any resource limits that do not appear in the list are not propagated. However, the user can override this by specifying which resource limits to propagate with the srun commands "\-\-propagate" option. If neither of the 'propagate resource limit' parameters are specified, then the default action is to propagate all limits. Only one of the parameters, either \fBPropagateResourceLimits\fR or \fBPropagateResourceLimitsExcept\fR, may be specified. The following limit names are supported by Slurm (although some options may not be supported on some systems): .RS .TP 10 \fBALL\fR All limits listed below .TP \fBNONE\fR No limits listed below .TP \fBAS\fR The maximum address space for a processes .TP \fBCORE\fR The maximum size of core file .TP \fBCPU\fR The maximum amount of CPU time .TP \fBDATA\fR The maximum size of a process's data segment .TP \fBFSIZE\fR The maximum size of files created .TP \fBMEMLOCK\fR The maximum size that may be locked into memory .TP \fBNOFILE\fR The maximum number of open files .TP \fBNPROC\fR The maximum number of processes available .TP \fBRSS\fR The maximum resident set size .TP \fBSTACK\fR The maximum stack size .RE .TP \fBPropagateResourceLimitsExcept\fR A list of comma separated resource limit names. By default, all resource limits will be propagated, (as described by the \fBPropagateResourceLimits\fR parameter), except for the limits appearing in this list. The user can override this by specifying which resource limits to propagate with the srun commands "\-\-propagate" option. See \fBPropagateResourceLimits\fR above for a list of valid limit names. .TP \fBResumeProgram\fR SLURM supports a mechanism to reduce power consumption on nodes that remain idle for an extended period of time. This is typically accomplished by reducing voltage and frequency or powering the node down. \fBResumeProgram\fR is the program that will be executed when a node in power save mode is assigned work to perform. For reasons of reliability, \fBResumeProgram\fR may execute more than once for a node. If \fBResumeProgram\fR is unable to restore a node to service, it should requeue any node associated with the node and set the node state to DRAIN. The program executes as \fBSlurmUser\fR. The argument to the program will be the names of nodes to be removed from power savings mode (using SLURM's hostlist expression format). By default no program is run. Related configuration options include \fBResumeRate\fR, \fBSuspendRate\fR, \fBSuspendTime\fR, \fBSuspendProgram\fR, \fBSuspendExcNodes\fR, and \fBSuspendExcParts\fR. More information is available at the SLURM web site (https://computing.llnl.gov/linux/slurm/power_save.html). .TP \fBResumeRate\fR The rate at which nodes in power save mode are returned to normal operation by \fBResumeProgram\fR. The value is number of nodes per minute and it can be used to prevent power surges if a large number of nodes in power save mode are assigned work at the same time (e.g. a large job starts). A value of zero results in no limits being imposed. The default value is 300 nodes per minute. Related configuration options include \fBResumeProgram\fR, \fBSuspendRate\fR, \fBSuspendTime\fR, \fBSuspendProgram\fR, \fBSuspendExcNodes\fR, and \fBSuspendExcParts\fR. .TP \fBResvOverRun\fR Describes how long a job already running in a reservation should be permitted to execute after the end time of the reservation has been reached. The time period is specified in minutes and the default value is 0 (kill the job immediately). The value may not exceed 65533 minutes, although a value of "UNLIMITED" is supported to permit a job to run indefinitely after its reservation is terminated. .TP \fBReturnToService\fR Controls when a DOWN node will be returned to service. The default value is 0. Supported values include .RS .TP 4 \fB0\fR A node will remain in the DOWN state until a system administrator explicitly changes its state (even if the slurmd daemon registers and resumes communications). .TP \fB1\fR A non\-responding (DOWN) node will become available for use upon registration. Note that DOWN node's state will be changed only if it was set DOWN due to being non\-responsive. If the node was set DOWN for any other reason (low memory, prolog failure, epilog failure, etc.), its state will not automatically be changed. .TP \fB2\fR A DOWN node will become available for use upon registration with a valid configuration. The node could have been set DOWN for any reason. .RE .TP \fBSallocDefaultCommand\fR Normally, \fBsalloc\fR(1) will run the user's default shell when a command to execute is not specified on the \fBsalloc\fR command line. If \fBSallocDefaultCommand\fR is specified, \fBsalloc\fR will instead run the configured command. The command is passed to '/bin/sh \-c', so shell metacharacters are allowed, and commands with multiple arguments should be quoted. For instance: .nf SallocDefaultCommand = "$SHELL" .fi would run the shell in the user's $SHELL environment variable. and .nf SallocDefaultCommand = "xterm \-T Job_$SLURM_JOB_ID" .fi would run \fBxterm\fR with the title set to the SLURM jobid. .TP \fBSchedulerParameters\fR The interprettation of this parameter varies by \fBSchedulerType\fR. In the case of \fBSchedulerType=sched/backfill\fR, there is one optional argument of the form "interval=#", where "#" is number of seconds between iterations. Higher values result in less overhead and responsivenss, The default value is 5 secondson BlueGene systems and 10 seconds otherwise. .TP \fBSchedulerPort\fR The port number on which slurmctld should listen for connection requests. This value is only used by the Maui Scheduler (see \fBSchedulerType\fR). The default value is 7321. .TP \fBSchedulerRootFilter\fR Identifies whether or not \fBRootOnly\fR partitions should be filtered from any external scheduling activities. If set to 0, then \fBRootOnly\fR partitions are treated like any other partition. If set to 1, then \fBRootOnly\fR partitions are exempt from any external scheduling activities. The default value is 1. Currently only used by the built\-in backfill scheduling module "sched/backfill" (see \fBSchedulerType\fR). .TP \fBSchedulerTimeSlice\fR Number of seconds in each time slice when \fBSchedulerType=sched/gang\fR. The default value is 30 seconds. .TP \fBSchedulerType\fR Identifies the type of scheduler to be used. Note the \fBslurmctld\fR daemon must be restarted for a change in scheduler type to become effective (reconfiguring a running daemon has no effect for this parameter). The \fBscontrol\fR command can be used to manually change job priorities if desired. Acceptable values include: .RS .TP \fBsched/builtin\fR for the built\-in FIFO (First In First Out) scheduler. This is the default. .TP \fBsched/backfill\fR for a backfill scheduling module to augment the default FIFO scheduling. Backfill scheduling will initiate lower\-priority jobs if doing so does not delay the expected initiation time of any higher priority job. Effectiveness of backfill scheduling is dependent upon users specifying job time limits, otherwise all jobs will have the same time limit and backfilling is impossible. .TP \fBsched/gang\fR for gang scheduler (time\-slicing of parallel jobs). This also supports preemption of jobs in lower priority partitions (queues). See the \fIPreemption\fR web page for details: .br \fIhttps://computing.llnl.gov/linux/slurm/preempt.html\fR .TP \fBsched/hold\fR to hold all newly arriving jobs if a file "/etc/slurm.hold" exists otherwise use the built\-in FIFO scheduler .TP \fBsched/wiki\fR for the Wiki interface to the Maui Scheduler .TP \fBsched/wiki2\fR for the Wiki interface to the Moab Cluster Suite .RE .TP \fBSelectType\fR Identifies the type of resource selection algorithm to be used. Acceptable values include .RS .TP \fBselect/linear\fR for allocation of entire nodes assuming a one\-dimensional array of nodes in which sequentially ordered nodes are preferable. This is the default value for non\-BlueGene systems. .TP \fBselect/cons_res\fR The resources within a node are individually allocated as consumable resources. Note that whole nodes can be allocated to jobs for selected partitions by using the \fIShared=Exclusive\fR option. See the partition \fBShared\fR parameter for more information. .TP \fBselect/bluegene\fR for a three\-dimensional BlueGene system. The default value is "select/bluegene" for BlueGene systems. .RE .TP \fBSelectTypeParameters\fR The permitted values of \fBSelectTypeParameters\fR depend upon the configured value of \fBSelectType\fR. \fBSelectType=select/bluegene\fR supports no \fBSelectTypeParameters\fR. The only supported option for \fBSelectType=select/linear\fR is \fBCR_Memory\fR, which treats memory as a consumable resource and prevents memory over subscription with job preemption or gang scheduling. The following values are supported for \fBSelectType=select/cons_res\fR: .RS .TP \fBCR_CPU\fR CPUs are consumable resources. There is no notion of sockets, cores or threads. On a multi\-core system, each core will be considered a CPU. On a multi\-core and hyperthreaded system, each thread will be considered a CPU. On single\-core systems, each CPUs will be considered a CPU. .TP \fBCR_CPU_Memory\fR CPUs and memory are consumable resources. Setting a value for \fBDefMemPerCPU\fR is strongly recommended. .TP \fBCR_Core\fR Cores are consumable resources. On nodes with hyper\-threads, each thread is counted as a CPU to satisfy a job's resource requirement, but multiple jobs are not allocated threads on the same core. .TP \fBCR_Core_Memory\fR Cores and memory are consumable resources. On nodes with hyper\-threads, each thread is counted as a CPU to satisfy a job's resource requirement, but multiple jobs are not allocated threads on the same core. Setting a value for \fBDefMemPerCPU\fR is strongly recommended. .TP \fBCR_Socket\fR Sockets are consumable resources. On nodes with multiple cores, each core or thread is counted as a CPU to satisfy a job's resource requirement, but multiple jobs are not allocated resources on the same socket. Note that jobs requesting one CPU will only be given access to that one CPU, but no other job will share the socket. .TP \fBCR_Socket_Memory\fR Memory and sockets are consumable resources. On nodes with multiple cores, each core or thread is counted as a CPU to satisfy a job's resource requirement, but multiple jobs are not allocated resources on the same socket. Note that jobs requesting one CPU will only be given access to that one CPU, but no other job will share the socket. Setting a value for \fBDefMemPerCPU\fR is strongly recommended. .TP \fBCR_Memory\fR Memory is a consumable resource. NOTE: This implies \fIShared=YES\fR or \fIShared=FORCE\fR for all partitions. Setting a value for \fBDefMemPerCPU\fR is strongly recommended. .RE .TP \fBSlurmUser\fR The name of the user that the \fBslurmctld\fR daemon executes as. For security purposes, a user other than "root" is recommended. This user must exist on all nodes of the cluster for authentication of communications between SLURM components. The default value is "root". .TP \fBSlurmdUser\fR The name of the user that the \fBslurmd\fR daemon executes as. This user must exist on all nodes of the cluster for authentication of communications between SLURM components. The default value is "root". .TP \fBSlurmctldDebug\fR The level of detail to provide \fBslurmctld\fR daemon's logs. Values from 0 to 9 are legal, with `0' being "quiet" operation and `9' being insanely verbose. The default value is 3. .TP \fBSlurmctldLogFile\fR Fully qualified pathname of a file into which the \fBslurmctld\fR daemon's logs are written. The default value is none (performs logging via syslog). .TP \fBSlurmctldPidFile\fR Fully qualified pathname of a file into which the \fBslurmctld\fR daemon may write its process id. This may be used for automated signal processing. The default value is "/var/run/slurmctld.pid". .TP \fBSlurmctldPort\fR The port number that the SLURM controller, \fBslurmctld\fR, listens to for work. The default value is SLURMCTLD_PORT as established at system build time. If none is explicitly specified, it will be set to 6817. NOTE: Either \fBslurmctld\fR and \fBslurmd\fR daemons must not execute on the same nodes or the values of \fBSlurmctldPort\fR and \fBSlurmdPort\fR must be different. .TP \fBSlurmctldTimeout\fR The interval, in seconds, that the backup controller waits for the primary controller to respond before assuming control. The default value is 120 seconds. May not exceed 65533. .TP \fBSlurmdDebug\fR The level of detail to provide \fBslurmd\fR daemon's logs. Values from 0 to 9 are legal, with `0' being "quiet" operation and `9' being insanely verbose. The default value is 3. .TP \fBSlurmdLogFile\fR Fully qualified pathname of a file into which the \fBslurmd\fR daemon's logs are written. The default value is none (performs logging via syslog). Any "%h" within the name is replaced with the hostname on which the \fBslurmd\fR is running. .TP \fBSlurmdPidFile\fR Fully qualified pathname of a file into which the \fBslurmd\fR daemon may write its process id. This may be used for automated signal processing. The default value is "/var/run/slurmd.pid". .TP \fBSlurmdPort\fR The port number that the SLURM compute node daemon, \fBslurmd\fR, listens to for work. The default value is SLURMD_PORT as established at system build time. If none is explicitly specified, its value will be 6818. NOTE: Either slurmctld and slurmd daemons must not execute on the same nodes or the values of \fBSlurmctldPort\fR and \fBSlurmdPort\fR must be different. .TP \fBSlurmdSpoolDir\fR Fully qualified pathname of a directory into which the \fBslurmd\fR daemon's state information and batch job script information are written. This must be a common pathname for all nodes, but should represent a directory which is local to each node (reference a local file system). The default value is "/var/spool/slurmd." \fBNOTE\fR: This directory is also used to store \fBslurmd\fR's shared memory lockfile, and \fBshould not be changed\fR unless the system is being cleanly restarted. If the location of \fBSlurmdSpoolDir\fR is changed and \fBslurmd\fR is restarted, the new daemon will attach to a different shared memory region and lose track of any running jobs. .TP \fBSlurmdTimeout\fR The interval, in seconds, that the SLURM controller waits for \fBslurmd\fR to respond before configuring that node's state to DOWN. A value of zero indicates the node will not be tested by \fBslurmctld\fR to confirm the state of \fBslurmd\fR, the node will not be automatically set to a DOWN state indicating a non\-responsive \fBslurmd\fR, and some other tool will take responsibility for monitoring the state of each compute node and its \fBslurmd\fR daemon. SLURM's hiearchical communication mechanism is used to ping the \fBslurmd\fR daemons in order to minimize system noise and overhead. The default value is 300 seconds. The value may not exceed 65533 seconds. .TP \fBSrunEpilog\fR Fully qualified pathname of an executable to be run by srun following the completion of a job step. The command line arguments for the executable will be the command and arguments of the job step. This configuration parameter may be overridden by srun's \fB\-\-epilog\fR parameter. .TP \fBSrunProlog\fR Fully qualified pathname of an executable to be run by srun prior to the launch of a job step. The command line arguments for the executable will be the command and arguments of the job step. This configuration parameter may be overridden by srun's \fB\-\-prolog\fR parameter. .TP \fBStateSaveLocation\fR Fully qualified pathname of a directory into which the SLURM controller, \fBslurmctld\fR, saves its state (e.g. "/usr/local/slurm/checkpoint"). SLURM state will saved here to recover from system failures. \fBSlurmUser\fR must be able to create files in this directory. If you have a \fBBackupController\fR configured, this location should be readable and writable by both systems. Since all running and pending job information is stored here, the use of a reliable file system (e.g. RAID) is recommended. The default value is "/tmp". If any slurm daemons terminate abnormally, their core files will also be written into this directory. .TP \fBSuspendExcNodes\fR Specifies the nodes which are to not be placed in power save mode, even if the node remains idle for an extended period of time. Use SLURM's hostlist expression to identify nodes. By default no nodes are excluded. Related configuration options include \fBResumeProgram\fR, \fBResumeRate\fR, \fBSuspendProgram\fR, \fBSuspendRate\fR, \fBSuspendTime\fR and \fBSuspendExcParts\fR. .TP \fBSuspendExcParts\fR Specifies the partitions whose nodes are to not be placed in power save mode, even if the node remains idle for an extended period of time. Multiple partitions can be identified and separated by commas. By default no nodes are excluded. Related configuration options include \fBResumeProgram\fR, \fBResumeRate\fR, \fBSuspendProgram\fR, \fBSuspendRate\fR, \fBSuspendTime\fR and \fBSuspendExcNodes\fR. .TP \fBSuspendProgram\fR \fBSuspendProgram\fR is the program that will be executed when a node remains idle for an extended period of time. This program is expected to place the node into some power save mode. This can be used to reduce the frequency and voltage of a node or completely power the node off. The program executes as \fBSlurmUser\fR. The argument to the program will be the names of nodes to be placed into power savings mode (using SLURM's hostlist expression format). By default, no program is run. Related configuration options include \fBResumeProgram\fR, \fBResumeRate\fR, \fBSuspendRate\fR, \fBSuspendTime\fR, \fBSuspendExcNodes\fR, and \fBSuspendExcParts\fR. .TP \fBSuspendRate\fR The rate at which nodes are place into power save mode by \fBSuspendProgram\fR. The value is number of nodes per minute and it can be used to prevent a large drop in power power consumption (e.g. after a large job completes). A value of zero results in no limits being imposed. The default value is 60 nodes per minute. Related configuration options include \fBResumeProgram\fR, \fBResumeRate\fR, \fBSuspendProgram\fR, \fBSuspendTime\fR, \fBSuspendExcNodes\fR, and \fBSuspendExcParts\fR. .TP \fBSuspendTime\fR Nodes which remain idle for this number of seconds will be placed into power save mode by \fBSuspendProgram\fR, A value of \-1 disables power save mode and is the default. Related configuration options include \fBResumeProgram\fR, \fBResumeRate\fR, \fBSuspendProgram\fR, \fBSuspendRate\fR, \fBSuspendExcNodes\fR, and \fBSuspendExcParts\fR. .TP \fBSwitchType\fR Identifies the type of switch or interconnect used for application communications. Acceptable values include "switch/none" for switches not requiring special processing for job launch or termination (Myrinet, Ethernet, and InfiniBand), "switch/elan" for Quadrics Elan 3 or Elan 4 interconnect. The default value is "switch/none". All SLURM daemons, commands and running jobs must be restarted for a change in \fBSwitchType\fR to take effect. If running jobs exist at the time \fBslurmctld\fR is restarted with a new value of \fBSwitchType\fR, records of all jobs in any state may be lost. .TP \fBTaskEpilog\fR Fully qualified pathname of a program to be execute as the slurm job's owner after termination of each task. See \fBTaskProlog\fR for execution order details. .TP \fBTaskPlugin\fR Identifies the type of task launch plugin, typically used to provide resource management within a node (e.g. pinning tasks to specific processors). Acceptable values include "task/none" for systems requiring no special handling and "task/affinity" to enable the \-\-cpu_bind and/or \-\-mem_bind srun options. The default value is "task/none". If you "task/affinity" and encounter problems, it may be due to the variety of system calls used to implement task affinity on different operating systems. If that is the case, you may want to use Portable Linux Process Affinity (PLPA, see http://www.open-mpi.org/software/plpa), which is supported by SLURM. .TP \fBTaskPluginParam\fR Optional parameters for the task plugin. Multiple options should be comma separated If \fBNone\fR, \fBSockets\fR, \fBCores\fR, \fBThreads\fR, and/or \fBVerbose\fR are specified, they will override the \fB\-\-cpu_bind\fR option specified by the user in the \fBsrun\fR command. \fBNone\fR, \fBSockets\fR, \fBCores\fR and \fBThreads\fR are mutually exclusive and since they decrease scheduling flexibility are not generally recommended (select no more than one of them). \fBCpusets\fR and \fBSched\fR are mutually exclusive (select only one of them). .RS .TP 10 \fBCores\fR Always bind to cores. Overrides user options or automatic binding. .TP \fBCpusets\fR Use cpusets to perform task affinity functions. By default, \fBSched\fR task binding is performed. .TP \fBNone\fR Perform no task binding. Overrides user options or automatic binding. .TP \fBSched\fR Use \fIsched_setaffinity\fR or \fIplpa_sched_setaffinity\fR (if available) to bind tasks to processors. .TP \fBSockets\fR Always bind to sockets. Overrides user options or automatic binding. .TP \fBThreads\fR Always bind to threads. Overrides user options or automatic binding. .TP \fBVerbose\fR Verbosely report binding before tasks run. Overrides user options. .RE .TP \fBTaskProlog\fR Fully qualified pathname of a program to be execute as the slurm job's owner prior to initiation of each task. Besides the normal environment variables, this has SLURM_TASK_PID available to identify the process ID of the task being started. Standard output from this program of the form "export NAME=value" will be used to set environment variables for the task being spawned. Standard output from this program of the form "print ..." will cause that line (without the leading "print ") to be printed to the job's standard output. The order of task prolog/epilog execution is as follows: .RS .TP \fB1. pre_launch()\fR: function in TaskPlugin .TP \fB2. TaskProlog\fR: system\-wide per task program defined in slurm.conf .TP \fB3. user prolog\fR: job step specific task program defined using \fBsrun\fR's \fB\-\-task\-prolog\fR option or \fBSLURM_TASK_PROLOG\fR environment variable .TP \fB4.\fR Execute the job step's task .TP \fB5. user epilog\fR: job step specific task program defined using \fBsrun\fR's \fB\-\-task\-epilog\fR option or \fBSLURM_TASK_EPILOG\fR environment variable .TP \fB6. TaskEpilog\fR: system\-wide per task program defined in slurm.conf .TP \fB7. post_term()\fR: function in TaskPlugin .RE .TP \fBTmpFS\fR Fully qualified pathname of the file system available to user jobs for temporary storage. This parameter is used in establishing a node's \fBTmpDisk\fR space. The default value is "/tmp". .TP \fBTopologyPlugin\fR Identifies the plugin to be used for determining the network topology and optimizing job allocations to minimize network contention. Acceptable values include "topology/3d_torus" (default for Cray XT, IBM BlueGene and Sun Constellation systems, best\-fit logic over three\-dimensional topology) "topology/none" (default for other systems, best\-fit logic over one\-dimensional topology) and "topology/tree" (determine the network topology based upon information contained in a topology.conf file). See \fBNETWORK TOPOLOGY\fR below for details. Additional plugins may be provided in the future which gather topology information directly from the network. .TP \fBTrackWCKey\fR Boolean yes or no. Used to set display and track of the Workload Characterization Key. Must be set to track wckey usage. .TP \fBTreeWidth\fR \fBSlurmd\fR daemons use a virtual tree network for communications. \fBTreeWidth\fR specifies the width of the tree (i.e. the fanout). The default value is 50, meaning each slurmd daemon can communicate with up to 50 other slurmd daemons and over 2500 nodes can be contacted with two message hops. The default value will work well for most clusters. Optimal system performance can typically be achieved if \fBTreeWidth\fR is set to the square root of the number of nodes in the cluster for systems having no more than 2500 nodes or the cube root for larger systems. .TP \fBUnkillableStepProgram\fR If the processes in a job step are determined to be unkillable for a period of time specified by the UnkillableStepTimeout variable, the program specified by the UnkillableStepProgram string will be executed. This program can be used to take special actions to clean up the unkillable processes. The program will be run as the same user as the slurmd (usually "root"). .TP \fBUnkillableStepTimeout\fR The length of time, in seconds, that SLURM will wait before deciding that processes in a job step are unkillable (after they have been signaled with SIGKILL). The default timeout value is 60 seconds. .TP \fBUsePAM\fR If set to 1, PAM (Pluggable Authentication Modules for Linux) will be enabled. PAM is used to establish the upper bounds for resource limits. With PAM support enabled, local system administrators can dynamically configure system resource limits. Changing the upper bound of a resource limit will not alter the limits of running jobs, only jobs started after a change has been made will pick up the new limits. The default value is 0 (not to enable PAM support). Remember that PAM also needs to be configured to support SLURM as a service. For sites using PAM's directory based configuration option, a configuration file named \fBslurm\fR should be created. The module\-type, control\-flags, and module\-path names that should be included in the file are: .br auth required pam_localuser.so .br auth required pam_shells.so .br account required pam_unix.so .br account required pam_access.so .br session required pam_unix.so .br For sites configuring PAM with a general configuration file, the appropriate lines (see above), where \fBslurm\fR is the service\-name, should be added. .TP \fBWaitTime\fR Specifies how many seconds the srun command should by default wait after the first task terminates before terminating all remaining tasks. The "\-\-wait" option on the srun command line overrides this value. If set to 0, this feature is disabled. May not exceed 65533 seconds. .LP The configuration of nodes (or machines) to be managed by Slurm is also specified in \fB/etc/slurm.conf\fR. Changes in node configuration (e.g. adding nodes, changing their processor count, etc.) require restarting the slurmctld daemon. Only the NodeName must be supplied in the configuration file. All other node configuration information is optional. It is advisable to establish baseline node configurations, especially if the cluster is heterogeneous. Nodes which register to the system with less than the configured resources (e.g. too little memory), will be placed in the "DOWN" state to avoid scheduling jobs on them. Establishing baseline configurations will also speed SLURM's scheduling process by permitting it to compare job requirements against these (relatively few) configuration parameters and possibly avoid having to check job requirements against every individual node's configuration. The resources checked at node registration time are: Procs, RealMemory and TmpDisk. While baseline values for each of these can be established in the configuration file, the actual values upon node registration are recorded and these actual values may be used for scheduling purposes (depending upon the value of \fBFastSchedule\fR in the configuration file. .LP Default values can be specified with a record in which "NodeName" is "DEFAULT". The default entry values will apply only to lines following it in the configuration file and the default values can be reset multiple times in the configuration file with multiple entries where "NodeName=DEFAULT". The "NodeName=" specification must be placed on every line describing the configuration of nodes. In fact, it is generally possible and desirable to define the configurations of all nodes in only a few lines. This convention permits significant optimization in the scheduling of larger clusters. In order to support the concept of jobs requiring consecutive nodes on some architectures, node specifications should be place in this file in consecutive order. No single node name may be listed more than once in the configuration file. Use "DownNodes=" to record the state of nodes which are temporarily in a DOWN, DRAIN or FAILING state without altering permanent configuration information. A job step's tasks are allocated to nodes in order the nodes appear in the configuration file. There is presently no capability within SLURM to arbitrarily order a job step's tasks. .LP Multiple node names may be comma separated (e.g. "alpha,beta,gamma") and/or a simple node range expression may optionally be used to specify numeric ranges of nodes to avoid building a configuration file with large numbers of entries. The node range expression can contain one pair of square brackets with a sequence of comma separated numbers and/or ranges of numbers separated by a "\-" (e.g. "linux[0\-64,128]", or "lx[15,18,32\-33]"). Note that the numeric ranges can include one or more leading zeros to indicate the numeric portion has a fixed number of digits (e.g. "linux[0000\-1023]"). Up to two numeric ranges can be included in the expression (e.g. "rack[0\-63]_blade[0\-41]"). If one or more numeric expressions are included, one of them must be at the end of the name (e.g. "unit[0\-31]rack" is invalid), but arbitrary names can always be used in a comma separated list. .LP On BlueGene systems only, the square brackets should contain pairs of three digit numbers separated by a "x". These numbers indicate the boundaries of a rectangular prism (e.g. "bgl[000x144,400x544]"). See BlueGene documentation for more details. The node configuration specified the following information: .TP \fBNodeName\fR Name that SLURM uses to refer to a node (or base partition for BlueGene systems). Typically this would be the string that "/bin/hostname \-s" returns. It may also be the fully qualified domain name as returned by "/bin/hostname \-f" (e.g. "foo1.bar.com"), or any valid domain name associated with the host through the host database (/etc/hosts) or DNS, depending on the resolver settings. Note that if the short form of the hostname is not used, it may prevent use of hostlist expressions (the numeric portion in brackets must be at the end of the string). Only short hostname forms are compatible with the switch/elan and switch/federation plugins at this time. It may also be an arbitrary string if \fBNodeHostname\fR is specified. If the \fBNodeName\fR is "DEFAULT", the values specified with that record will apply to subsequent node specifications unless explicitly set to other values in that node record or replaced with a different set of default values. For architectures in which the node order is significant, nodes will be considered consecutive in the order defined. For example, if the configuration for "NodeName=charlie" immediately follows the configuration for "NodeName=baker" they will be considered adjacent in the computer. .TP \fBNodeHostname\fR Typically this would be the string that "/bin/hostname \-s" returns. It may also be the fully qualified domain name as returned by "/bin/hostname \-f" (e.g. "foo1.bar.com"), or any valid domain name associated with the host through the host database (/etc/hosts) or DNS, depending on the resolver settings. Note that if the short form of the hostname is not used, it may prevent use of hostlist expressions (the numeric portion in brackets must be at the end of the string). Only short hostname forms are compatible with the switch/elan and switch/federation plugins at this time. A node range expression can be used to specify a set of nodes. If an expression is used, the number of nodes identified by \fBNodeHostname\fR on a line in the configuration file must be identical to the number of nodes identified by \fBNodeName\fR. By default, the \fBNodeHostname\fR will be identical in value to \fBNodeName\fR. .TP \fBNodeAddr\fR Name that a node should be referred to in establishing a communications path. This name will be used as an argument to the gethostbyname() function for identification. If a node range expression is used to designate multiple nodes, they must exactly match the entries in the \fBNodeName\fR (e.g. "NodeName=lx[0\-7] NodeAddr="elx[0\-7]"). \fBNodeAddr\fR may also contain IP addresses. By default, the \fBNodeAddr\fR will be identical in value to \fBNodeName\fR. .TP \fBCoresPerSocket\fR Number of cores in a single physical processor socket (e.g. "2"). The CoresPerSocket value describes physical cores, not the logical number of processors per socket. \fBNOTE\fR: If you have multi\-core processors, you will likely need to specify this parameter in order to optimize scheduling. The default value is 1. .TP \fBFeature\fR A comma delimited list of arbitrary strings indicative of some characteristic associated with the node. There is no value associated with a feature at this time, a node either has a feature or it does not. If desired a feature may contain a numeric component indicating, for example, processor speed. By default a node has no features. .TP \fBProcs\fR Number of logical processors on the node (e.g. "2"). If \fBProcs\fR is omitted, it will set equal to the product of \fBSockets\fR, \fBCoresPerSocket\fR, and \fBThreadsPerCore\fR. The default value is 1. .TP \fBRealMemory\fR Size of real memory on the node in MegaBytes (e.g. "2048"). The default value is 1. .TP \fBReason\fR Identifies the reason for a node being in state "DOWN", "DRAINED" "DRAINING", "FAIL" or "FAILING". Use quotes to enclose a reason having more than one word. .TP \fBSockets\fR Number of physical processor sockets/chips on the node (e.g. "2"). If Sockets is omitted, it will be inferred from \fBProcs\fR, \fBCoresPerSocket\fR, and \fBThreadsPerCore\fR. \fBNOTE\fR: If you have multi\-core processors, you will likely need to specify these parameters. The default value is 1. .TP \fBState\fR State of the node with respect to the initiation of user jobs. Acceptable values are "DOWN", "DRAIN", "FAIL", "FAILING" and "UNKNOWN". "DOWN" indicates the node failed and is unavailable to be allocated work. "DRAIN" indicates the node is unavailable to be allocated work. "FAIL" indicates the node is expected to fail soon, has no jobs allocated to it, and will not be allocated to any new jobs. "FAILING" indicates the node is expected to fail soon, has one or more jobs allocated to it, but will not be allocated to any new jobs. "UNKNOWN" indicates the node's state is undefined (BUSY or IDLE), but will be established when the \fBslurmd\fR daemon on that node registers. The default value is "UNKNOWN". Also see the \fBDownNodes\fR parameter below. .TP \fBThreadsPerCore\fR Number of logical threads in a single physical core (e.g. "2"). Note that the SLURM can allocate resources to jobs down to the resolution of a core. If your system is configured with more than one thread per core, execution of a different job on each thread is not supported. A job can execute a one task per thread from within one job step or execute a distinct job step on each of the threads. The default value is 1. .TP \fBTmpDisk\fR Total size of temporary disk storage in \fBTmpFS\fR in MegaBytes (e.g. "16384"). \fBTmpFS\fR (for "Temporary File System") identifies the location which jobs should use for temporary storage. Note this does not indicate the amount of free space available to the user on the node, only the total file system size. The system administration should insure this file system is purged as needed so that user jobs have access to most of this space. The Prolog and/or Epilog programs (specified in the configuration file) might be used to insure the file system is kept clean. The default value is 0. .TP \fBWeight\fR The priority of the node for scheduling purposes. All things being equal, jobs will be allocated the nodes with the lowest weight which satisfies their requirements. For example, a heterogeneous collection of nodes might be placed into a single partition for greater system utilization, responsiveness and capability. It would be preferable to allocate smaller memory nodes rather than larger memory nodes if either will satisfy a job's requirements. The units of weight are arbitrary, but larger weights should be assigned to nodes with more processors, memory, disk space, higher processor speed, etc. Note that if a job allocation request can not be satisfied using the nodes with the lowest weight, the set of nodes with the next lowest weight is added to the set of nodes under consideration for use (repeat as needed for higher weight values). If you absolutely want to minimize the number of higher weight nodes allocated to a job (at a cost of higher scheduling overhead), give each node a distinct \fBWeight\fR value and they will be added to the pool of nodes being considered for scheduling individually. The default value is 1. .LP The "DownNodes=" configuration permits you to mark certain nodes as in a DOWN, DRAIN, FAIL, or FAILING state without altering the permanent configuration information listed under a "NodeName=" specification. .TP \fBDownNodes\fR Any node name, or list of node names, from the "NodeName=" specifications. .TP \fBReason\fR Identifies the reason for a node being in state "DOWN", "DRAIN", "FAIL" or "FAILING. \Use quotes to enclose a reason having more than one word. .TP \fBState\fR State of the node with respect to the initiation of user jobs. Acceptable values are "BUSY", "DOWN", "DRAIN", "FAIL", "FAILING, "IDLE", and "UNKNOWN". "DOWN" indicates the node failed and is unavailable to be allocated work. "DRAIN" indicates the node is unavailable to be allocated work. "FAIL" indicates the node is expected to fail soon, has no jobs allocated to it, and will not be allocated to any new jobs. "FAILING" indicates the node is expected to fail soon, has one or more jobs allocated to it, but will not be allocated to any new jobs. "FUTURE" indicates the node is defined for future use and need not exist when the SLURM daemons are started. These nodes can be made available for use simply by updating the node state using the scontrol command rather than restarting the slurmctld daemon. After these nodes are made available, change their \fRState\fR in the slurm.conf file. Until these nodes are made available, they will not be seen using any SLURM commands or APIs nor will any attempt be made to contact them. "UNKNOWN" indicates the node's state is undefined (BUSY or IDLE), but will be established when the \fBslurmd\fR daemon on that node registers. The default value is "UNKNOWN". .LP The partition configuration permits you to establish different job limits or access controls for various groups (or partitions) of nodes. Nodes may be in more than one partition, making partitions serve as general purpose queues. For example one may put the same set of nodes into two different partitions, each with different constraints (time limit, job sizes, groups allowed to use the partition, etc.). Jobs are allocated resources within a single partition. Default values can be specified with a record in which "PartitionName" is "DEFAULT". The default entry values will apply only to lines following it in the configuration file and the default values can be reset multiple times in the configuration file with multiple entries where "PartitionName=DEFAULT". The "PartitionName=" specification must be placed on every line describing the configuration of partitions. \fBNOTE:\fR Put all parameters for each partition on a single line. Each line of partition configuration information should represent a different partition. The partition configuration file contains the following information: .TP \fBAllowGroups\fR Comma separated list of group IDs which may execute jobs in the partition. If at least one group associated with the user attempting to execute the job is in AllowGroups, he will be permitted to use this partition. Jobs executed as user root can use any partition without regard to the value of AllowGroups. If user root attempts to execute a job as another user (e.g. using srun's \-\-uid option), this other user must be in one of groups identified by AllowGroups for the job to successfully execute. The default value is "ALL". .TP \fBDefault\fR If this keyword is set, jobs submitted without a partition specification will utilize this partition. Possible values are "YES" and "NO". The default value is "NO". .TP \fBDisableRootJobs\fR If set to "YES" then user root will be prevented from running any jobs on this partition. The default value will be the value of \fBDisableRootJobs\fR set outside of a partition specification (which is "NO", allowing user root to execute jobs). .TP \fBHidden\fR Specifies if the partition and its jobs are to be hidden by default. Hidden partitions will by default not be reported by the SLURM APIs or commands. Possible values are "YES" and "NO". The default value is "NO". .TP \fBMaxNodes\fR Maximum count of nodes (c\-nodes for BlueGene systems) which may be allocated to any single job. The default value is "UNLIMITED", which is represented internally as \-1. This limit does not apply to jobs executed by SlurmUser or user root. .TP \fBMaxTime\fR Maximum run time limit for jobs. Format is minutes, minutes:seconds, hours:minutes:seconds, days\-hours, days\-hours:minutes, days\-hours:minutes:seconds or "UNLIMITED". Time resolution is one minute and second values are rounded up to the next minute. This limit does not apply to jobs executed by SlurmUser or user root. .TP \fBDefaultTime\fR Run time limit used for jobs that don't specify a value. If not set then MaxTime will be used. Format is the same as for MaxTime. .TP \fBMinNodes\fR Minimum count of nodes (or base partitions for BlueGene systems) which may be allocated to any single job. The default value is 1. This limit does not apply to jobs executed by SlurmUser or user root. .TP \fBNodes\fR Comma separated list of nodes (or base partitions for BlueGene systems) which are associated with this partition. Node names may be specified using the node range expression syntax described above. A blank list of nodes (i.e. "Nodes= ") can be used if one wants a partition to exist, but have no resources (possibly on a temporary basis). .TP \fBPartitionName\fR Name by which the partition may be referenced (e.g. "Interactive"). This name can be specified by users when submitting jobs. If the \fBPartitionName\fR is "DEFAULT", the values specified with that record will apply to subsequent partition specifications unless explicitly set to other values in that partition record or replaced with a different set of default values. .TP \fBPriority\fR Jobs submitted to a higher priority partition will be dispatched before pending jobs in lower priority partitions and if possible they will preempt running jobs from lower priority partitions. Note that a partition's priority takes precedence over a job's priority. The value may not exceed 65533. .TP \fBRootOnly\fR Specifies if only user ID zero (i.e. user \fIroot\fR) may allocate resources in this partition. User root may allocate resources for any other user, but the request must be initiated by user root. This option can be useful for a partition to be managed by some external entity (e.g. a higher\-level job manager) and prevents users from directly using those resources. Possible values are "YES" and "NO". The default value is "NO". .TP \fBShared\fR Controls the ability of the partition to execute more than one job at a time on each resource (node, socket or core depending upon the value of \fBSelectTypeParameters\fR). If resources are to be shared, avoiding memory over\-subscription is very important. \fBSelectTypeParameters\fR should be configured to treat memory as a consumable resource and the \fB\-\-mem\fR option should be used for job allocations. Possible values for \fBShared\fR are "EXCLUSIVE", "FORCE", "YES", and "NO". Sharing of resources is typically useful only when using \fBSchedulerType=sched/gang\fR. For more information see the following web pages: .br \fIhttps://computing.llnl.gov/linux/slurm/cons_res.html\fR, .br \fIhttps://computing.llnl.gov/linux/slurm/cons_res_share.html\fR, .br \fIhttps://computing.llnl.gov/linux/slurm/gang_scheduling.html\fR, and .br \fIhttps://computing.llnl.gov/linux/slurm/preempt.html\fR. .RS .TP 12 \fBEXCLUSIVE\fR Allocates entire nodes to jobs even with select/cons_res configured. This can be used to allocate whole nodes in some partitions and individual processors in other partitions. .TP \fBFORCE\fR Make all resources in the partition available for sharing without any means for users to disable it. May be followed with a colon and maximum number of jobs in running or suspended state. For example "Shared=FORCE:4" enables each node, socket or core to execute up to four jobs at once. Recommended only for BlueGene systems configured with small blocks or for systems running with gang scheduling (\fBSchedulerType=sched/gang\fR). .TP \fBYES\fR Make nodes in the partition available for sharing, but provides the user with a means of getting dedicated resources. If \fBSelectType=select/cons_res\fR, then resources will be over\-subscribed unless explicitly disabled in the job submit request using the "\-\-exclusive" option. With \fBSelectType=select/bluegene\fR or \fBSelectType=select/linear\fR, resources will only be over\-subscribed when explicitly requested by the user using the "\-\-share" option on job submission. May be followed with a colon and maximum number of jobs in running or suspended state. For example "Shared=YES:4" enables each node, socket or core to execute up to four jobs at once. Recommended only for systems running with gang scheduling (\fBSchedulerType=sched/gang\fR). .RE .TP \fBState\fR State of partition or availability for use. Possible values are "UP" or "DOWN". The default value is "UP". .SH "Prolog and Epilog Scripts" There are a variety of prolog and epilog program options that execute with various permissions and at various times. The four options most likely to be used are: \fBProlog\fR and \fBEpilog\fR (executed once on each compute node for each job) plus \fBPrologSlurmctld\fR and \fBEpilogSlurmctld\fR (executed once on the \fBControlMachine\fR for each job). NOTE: The Prolog script is ONLY run on any individual node when it first sees a job step from a new allocation; it does not run the Prolog immediately when an allocation is granted. If no job steps from an allocation are run on a node, it will never run the Prolog for that allocation. The Epilog, on the other hand, always runs on every node of an allocation when the allocation is released. Information about the job is passed to the script using environment variables. Unless otherwise specified, these environment variables are available to all of the programs. .TP \fBBASIL_RESERVATION_ID\fR Basil reservation ID. Available on Cray XT systems only. .TP \fBMPIRUN_PARTITION\fR BlueGene partition name. Available on BlueGene systems only. .TP \fBSLURM_JOB_ACCOUNT\fR Account name used for the job. Available in \fBPrologSlurmctld\fR and \fBEpilogSlurmctld\fR only. .TP \fBSLURM_JOB_CONSTRAINTS\fR Features required to run the job. Available in \fBPrologSlurmctld\fR and \fBEpilogSlurmctld\fR only. .TP \fBSLURM_JOB_GID\fR Group ID of the job's owner. Available in \fBPrologSlurmctld\fR and \fBEpilogSlurmctld\fR only. .TP \fBSLURM_JOB_GROUP\fR Group name of the job's owner. Available in \fBPrologSlurmctld\fR and \fBEpilogSlurmctld\fR only. .TP \fBSLURM_JOB_ID\fR Job ID. .TP \fBSLURM_JOB_NAME\fR Name of the job. Available in \fBPrologSlurmctld\fR and \fBEpilogSlurmctld\fR only. .TP \fBSLURM_JOB_NODELIST\fR Nodes assigned to job. A SLURM hostlist expression. "scontrol show hostnames" can be used to convert this to a list of individual host names. Available in \fBPrologSlurmctld\fR and \fBEpilogSlurmctld\fR only. .TP \fBSLURM_JOB_PARTITION\fR Partition that job runs in. Available in \fBPrologSlurmctld\fR and \fBEpilogSlurmctld\fR only. .TP \fBSLURM_JOB_UID\fR User ID of the job's owner. .TP \fBSLURM_JOB_USER\fR User name of the job's owner. .SH "NETWORK TOPOLOGY" SLURM is able to optimze job allocations to minimize network contention. Special SLURM logic is used to optimize allocations on systems with a three\-dimensional interconnect (BlueGene, Sun Constellation, etc.) and information about configuring those systems are availble on web pages available here: <https://computing.llnl.gov/linux/slurm/>. For a hierarchical network, SLURM needs to have detailed information about how nodes are configured on the network switches. .LP Given network topology information, SLURM allocates all of a job's resources onto a single leaf of the network (if possible) using a best\-fit algorithm. Otherwise it will allocate a job's resources onto multiple leaf switches so as to minimize the use of higher\-level switches. The \fBTopologyPlugin\fR parameter controls which plugin is used to collect network topology information. The only values presently supported are "topology/3d_torus" (default for IBM BlueGene, Sun Constellation and Cray XT systems, performs best\-fit logic over three\-dimensional topology), "topology/none" (default for other systems, best\-fit logic over one\-dimensional topology), "topology/tree" (determine the network topology based upon information contained in a topology.conf file, see "man topology.conf" for more information). Future plugins may gather topology information directly from the network. The topology information is optional. If not provided, SLURM will perform a best\-fit algorithm assuming the nodes are in a one\-dimensional array as configured and the communications cost is related to the node distance in this array. .SH "RELOCATING CONTROLLERS" If the cluster's computers used for the primary or backup controller will be out of service for an extended period of time, it may be desirable to relocate them. In order to do so, follow this procedure: .LP 1. Stop the SLURM daemons .br 2. Modify the slurm.conf file appropriately .br 3. Distribute the updated slurm.conf file to all nodes .br 4. Restart the SLURM daemons .LP There should be no loss of any running or pending jobs. Insure that any nodes added to the cluster have the current slurm.conf file installed. .LP \fBCAUTION:\fR If two nodes are simultaneously configured as the primary controller (two nodes on which \fBControlMachine\fR specify the local host and the \fBslurmctld\fR daemon is executing on each), system behavior will be destructive. If a compute node has an incorrect \fBControlMachine\fR or \fBBackupController\fR parameter, that node may be rendered unusable, but no other harm will result. .SH "EXAMPLE" .LP # .br # Sample /etc/slurm.conf for dev[0\-25].llnl.gov .br # Author: John Doe .br # Date: 11/06/2001 .br # .br ControlMachine=dev0 .br ControlAddr=edev0 .br BackupController=dev1 .br BackupAddr=edev1 .br # .br AuthType=auth/munge .br Epilog=/usr/local/slurm/epilog .br Prolog=/usr/local/slurm/prolog .br FastSchedule=1 .br FirstJobId=65536 .br InactiveLimit=120 .br JobCompType=jobcomp/filetxt .br JobCompLoc=/var/log/slurm/jobcomp .br KillWait=30 .br MaxJobCount=10000 .br MinJobAge=3600 .br PluginDir=/usr/local/lib:/usr/local/slurm/lib .br ReturnToService=0 .br SchedulerType=sched/backfill .br SlurmctldLogFile=/var/log/slurm/slurmctld.log .br SlurmdLogFile=/var/log/slurm/slurmd.log .br SlurmctldPort=7002 .br SlurmdPort=7003 .br SlurmdSpoolDir=/usr/local/slurm/slurmd.spool .br StateSaveLocation=/usr/local/slurm/slurm.state .br SwitchType=switch/elan .br TmpFS=/tmp .br WaitTime=30 .br JobCredentialPrivateKey=/usr/local/slurm/private.key .br JobCredentialPublicCertificate=/usr/local/slurm/public.cert .br # .br # Node Configurations .br # .br NodeName=DEFAULT Procs=2 RealMemory=2000 TmpDisk=64000 .br NodeName=DEFAULT State=UNKNOWN .br NodeName=dev[0\-25] NodeAddr=edev[0\-25] Weight=16 .br # Update records for specific DOWN nodes .br DownNodes=dev20 State=DOWN Reason="power,ETA=Dec25" .br # .br # Partition Configurations .br # .br PartitionName=DEFAULT MaxTime=30 MaxNodes=10 State=UP .br PartitionName=debug Nodes=dev[0\-8,18\-25] Default=YES .br PartitionName=batch Nodes=dev[9\-17] MinNodes=4 .br PartitionName=long Nodes=dev[9\-17] MaxTime=120 AllowGroups=admin .SH "COPYING" Copyright (C) 2002\-2007 The Regents of the University of California. Copyright (C) 2008\-2009 Lawrence Livermore National Security. Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). CODE\-OCEC\-09\-009. All rights reserved. .LP This file is part of SLURM, a resource management program. For details, see <https://computing.llnl.gov/linux/slurm/>. .LP SLURM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. .LP SLURM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. .SH "FILES" /etc/slurm.conf .SH "SEE ALSO" .LP \fBbluegene.conf\fR(5), \fBgethostbyname\fR(3), \fBgetrlimit\fR(2), \fBgroup\fR(5), \fBhostname\fR(1), \fBscontrol\fR(1), \fBslurmctld\fR(8), \fBslurmd\fR(8), \fBslurmdbd\fR(8), \fBslurmdbd.conf\fR(5), \fBsrun(1)\fR, \fBspank(8)\fR, \fBsyslog\fR(2), \fBtopology.conf\fR(5), \fBwiki.conf\fR(5)