sbatch
Section: Slurm Commands (1)Updated: Slurm Commands
Index
NAME
sbatch - Submit a batch script to Slurm.sbatch-バッチスクリプトをSlurmに送信します。
SYNOPSIS
sbatch [OPTIONS(0)...] [ : [OPTIONS(N)...]] script(0) [args(0)...]
Option(s) define multiple jobs in a co-scheduled heterogeneous job.
オプションは、共同スケジュールされた異種ジョブで複数のジョブを定義します。
For more details about heterogeneous jobs see the document
異機種混在ジョブの詳細については、ドキュメントを参照してください
https://slurm.schedmd.com/heterogeneous_jobs.html
DESCRIPTION
sbatch submits a batch script to Slurm.sbatchはバッチスクリプトをSlurmに送信します。
The batch script may be given to sbatch through a file name on the command line, or if no file name is specified, sbatch will read in a script from standard input.
バッチスクリプトは、コマンドラインでファイル名を使用してsbatchに渡すことができます。ファイル名が指定されていない場合、sbatchは標準入力からスクリプトを読み取ります。
The batch script may contain options preceded with "#SBATCH" before any executable commands in the script.
バッチスクリプトには、スクリプト内の実行可能なコマンドの前に、「#SBATCH」で始まるオプションが含まれている場合があります。
sbatch will stop processing further #SBATCH directives once the first non-comment non-whitespace line has been reached in the script.
スクリプトで最初の非コメント非空白行に到達すると、sbatchは以降の#SBATCHディレクティブの処理を停止します。
sbatch exits immediately after the script is successfully transferred to the
Slurm controller and assigned a Slurm job ID.
sbatchは、スクリプトがSlurmコントローラーに正常に転送され、SlurmジョブIDが割り当てられた直後に終了します。
The batch script is not
necessarily granted resources immediately, it may sit in the queue of pending
jobs for some time before its required resources become available.
バッチスクリプトは必ずしもすぐにリソースを許可されるとは限りません。必要なリソースが利用可能になる前に、しばらくの間、保留中のジョブのキューに留まることがあります。
By default both standard output and standard error are directed to a file of
the name "slurm-%j.out", where the "%j" is replaced with the job allocation
number.
デフォルトでは、標準出力と標準エラーの両方が「slurm-%j.out」という名前のファイルに送られます。「%j」はジョブ割り当て番号に置き換えられます。
The file will be generated on the first node of the job allocation.
ファイルは、ジョブ割り当ての最初のノードで生成されます。
Other than the batch script itself, Slurm does no movement of user files.
バッチスクリプト自体を除いて、Slurmはユーザーファイルの移動を行いません。
When the job allocation is finally granted for the batch script, Slurm
runs a single copy of the batch script on the first node in the set of
allocated nodes.
ジョブ割り当てがバッチスクリプトに最終的に許可されると、Slurmは割り当てられたノードのセットの最初のノードでバッチスクリプトの単一のコピーを実行します。
The following document describes the influence of various options on the
allocation of cpus to jobs and tasks.
次のドキュメントは、ジョブとタスクへのCPUの割り当てに対するさまざまなオプションの影響について説明しています。
https://slurm.schedmd.com/cpu_management.html
RETURN VALUE
sbatch will return 0 on success or error code on failure.sbatchは成功すると0を返し、失敗するとエラーコードを返します。
SCRIPT PATH RESOLUTION
The batch script is resolved in the following order:
バッチスクリプトは次の順序で解決されます。
1. If script starts with ".", then path is constructed as:
current working directory / script
スクリプトが「。」で始まる場合、パスは次のように構成されます:現在の作業ディレクトリ/スクリプト
2. If script starts with a "/", then path is considered absolute.
スクリプトが「/」で始まる場合、パスは絶対パスと見なされます。
3. If script is in current working directory.
スクリプトが現在の作業ディレクトリにある場合。
4. If script can be resolved through PATH. See path_resolution(7).
スクリプトがPATHを介して解決できる場合。path_resolution(7)を参照してください。
Current working directory is the calling process working directory unless the
--chdir argument is passed, which will override the current working
directory.
現在の作業ディレクトリは、現在の作業ディレクトリを上書きする--chdir引数が渡されない限り、呼び出しプロセスの作業ディレクトリです。
OPTIONS
- -a, --array=<indexes>
-
Submit a job array, multiple jobs to be executed with identical parameters.
同一のパラメーターで実行されるジョブ配列、複数のジョブを送信します。
The indexes specification identifies what array index values should be used.
インデックスの仕様では、使用する配列のインデックス値を識別します。
Multiple values may be specified using a comma separated list and/or a range of values with a "-" separator.
複数の値は、コンマで区切られたリストおよび/または「-」区切り記号を使用した値の範囲を使用して指定できます。
For example, "--array=0-15" or "--array=0,6,16-32".
たとえば、「-array = 0-15」または「--array = 0,6,16-32」です。
A step function can also be specified with a suffix containing a colon and number.
ステップ関数は、コロンと数字を含むサフィックスで指定することもできます。
For example, "--array=0-15:4" is equivalent to "--array=0,4,8,12".
たとえば、「-array = 0-15:4」は「--array = 0,4,8,12」と同等です。
A maximum number of simultaneously running tasks from the job array may be specified using a "%" separator.
ジョブ配列から同時に実行されるタスクの最大数は、「%」区切り文字を使用して指定できます。
For example "--array=0-15%4" will limit the number of simultaneously running tasks from this job array to 4.
たとえば、「-array = 0-15%4」は、このジョブ配列から同時に実行されるタスクの数を4に制限します。
The minimum index value is 0.
最小インデックス値は0です。
the maximum value is one less than the configuration parameter MaxArraySize.
最大値は、構成パラメーターMaxArraySizeよりも1つ小さくなります。
NOTE: currently, federated job arrays only run on the local cluster.
注:現在、連合ジョブアレイはローカルクラスタでのみ実行されます。
- -A, --account=<account>
-
Charge resources used by this job to specified account.
このジョブで使用されるリソースを指定されたアカウントに請求します。
The account is an arbitrary string.
アカウントは任意の文字列です。
The account name may be changed after job submission using the scontrol command.
アカウント名は、scontrolコマンドを使用してジョブを送信した後で変更される場合があります。
- --acctg-freq
-
Define the job accounting and profiling sampling intervals.
ジョブアカウンティングとプロファイリングのサンプリング間隔を定義します。
This can be used to override the JobAcctGatherFrequency parameter in Slurm's configuration file, slurm.conf.
これを使用して、Slurmの構成ファイルslurm.confのJobAcctGatherFrequencyパラメーターをオーバーライドできます。
The supported format is as follows:
サポートされている形式は次のとおりです。
-
- --acctg-freq=<datatype>=<interval>
-
where <datatype>=<interval> specifies the task sampling
interval for the jobacct_gather plugin or a
sampling interval for a profiling type by the
acct_gather_profile plugin.
どこ = jobacct_gatherプラグインのタスクサンプリング間隔、またはacct_gather_profileプラグインによるプロファイリングタイプのサンプリング間隔を指定します。
Multiple, comma-separated <datatype>=<interval> intervals may be specified. Supported datatypes are as follows:
複数、カンマ区切り =間隔を指定できます。サポートされているデータ型は次のとおりです。
-
- task=<interval>
-
where <interval> is the task sampling interval in seconds
for the jobacct_gather plugins and for task
profiling by the acct_gather_profile plugin.
どこ jobacct_gatherプラグインとacct_gather_profileプラグインによるタスクプロファイリングの秒単位のタスクサンプリング間隔です。
NOTE: This frequency is used to monitor memory usage.
注:この頻度は、メモリ使用量を監視するために使用されます。
If memory limits are enforced the highest frequency a user can request is what is configured in the slurm.conf file.
メモリ制限が適用される場合、ユーザーが要求できる最も高い頻度は、slurm.confファイルで構成されているものです。
They can not turn it off (=0) either.
また、オフ(= 0)にすることもできません。
- energy=<interval>
-
where <interval> is the sampling interval in seconds
for energy profiling using the acct_gather_energy plugin
どこ acct_gather_energyプラグインを使用したエネルギープロファイリングのサンプリング間隔(秒)です
- network=<interval>
-
where <interval> is the sampling interval in seconds
for infiniband profiling using the acct_gather_interconnect
plugin.
どこ acct_gather_interconnectプラグインを使用したinfinibandプロファイリングのサンプリング間隔(秒)です。
- filesystem=<interval>
-
where <interval> is the sampling interval in seconds
for filesystem profiling using the acct_gather_filesystem
plugin.
どこ acct_gather_filesystemプラグインを使用したファイルシステムプロファイリングのサンプリング間隔(秒)です。
-
The default value for the task sampling interval is 30 seconds.
タスクのサンプリング間隔のデフォルト値は30秒です。
The default value for all other intervals is 0.
他のすべての間隔のデフォルト値は0です。
An interval of 0 disables sampling of the specified type.
間隔を0にすると、指定したタイプのサンプリングが無効になります。
If the task sampling interval is 0, accounting information is collected only at job termination (reducing Slurm interference with the job).
タスクのサンプリング間隔が0の場合、アカウンティング情報はジョブの終了時にのみ収集されます(ジョブとのSlurm干渉を減らします)。
Smaller (non-zero) values have a greater impact upon job performance, but a value of 30 seconds is not likely to be noticeable for applications having less than 10,000 tasks.
値が小さい(ゼロ以外の)場合、ジョブのパフォーマンスに大きな影響がありますが、30秒の値は、10,000タスク未満のアプリケーションでは目立ちません。
-
- -B --extra-node-info=<sockets[:cores[:threads]]>
-
Restrict node selection to nodes with at least the specified number of
sockets, cores per socket and/or threads per core.
ノードの選択を、指定されたソケット数、ソケットあたりのコア数、コアあたりのスレッド数、またはその両方を持つノードに制限します。
NOTE: These options do not specify the resource allocation size.
注:これらのオプションは、リソース割り当てサイズを指定しません。
Each value specified is considered a minimum.
指定された各値は最小値と見なされます。
An asterisk (*) can be used as a placeholder indicating that all available resources of that type are to be utilized.
アスタリスク(*)は、そのタイプの使用可能なすべてのリソースが利用されることを示すプレースホルダーとして使用できます。
Values can also be specified as min-max.
値はmin-maxとして指定することもできます。
The individual levels can also be specified in separate options if desired:
必要に応じて、個別のレベルを個別のオプションで指定することもできます。
--sockets-per-node=<sockets> --cores-per-socket=<cores> --threads-per-core=<threads>
If task/affinity plugin is enabled, then specifying an allocation in this manner also results in subsequently launched tasks being bound to threads if the -B option specifies a thread count, otherwise an option of cores if a core count is specified, otherwise an option of sockets.
タスク/アフィニティプラグインが有効な場合、この方法で割り当てを指定すると、-Bオプションでスレッドカウントが指定されている場合、その後起動されるタスクがスレッドにバインドされます。それ以外の場合は、コアカウントが指定されている場合はコアのオプションが、そうでない場合はオプションがバインドされます。ソケットの。
If SelectType is configured to select/cons_res, it must have a parameter of CR_Core, CR_Core_Memory, CR_Socket, or CR_Socket_Memory for this option to be honored.
SelectTypeがselect / cons_resに構成されている場合、このオプションが受け入れられるためには、CR_Core、CR_Core_Memory、CR_Socket、またはCR_Socket_Memoryのパラメーターが必要です。
If not specified, the scontrol show job will display 'ReqS:C:T=*:*:*'.
指定しない場合、scontrol showジョブは「ReqS:C:T = *:*:*」を表示します。
This option applies to job allocations.
このオプションは、ジョブの割り当てに適用されます。
- --batch=<list>
-
Nodes can have features assigned to them by the Slurm administrator.
ノードには、Slurm管理者によってノードに割り当てられた機能を含めることができます。
Users can specify which of these features are required by their batch script using this options.
ユーザーは、このオプションを使用して、バッチスクリプトで必要なこれらの機能を指定できます。
For example a job's allocation may include both Intel Haswell and KNL nodes with features "haswell" and "knl" respectively.
たとえば、ジョブの割り当てには、それぞれ「haswell」と「knl」の機能を持つIntel HaswellノードとKNLノードの両方が含まれる場合があります。
On such a configuration the batch script would normally benefit by executing on a faster Haswell node.
このような構成では、バッチスクリプトは通常、より高速なHaswellノードで実行することでメリットがあります。
This would be specified using the option "--batch=haswell".
これは、オプション「--batch = haswell」を使用して指定されます。
The specification can include AND and OR operators using the ampersand and vertical bar separators. For example: "--batch=haswell|broadwell" or "--batch=haswell|big_memory".
仕様には、アンパサンドと垂直バーの区切り記号を使用したANDおよびOR演算子を含めることができます。例:「--batch = haswell | broadwell」または「--batch = haswell | big_memory」。
The --batch argument must be a subset of the job's --constraint=<list> argument (i.e. the job can not request only KNL nodes, but require the script to execute on a Haswell node).
--batch引数は、ジョブの--constraint =のサブセットである必要があります 引数(つまり、ジョブはKNLノードのみを要求することはできませんが、Haswellノードでスクリプトを実行する必要があります)。
If the request can not be satisfied from the resources allocated to the job, the batch script will execute on the first node of the job allocation.
ジョブに割り当てられたリソースからの要求を満たせない場合、バッチスクリプトはジョブ割り当ての最初のノードで実行されます。
- --bb=<spec>
-
Burst buffer specification.
バーストバッファ仕様。
The form of the specification is system dependent.
仕様の形式はシステムに依存します。
Note the burst buffer may not be accessible from a login node, but require that salloc spawn a shell on one of its allocated compute nodes.
バーストバッファーはログインノードからアクセスできない場合がありますが、sallocが割り当てられた計算ノードの1つにシェルを生成する必要があることに注意してください。
See the description of SallocDefaultCommand in the slurm.conf man page for more information about how to spawn a remote shell.
リモートシェルを生成する方法の詳細については、slurm.confのmanページにあるSallocDefaultCommandの説明を参照してください。
- --bbf=<file_name>
- Path of file containing burst buffer specification. The form of the specification is system dependent. These burst buffer directives will be inserted into the submitted batch script.
- -b, --begin=<time>
-
Submit the batch script to the Slurm controller immediately, like normal, but
tell the controller to defer the allocation of the job until the specified time.
通常のように、バッチスクリプトをすぐにSlurmコントローラーに送信しますが、コントローラーにジョブの割り当てを指定した時間まで延期するように指示します。
Time may be of the form HH:MM:SS to run a job at a specific time of day (seconds are optional).
時間は、HH:MM:SSの形式で、特定の時刻にジョブを実行できます(秒はオプションです)。
(If that time is already past, the next day is assumed.)
(その時間が既に過ぎている場合は、翌日と見なされます。)
You may also specify midnight, noon, fika (3 PM) or teatime (4 PM) and you can have a time-of-day suffixed with AM or PM for running in the morning or the evening.
午前0時、正午、fika(午後3時)またはティータイム(午後4時)を指定することもできます。午前または午後に実行するために、時刻の後にAMまたはPMを付けることができます。
You can also say what day the job will be run, by specifying a date of the form MMDDYY or MM/DD/YY YYYY-MM-DD.
また、MMDDYYまたはMM / DD / YY YYYY-MM-DDの形式の日付を指定することにより、ジョブが実行される日を指定することもできます。
Combine date and time using the following format YYYY-MM-DD[THH:MM[:SS]].
次の形式YYYY-MM-DD [THH:MM [:SS]]を使用して日付と時刻を組み合わせます。
You can also give times like now + count time-units, where the time-units can be seconds (default), minutes, hours, days, or weeks and you can tell Slurm to run the job today with the keyword today and to run the job tomorrow with the keyword tomorrow.
now + count time-unitsのような時間を指定することもできます。ここで、時間単位は秒(デフォルト)、分、時間、日、または週であり、Slurmに今日のキーワードを使用してジョブを実行し、実行するように指示できます。明日のキーワードで明日の仕事。
The value may be changed after job submission using the scontrol command.
この値は、scontrolコマンドを使用してジョブをサブミットした後で変更される場合があります。
For example:--begin=16:00 --begin=now+1hour --begin=now+60 (seconds by default) --begin=2010-01-20T12:34:00
-
Notes on date/time specifications:
日付/時刻の仕様に関する注意:
- Although the 'seconds' field of the HH:MM:SS time specification is allowed by the code, note that the poll time of the Slurm scheduler is not precise enough to guarantee dispatch of the job on the exact second.
-HH:MM:SS時間指定の「秒」フィールドはコードで許可されていますが、Slurmスケジューラーのポーリング時間は、正確な秒でのジョブのディスパッチを保証するほど正確ではないことに注意してください。
The job will be eligible to start on the next poll following the specified time.
ジョブは、指定された時間に続く次のポーリングで開始する資格があります。
The exact poll interval depends on the Slurm scheduler (e.g., 60 seconds with the default sched/builtin).
正確なポーリング間隔はSlurmスケジューラーに依存します(例えば、デフォルトのsched / builtinで60秒)。
- If no time (HH:MM:SS) is specified, the default is (00:00:00).
-時間(HH:MM:SS)が指定されていない場合、デフォルトは(00:00:00)です。
- If a date is specified without a year (e.g., MM/DD) then the current year is assumed, unless the combination of MM/DD and HH:MM:SS has already passed for that year, in which case the next year is used.
-年が指定されていない日付(例:MM / DD)の場合、MM / DDとHH:MM:SSの組み合わせがその年に既に経過していない限り、現在の年が想定されます。中古。
-
- --cluster-constraint=[!]<list>
-
Specifies features that a federated cluster must have to have a sibling job
submitted to it.
統合クラスターに兄弟ジョブを送信するために必要な機能を指定します。
Slurm will attempt to submit a sibling job to a cluster if it has at least one of the specified features.
Slurmは、指定された機能の少なくとも1つがある場合、兄弟ジョブをクラスターに送信しようとします。
If the "!" option is included, Slurm will attempt to submit a sibling job to a cluster that has none of the specified features.
「!」オプションが含まれている場合、Slurmは指定された機能を持たないクラスターに兄弟ジョブを送信しようとします。
- --comment=<string>
-
An arbitrary comment enclosed in double quotes if using spaces or some
special characters.
スペースまたはいくつかの特殊文字を使用する場合、二重引用符で囲まれた任意のコメント。
- -C, --constraint=<list>
-
Nodes can have features assigned to them by the Slurm administrator.
ノードには、Slurm管理者によってノードに割り当てられた機能を含めることができます。
Users can specify which of these features are required by their job using the constraint option.
ユーザーは、制約オプションを使用して、これらの機能のどれが自分のジョブに必要かを指定できます。
Only nodes having features matching the job constraints will be used to satisfy the request.
ジョブの制約に一致する機能を持つノードのみが、要求を満たすために使用されます。
Multiple constraints may be specified with AND, OR, matching OR, resource counts, etc. (some operators are not supported on all system types).
AND、OR、一致するOR、リソース数などで複数の制約を指定できます(一部の演算子はすべてのシステムタイプでサポートされているわけではありません)。
Supported constraint options include:
サポートされる制約オプションは次のとおりです。
-
- Single Name
-
Only nodes which have the specified feature will be used.
指定された機能を持つノードのみが使用されます。
For example, --constraint="intel"
例:--constraint = "intel"
- Node Count
-
A request can specify the number of nodes needed with some feature
by appending an asterisk and count after the feature name.
リクエストでは、機能名の後にアスタリスクとカウントを追加することにより、一部の機能で必要なノードの数を指定できます。
For example "--nodes=16 --constraint=graphics*4 ..." indicates that the job requires 16 nodes and that at least four of those nodes must have the feature "graphics."
たとえば、「-nodes = 16 --constraint = graphics * 4 ...」は、ジョブに16のノードが必要であり、それらのノードの少なくとも4つに「グラフィック」の機能が必要であることを示します。
- AND
-
If only nodes with all of specified features will be used.
指定されたすべての機能を持つノードのみが使用される場合。
The ampersand is used for an AND operator.
アンパサンドはAND演算子に使用されます。
For example, --constraint="intel&gpu"
例:--constraint = "intel&gpu"
- OR
-
If only nodes with at least one of specified features will be used.
指定された機能の少なくとも1つを持つノードのみが使用される場合。
The vertical bar is used for an OR operator.
縦棒はOR演算子に使用されます。
For example, --constraint="intel|amd"
例:--constraint = "intel | amd"
- Matching OR
-
If only one of a set of possible options should be used for all allocated
nodes, then use the OR operator and enclose the options within square brackets.
割り当てられたすべてのノードで使用可能なオプションのセットの1つだけを使用する必要がある場合は、OR演算子を使用して、オプションを角括弧で囲みます。
For example: "--constraint=[rack1|rack2|rack3|rack4]" might be used to specify that all nodes must be allocated on a single rack of the cluster, but any of those four racks can be used.
例:「--constraint = [rack1 | rack2 | rack3 | rack4]」は、すべてのノードをクラスターの単一のラックに割り当てる必要があることを指定するために使用できますが、これらの4つのラックのどれでも使用できます。
- Multiple Counts
-
Specific counts of multiple resources may be specified by using the AND
operator and enclosing the options within square brackets.
AND演算子を使用してオプションを角括弧で囲むことにより、複数のリソースの特定の数を指定できます。
For example: "--constraint=[rack1*2&rack2*4]" might be used to specify that two nodes must be allocated from nodes with the feature of "rack1" and four nodes must be allocated from nodes with the feature "rack2".
例:「--constraint = [rack1 * 2&rack2 * 4]」は、2つのノードを「rack1」の機能を持つノードから割り当て、4つのノードを「rack2」の機能を持つノードから割り当てる必要があることを指定するために使用できます。 。
NOTE: This construct does not support multiple Intel KNL NUMA or MCDRAM modes. For example, while "--constraint=[(knl&quad)*2&(knl&hemi)*4]" is not supported, "--constraint=[haswell*2&(knl&hemi)*4]" is supported.
注:この構成は、複数のIntel KNL NUMAまたはMCDRAMモードをサポートしていません。たとえば、「-constraint = [(knl&quad)* 2&(knl&hemi)* 4]」はサポートされていませんが、「-constraint = [haswell * 2&(knl&hemi)* 4]」はサポートされています。
Specification of multiple KNL modes requires the use of a heterogeneous job.
複数のKNLモードを指定するには、異種ジョブを使用する必要があります。
- Parenthesis
-
Parenthesis can be used to group like node features together.
括弧を使用して、類似したノード機能をグループ化できます。
For example "--constraint=[(knl&snc4&flat)*4&haswell*1]" might be used to specify that four nodes with the features "knl", "snc4" and "flat" plus one node with the feature "haswell" are required.
たとえば、「-constraint = [(knl&snc4&flat)* 4&haswell * 1]」を使用して、機能「knl」、「snc4」、「flat」の4つのノードと、機能「haswell」の1つのノードが必要であることを指定できます。
All options within parenthesis should be grouped with AND (e.g. "&") operands.
括弧内のすべてのオプションは、AND(例: "&")オペランドでグループ化する必要があります。
-
- --contiguous
-
If set, then the allocated nodes must form a contiguous set.
セットされている場合、割り当てられたノードは連続したセットを形成する必要があります。
Not honored with the topology/tree or topology/3d_torus plugins, both of which can modify the node ordering.
topology / treeまたはtopology / 3d_torusプラグインでは尊重されません。どちらもノードの順序を変更できます。
- --cores-per-socket=<cores>
-
Restrict node selection to nodes with at least the specified number of
cores per socket.
ノードの選択を、ソケットごとに指定されたコア数以上のノードに制限します。
See additional information under -B option above when task/affinity plugin is enabled.
タスク/アフィニティプラグインが有効になっている場合は、上記の-Bオプションの追加情報を参照してください。
- --cpu-freq =<p1[-p2[:p3]]>
-
Request that job steps initiated by srun commands inside this sbatch script be run at some requested frequency if possible, on the CPUs selected for the step on the compute node(s).
このsbatchスクリプト内のsrunコマンドによって開始されたジョブステップが、可能であれば、要求された頻度で、計算ノードのステップ用に選択されたCPUで実行されるように要求します。
p1 can be [#### | low | medium | high | highm1] which will set the frequency scaling_speed to the corresponding value, and set the frequency scaling_governor to UserSpace. See below for definition of the values.
p1は[#### | 低| ミディアム| 高い| highm1]は、周波数scaling_speedを対応する値に設定し、周波数scaling_governorをUserSpaceに設定します。値の定義については、以下を参照してください。
p1 can be [Conservative | OnDemand | Performance | PowerSave] which will set the scaling_governor to the corresponding value.
p1は[保守的| オンデマンド| パフォーマンス| PowerSave]は、scaling_governorを対応する値に設定します。
The governor has to be in the list set by the slurm.conf option CpuFreqGovernors.
ガバナーは、slurm.confオプションCpuFreqGovernorsによって設定されたリストに含まれている必要があります。
When p2 is present, p1 will be the minimum scaling frequency and p2 will be the maximum scaling frequency.
p2が存在する場合、p1は最小スケーリング周波数、p2は最大スケーリング周波数になります。
p2 can be [#### | medium | high | highm1] p2 must be greater than p1.
p2は[#### | ミディアム| 高い| highm1] p2はp1より大きくなければなりません。
p3 can be [Conservative | OnDemand | Performance | PowerSave | UserSpace] which will set the governor to the corresponding value.
p3は[保守的| オンデマンド| パフォーマンス| PowerSave | UserSpace]ガバナーを対応する値に設定します。
If p3 is UserSpace, the frequency scaling_speed will be set by a power or energy aware scheduling strategy to a value between p1 and p2 that lets the job run within the site's power goal.
p3がUserSpaceの場合、周波数scaling_speedは、電力またはエネルギーを認識するスケジューリング戦略によって、サイトの電力目標内でジョブを実行できるようにするp1とp2の間の値に設定されます。
The job may be delayed if p1 is higher than a frequency that allows the job to run within the goal.
ジョブが目標内で実行できる頻度よりもp1が高い場合、ジョブが遅延する可能性があります。
If the current frequency is < min, it will be set to min.
現在の周波数が<minの場合、minに設定されます。
Likewise, if the current frequency is > max, it will be set to max.
同様に、現在の周波数が> maxの場合、maxに設定されます。
Acceptable values at present include:
現在許容できる値は次のとおりです。
-
- ####
-
frequency in kilohertz
キロヘルツ単位の周波数
- Low
-
the lowest available frequency
利用可能な最低周波数
- High
-
the highest available frequency
利用可能な最高周波数
- HighM1
-
(high minus one) will select the next highest available frequency
(高マイナス1)は、次に使用可能な頻度を選択します
- Medium
-
attempts to set a frequency in the middle of the available range
使用可能な範囲の中央に周波数を設定しようとします
- Conservative
-
attempts to use the Conservative CPU governor
保守的なCPUガバナーを使用する試み
- OnDemand
-
attempts to use the OnDemand CPU governor (the default value)
OnDemand CPUガバナーの使用を試みます(デフォルト値)
- Performance
-
attempts to use the Performance CPU governor
パフォーマンスCPUガバナーを使用しようとする
- PowerSave
-
attempts to use the PowerSave CPU governor
PowerSave CPUガバナーを使用しようとする
- UserSpace
-
attempts to use the UserSpace CPU governor
UserSpace CPUガバナーの使用を試みます
The following informational environment variable is set in the job step when --cpu-freq option is requested.
--cpu-freqオプションが要求されると、次の情報環境変数がジョブステップで設定されます。
SLURM_CPU_FREQ_REQ
This environment variable can also be used to supply the value for the CPU frequency request if it is set when the 'srun' command is issued.
この環境変数は、「srun」コマンドの発行時に設定されている場合、CPU周波数要求の値を提供するためにも使用できます。
The --cpu-freq on the command line will override the environment variable value.
コマンドラインの--cpu-freqは、環境変数の値を上書きします。
The form on the environment variable is the same as the command line.
環境変数の形式は、コマンドラインと同じです。
See the ENVIRONMENT VARIABLES section for a description of the SLURM_CPU_FREQ_REQ variable.
SLURM_CPU_FREQ_REQ変数の説明については、「環境変数」セクションを参照してください。
NOTE: This parameter is treated as a request, not a requirement.
注:このパラメーターは、要件ではなく要求として扱われます。
If the job step's node does not support setting the CPU frequency, or the requested value is outside the bounds of the legal frequencies, an error is logged, but the job step is allowed to continue.
ジョブステップのノードがCPU周波数の設定をサポートしていない場合、または要求された値が有効な周波数の範囲外である場合、エラーがログに記録されますが、ジョブステップは続行できます。
NOTE: Setting the frequency for just the CPUs of the job step implies that the tasks are confined to those CPUs.
注:ジョブステップのCPUのみの頻度を設定すると、タスクはそれらのCPUに限定されます。
If task confinement (i.e., TaskPlugin=task/affinity or TaskPlugin=task/cgroup with the "ConstrainCores" option) is not configured, this parameter is ignored.
タスクの制限(つまり、 "ConstrainCores"オプションを指定したTaskPlugin = task / affinityまたはTaskPlugin = task / cgroup)が構成されていない場合、このパラメーターは無視されます。
NOTE: When the step completes, the frequency and governor of each selected CPU is reset to the previous values.
注:ステップが完了すると、選択した各CPUの周波数とガバナーが以前の値にリセットされます。
NOTE: When submitting jobs with the --cpu-freq option with linuxproc as the ProctrackType can cause jobs to run too quickly before Accounting is able to poll for job information.
注:ProctrackTypeとしてlinuxprocの--cpu-freqオプションを使用してジョブを送信すると、アカウンティングがジョブ情報をポーリングする前にジョブが非常に速く実行される可能性があります。
As a result not all of accounting information will be present.
その結果、すべてのアカウンティング情報が存在するわけではありません。
-
- --cpus-per-gpu=<ncpus>
-
Advise Slurm that ensuing job steps will require ncpus processors per
allocated GPU.
後続のジョブステップでは、割り当てられたGPUごとにncpusプロセッサが必要になることをSlurmにアドバイスします。
Not compatible with the --cpus-per-task option.
--cpus-per-taskオプションと互換性がありません。
- -c, --cpus-per-task=<ncpus>
-
Advise the Slurm controller that ensuing job steps will require ncpus
number of processors per task.
後続のジョブステップではタスクごとにncpusプロセッサ数が必要になることをSlurmコントローラに通知します。
Without this option, the controller will just try to allocate one processor per task.
このオプションがない場合、コントローラーはタスクごとに1つのプロセッサーを割り当てようとします。
For instance, consider an application that has 4 tasks, each requiring 3 processors.
たとえば、4つのタスクがあり、それぞれに3つのプロセッサが必要なアプリケーションを考えてみます。
If our cluster is comprised of quad-processors nodes and we simply ask for 12 processors, the controller might give us only 3 nodes.
クラスターがクワッドプロセッサノードで構成されており、12プロセッサを要求した場合、コントローラーは3つのノードしか提供しない可能性があります。
However, by using the --cpus-per-task=3 options, the controller knows that each task requires 3 processors on the same node, and the controller will grant an allocation of 4 nodes, one for each of the 4 tasks.
ただし、-cpus-per-task = 3オプションを使用することで、コントローラーは各タスクが同じノード上に3つのプロセッサーを必要とすることを認識し、コントローラーは4つのタスクのそれぞれに1つずつ、4つのノードの割り当てを許可します。
- --deadline=<OPT>
-
remove the job if no ending is possible before
this deadline (start > (deadline - time[-min])).
この期限までに終了できない場合は、ジョブを削除します(開始>(期限-時間[-min]))。
Default is no deadline.
デフォルトは期限なしです。
Valid time formats are:
有効な時刻形式は次のとおりです。
HH:MM[:SS] [AM|PM]
MMDD[YY] or MM/DD[/YY] or MM.DD[.YY]
MM/DD[/YY]-HH:MM[:SS]
YYYY-MM-DD[THH:MM[:SS]]] - --delay-boot=<minutes>
-
Do not reboot nodes in order to satisfied this job's feature specification if
the job has been eligible to run for less than this time period.
ジョブがこの期間よりも短い期間実行する資格がある場合は、このジョブの機能仕様を満たすためにノードを再起動しないでください。
If the job has waited for less than the specified period, it will use only nodes which already have the specified features.
ジョブの待機時間が指定した期間より短い場合、指定した機能がすでにあるノードのみが使用されます。
The argument is in units of minutes.
引数は分単位です。
A default value may be set by a system administrator using the delay_boot option of the SchedulerParameters configuration parameter in the slurm.conf file, otherwise the default value is zero (no delay).
システム管理者は、slurm.confファイルのSchedulerParameters構成パラメーターのdelay_bootオプションを使用してデフォルト値を設定できます。デフォルト値はゼロ(遅延なし)です。
- -d, --dependency=<dependency_list>
-
Defer the start of this job until the specified dependencies have been
satisfied completed.
指定した依存関係が満たされるまでこのジョブの開始を延期します。
<dependency_list> is of the form <type:job_id[:job_id][,type:job_id[:job_id]]> or <type:job_id[:job_id][?type:job_id[:job_id]]>.
次の形式です または 。
All dependencies must be satisfied if the "," separator is used.
「、」区切り文字を使用する場合は、すべての依存関係を満たしている必要があります。
Any dependency may be satisfied if the "?" separator is used.
「?」セパレータが使用されます。
Only one separator may be used.
セパレーターは1つだけ使用できます。
Many jobs can share the same dependency and these jobs may even belong to different users.
多くのジョブは同じ依存関係を共有でき、これらのジョブは異なるユーザーに属している場合さえあります。
The value may be changed after job submission using the scontrol command.
この値は、scontrolコマンドを使用してジョブをサブミットした後で変更される場合があります。
Dependencies on remote jobs are allowed in a federation.
連携では、リモートジョブへの依存が許可されます。
Once a job dependency fails due to the termination state of a preceding job, the dependent job will never be run, even if the preceding job is requeued and has a different termination state in a subsequent execution.
先行ジョブの終了状態が原因でジョブの依存関係が失敗すると、先行ジョブが再キューイングされ、後続の実行で異なる終了状態になったとしても、依存ジョブは実行されません。
-
- after:job_id[[+time][:jobid[+time]...]]
-
After the specified jobs start or are cancelled and 'time' in minutes from job
start or cancellation happens, this
job can begin execution.
指定したジョブが開始またはキャンセルされ、ジョブの開始またはキャンセルから分単位の「時間」が発生すると、このジョブは実行を開始できます。
If no 'time' is given then then there is no delay after start or cancellation.
「時間」が指定されていない場合、開始またはキャンセル後の遅延はありません。
- afterany:job_id[:jobid...]
-
This job can begin execution after the specified jobs have terminated.
このジョブは、指定されたジョブが終了した後で実行を開始できます。
- afterburstbuffer:job_id[:jobid...]
-
This job can begin execution after the specified jobs have terminated and
any associated burst buffer stage out operations have completed.
このジョブは、指定されたジョブが終了し、関連するバーストバッファーのステージアウト操作が完了した後で実行を開始できます。
- aftercorr:job_id[:jobid...]
-
A task of this job array can begin execution after the corresponding task ID
in the specified job has completed successfully (ran to completion with an
exit code of zero).
このジョブ配列のタスクは、指定されたジョブの対応するタスクIDが正常に完了した(実行が終了コード0で完了した)後に実行を開始できます。
- afternotok:job_id[:jobid...]
-
This job can begin execution after the specified jobs have terminated
in some failed state (non-zero exit code, node failure, timed out, etc).
このジョブは、指定されたジョブが何らかの失敗状態(ゼロ以外の終了コード、ノード障害、タイムアウトなど)で終了した後で実行を開始できます。
- afterok:job_id[:jobid...]
-
This job can begin execution after the specified jobs have successfully
executed (ran to completion with an exit code of zero).
このジョブは、指定されたジョブが正常に実行された(終了コード0で完了まで実行された)後に実行を開始できます。
- expand:job_id
-
Resources allocated to this job should be used to expand the specified job.
このジョブに割り当てられたリソースを使用して、指定されたジョブを展開する必要があります。
The job to expand must share the same QOS (Quality of Service) and partition.
拡張するジョブは、同じQOS(サービス品質)とパーティションを共有する必要があります。
Gang scheduling of resources in the partition is also not supported.
パーティション内のリソースのギャングスケジューリングもサポートされていません。
"expand" is not allowed for jobs that didn't originate on the same cluster as the submitted job.
「拡張」は、送信されたジョブと同じクラスターで発生していないジョブには許可されません。
- singleton
-
This job can begin execution after any previously launched jobs
sharing the same job name and user have terminated.
このジョブは、同じジョブ名とユーザーを共有する以前に起動されたジョブが終了した後で実行を開始できます。
In other words, only one job by that name and owned by that user can be running or suspended at any point in time.
つまり、その名前でそのユーザーが所有するジョブは、いつでも実行または一時停止できます。
In a federation, a singleton dependency must be fulfilled on all clusters unless DependencyParameters=disable_remote_singleton is used in slurm.conf.
フェデレーションでは、slurm.confでDependencyParameters = disable_remote_singletonが使用されていない限り、すべてのクラスターでシングルトン依存関係が満たされる必要があります。
-
- -D, --chdir=<directory>
-
Set the working directory of the batch script to directory before
it is executed.
実行する前に、バッチスクリプトの作業ディレクトリをdirectoryに設定します。
The path can be specified as full path or relative path to the directory where the command is executed.
パスは、コマンドが実行されるディレクトリへの絶対パスまたは相対パスとして指定できます。
- -e, --error=<filename pattern>
-
Instruct Slurm to connect the batch script's standard error directly to the
file name specified in the "filename pattern".
バッチスクリプトの標準エラーを「ファイル名パターン」で指定されたファイル名に直接接続するようにSlurmに指示します。
By default both standard output and standard error are directed to the same file.
デフォルトでは、標準出力と標準エラーの両方が同じファイルに送られます。
For job arrays, the default file name is "slurm-%A_%a.out", "%A" is replaced by the job ID and "%a" with the array index.
ジョブ配列の場合、デフォルトのファイル名は「slurm-%A_%a.out」で、「%A」はジョブIDで置き換えられ、「%a」は配列インデックスで置き換えられます。
For other jobs, the default file name is "slurm-%j.out", where the "%j" is replaced by the job ID.
その他のジョブの場合、デフォルトのファイル名は「slurm-%j.out」で、「%j」はジョブIDに置き換えられます。
See the filename pattern section below for filename specification options.
ファイル名の指定オプションについては、以下のファイル名パターンのセクションを参照してください。
- --exclusive[=user|mcs]
-
The job allocation can not share nodes with other running jobs (or just other
users with the "=user" option or with the "=mcs" option).
ジョブの割り当てでは、実行中の他のジョブ(または「= user」オプションまたは「= mcs」オプションを使用する他のユーザーのみ)とノードを共有できません。
The default shared/exclusive behavior depends on system configuration and the partition's OverSubscribe option takes precedence over the job's option.
デフォルトの共有/排他動作はシステム構成に依存し、パーティションのOverSubscribeオプションはジョブのオプションよりも優先されます。
- --export=<[ALL,]environment variables|ALL|NONE>
-
Identify which environment variables from the submission environment are
propagated to the launched application.
送信環境のどの環境変数が、起動されたアプリケーションに伝搬されるかを識別します。
Note that SLURM_* variables are always propagated.
SLURM_ *変数は常に伝達されることに注意してください。
-
- --export=ALL
-
Default mode if --export is not specified.
--exportが指定されていない場合のデフォルトモード。
All of the users environment will be loaded (either from callers environment or clean environment if --get-user-env is specified).
すべてのユーザー環境が読み込まれます(呼び出し元環境または--get-user-envが指定されている場合はクリーン環境)。
- --export=NONE
-
Only SLURM_* variables from the user environment will be defined.
ユーザー環境からのSLURM_ *変数のみが定義されます。
User must use absolute path to the binary to be executed that will define the environment.
ユーザーは、環境を定義する実行されるバイナリへの絶対パスを使用する必要があります。
User can not specify explicit environment variables with NONE.
ユーザーはNONEで明示的な環境変数を指定できません。
--get-user-env will be ignored.
--get-user-envは無視されます。
This option is particularly important for jobs that are submitted on one cluster and execute on a different cluster (e.g. with different paths).
このオプションは、1つのクラスターで送信され、別のクラスターで実行される(たとえば、異なるパスを使用する)ジョブにとって特に重要です。
To avoid steps inheriting environment export settings (e.g. NONE) from sbatch command, the environment variable SLURM_EXPORT_ENV should be set to ALL in the job script.
sbatchコマンドから環境エクスポート設定(NONEなど)を継承するステップを回避するには、ジョブスクリプトで環境変数SLURM_EXPORT_ENVをALLに設定する必要があります。
- --export=<[ALL,]environment variables>
-
Exports all SLURM_* environment variables along with explicitly defined variables.
明示的に定義された変数とともにすべてのSLURM_ *環境変数をエクスポートします。
Multiple environment variable names should be comma separated.
複数の環境変数名はコンマで区切る必要があります。
Environment variable names may be specified to propagate the current value (e.g. "--export=EDITOR") or specific values may be exported (e.g. "--export=EDITOR=/bin/emacs").
現在の値を反映するように環境変数名を指定することも(たとえば、「-export = EDITOR」)、特定の値をエクスポートすることもできます(たとえば、「-export = EDITOR = / bin / emacs」)。
If ALL is specified, then all user environment variables will be loaded and will take precedence over any explicitly given environment variables.
ALLを指定すると、すべてのユーザー環境変数がロードされ、明示的に指定された環境変数よりも優先されます。
-
- Example: --export=EDITOR,ARG1=test
-
In this example, the propagated environment will only contain the variable EDITOR from the user's environment, SLURM_* environment variables, and ARG1=test.
この例では、伝搬された環境には、ユーザーの環境からの変数EDITOR、SLURM_ *環境変数、およびARG1 = testのみが含まれます。
- Example: --export=ALL,EDITOR=/bin/emacs
-
There are two possible outcomes for this example.
この例には、2つの結果が考えられます。
If the caller has the EDITOR environment variable defined, then the job's environment will inherit the variable from the caller's environment.
呼び出し元にEDITOR環境変数が定義されている場合、ジョブの環境は呼び出し元の環境から変数を継承します。
If the caller doesn't have an environment variable defined for EDITOR, then the job's environment will use the value given by --export.
呼び出し元にEDITORに定義された環境変数がない場合、ジョブの環境は--exportで指定された値を使用します。
-
-
- --export-file=<filename | fd>
-
If a number between 3 and OPEN_MAX is specified as the argument to
this option, a readable file descriptor will be assumed (STDIN and
STDOUT are not supported as valid arguments).
このオプションの引数として3からOPEN_MAXまでの数値が指定されている場合、読み取り可能なファイル記述子が想定されます(STDINおよびSTDOUTは有効な引数としてサポートされていません)。
Otherwise a filename is assumed.
それ以外の場合は、ファイル名が想定されます。
Export environment variables defined in <filename> or read from <fd> to the job's execution environment.
で定義されたエクスポート環境変数 またはから読む ジョブの実行環境に。
The content is one or more environment variable definitions of the form NAME=value, each separated by a null character.
内容は、NAME =値の形式の1つ以上の環境変数定義であり、それぞれがヌル文字で区切られています。
This allows the use of special characters in environment definitions.
これにより、環境定義で特殊文字を使用できます。
- -F, --nodefile=<node file>
-
Much like --nodelist, but the list is contained in a file of name
node file.
--nodelistによく似ていますが、リストはnode fileという名前のファイルに含まれています。
The node names of the list may also span multiple lines in the file. Duplicate node names in the file will be ignored.
リストのノード名は、ファイル内の複数の行にまたがることがあります。ファイル内の重複するノード名は無視されます。
The order of the node names in the list is not important; the node names will be sorted by Slurm.
リスト内のノード名の順序は重要ではありません。ノード名はSlurmによってソートされます。
- --get-user-env[=timeout][mode]
-
This option will tell sbatch to retrieve the
login environment variables for the user specified in the --uid option.
このオプションは、--uidオプションで指定されたユーザーのログイン環境変数を取得するようにsbatchに指示します。
The environment variables are retrieved by running something of this sort "su - <username> -c /usr/bin/env" and parsing the output.
環境変数は、この種の "su- -c / usr / bin / env "および出力の解析。
Be aware that any environment variables already set in sbatch's environment will take precedence over any environment variables in the user's login environment.
sbatchの環境ですでに設定されている環境変数は、ユーザーのログイン環境の環境変数よりも優先されることに注意してください。
Clear any environment variables before calling sbatch that you do not want propagated to the spawned program.
生成されたプログラムに伝播したくないsbatchを呼び出す前に、環境変数をクリアします。
The optional timeout value is in seconds. Default value is 8 seconds.
オプションのタイムアウト値は秒単位です。デフォルト値は8秒です。
The optional mode value control the "su" options.
オプションのモード値は、「su」オプションを制御します。
With a mode value of "S", "su" is executed without the "-" option.
モード値が「S」の場合、「-」オプションなしで「su」が実行されます。
With a mode value of "L", "su" is executed with the "-" option, replicating the login environment.
モード値が「L」の場合、「-」オプションを指定して「su」が実行され、ログイン環境が複製されます。
If mode not specified, the mode established at Slurm build time is used.
モードが指定されていない場合、Slurmビルド時に確立されたモードが使用されます。
Example of use include "--get-user-env", "--get-user-env=10" "--get-user-env=10L", and "--get-user-env=S".
使用例には、「-get-user-env」、「-get-user-env = 10 "」、「-get-user-env = 10L」、「-get-user-env = S」などがあります。
- --gid=<group>
-
If sbatch is run as root, and the --gid option is used,
submit the job with group's group access permissions.
sbatchがrootとして実行され、-gidオプションが使用されている場合は、グループのグループアクセス許可を使用してジョブを送信します。
group may be the group name or the numerical group ID.
groupは、グループ名または数値のグループIDです。
- -G, --gpus=[<type>:]<number>
-
Specify the total number of GPUs required for the job.
ジョブに必要なGPUの総数を指定します。
An optional GPU type specification can be supplied.
オプションのGPUタイプ仕様を提供できます。
For example "--gpus=volta:3".
たとえば、「-gpus = volta:3」です。
Multiple options can be requested in a comma separated list, for example: "--gpus=volta:3,kepler:1".
カンマ区切りのリストで複数のオプションをリクエストできます。例: "--gpus = volta:3、kepler:1"。
See also the --gpus-per-node, --gpus-per-socket and --gpus-per-task options.
--gpus-per-node、-gpus-per-socket、および--gpus-per-taskオプションも参照してください。
- --gpu-bind=<type>
-
Bind tasks to specific GPUs.
タスクを特定のGPUにバインドします。
By default every spawned task can access every GPU allocated to the job.
デフォルトでは、生成されたすべてのタスクは、ジョブに割り当てられたすべてのGPUにアクセスできます。
Supported type options:
サポートされているタイプオプション:
-
- closest
-
Bind each task to the GPU(s) which are closest.
各タスクを最も近いGPUにバインドします。
In a NUMA environment, each task may be bound to more than one GPU (i.e. all GPUs in that NUMA environment).
NUMA環境では、各タスクが複数のGPU(つまり、そのNUMA環境内のすべてのGPU)にバインドされる場合があります。
- map_gpu:<list>
-
Bind by setting GPU masks on tasks (or ranks) as specified where <list> is
<gpu_id_for_task_0>,<gpu_id_for_task_1>,...
ここで指定されているように、タスク(またはランク)にGPUマスクを設定してバインドします。 です 、、...
GPU IDs are interpreted as decimal values unless they are preceded with '0x' in which case they interpreted as hexadecimal values.
GPU IDは、「0x」が前に付いていない限り10進値として解釈されます。その場合、16進値として解釈されます。
If the number of tasks (or ranks) exceeds the number of elements in this list, elements in the list will be reused as needed starting from the beginning of the list.
タスク(またはランク)の数がこのリストの要素の数を超える場合、リストの要素は必要に応じてリストの先頭から再利用されます。
To simplify support for large task counts, the lists may follow a map with an asterisk and repetition count.
大量のタスク数のサポートを簡略化するために、リストはアスタリスクと繰り返し数の付いたマップに従う場合があります。
For example "map_gpu:0*4,1*4".
たとえば、「map_gpu:0 * 4,1 * 4」です。
If the task/cgroup plugin is used and ConstrainDevices is set in cgroup.conf, then the GPU IDs are zero-based indexes relative to the GPUs allocated to the job (e.g. the first GPU is 0, even if the global ID is 3).
task / cgroupプラグインが使用され、ConstrainDevicesがcgroup.confで設定されている場合、GPU IDは、ジョブに割り当てられたGPUに関連するゼロベースのインデックスです(たとえば、グローバルIDが3であっても、最初のGPUは0です)。 。
Otherwise, the GPU IDs are global IDs, and all GPUs on each node in the job should be allocated for predictable binding results.
それ以外の場合、GPU IDはグローバルIDであり、ジョブ内の各ノードのすべてのGPUを予測可能なバインディング結果に割り当てる必要があります。
- mask_gpu:<list>
-
Bind by setting GPU masks on tasks (or ranks) as specified where <list> is
<gpu_mask_for_task_0>,<gpu_mask_for_task_1>,...
ここで指定されているように、タスク(またはランク)にGPUマスクを設定してバインドします。 です 、、...
The mapping is specified for a node and identical mapping is applied to the tasks on every node (i.e. the lowest task ID on each node is mapped to the first mask specified in the list , etc.).
マッピングはノードに対して指定され、同一のマッピングがすべてのノードのタスクに適用されます(つまり、各ノードの最小のタスクIDがリストで指定された最初のマスクにマッピングされます)。
GPU masks are always interpreted as hexadecimal values but can be preceded with an optional '0x'.
GPUマスクは常に16進値として解釈されますが、オプションの「0x」を前に付けることができます。
To simplify support for large task counts, the lists may follow a map with an asterisk and repetition count.
大量のタスク数のサポートを簡略化するために、リストはアスタリスクと繰り返し数の付いたマップに従う場合があります。
For example "mask_gpu:0x0f*4,0xf0*4".
たとえば、「mask_gpu:0x0f * 4,0xf0 * 4」です。
If the task/cgroup plugin is used and ConstrainDevices is set in cgroup.conf, then the GPU IDs are zero-based indexes relative to the GPUs allocated to the job (e.g. the first GPU is 0, even if the global ID is 3).
task / cgroupプラグインが使用され、ConstrainDevicesがcgroup.confで設定されている場合、GPU IDは、ジョブに割り当てられたGPUに関連するゼロベースのインデックスです(たとえば、グローバルIDが3であっても、最初のGPUは0です)。 。
Otherwise, the GPU IDs are global IDs, and all GPUs on each node in the job should be allocated for predictable binding results.
それ以外の場合、GPU IDはグローバルIDであり、ジョブ内の各ノードのすべてのGPUを予測可能なバインディング結果に割り当てる必要があります。
-
- --gpu-freq=[<type]=value>[,<type=value>][,verbose]
-
Request that GPUs allocated to the job are configured with specific frequency
values.
ジョブに割り当てられたGPUが特定の頻度値で構成されるように要求します。
This option can be used to independently configure the GPU and its memory frequencies.
このオプションは、GPUとそのメモリ周波数を個別に構成するために使用できます。
After the job is completed, the frequencies of all affected GPUs will be reset to the highest possible values.
ジョブが完了すると、影響を受けるすべてのGPUの周波数が可能な最高値にリセットされます。
In some cases, system power caps may override the requested values.
場合によっては、システムの消費電力上限が要求された値を上書きすることがあります。
The field type can be "memory".
フィールドタイプは「メモリ」にすることができます。
If type is not specified, the GPU frequency is implied.
タイプが指定されていない場合、GPU周波数が暗示されます。
The value field can either be "low", "medium", "high", "highm1" or a numeric value in megahertz (MHz).
値フィールドには、「low」、「medium」、「high」、「highm1」、またはメガヘルツ(MHz)単位の数値を指定できます。
If the specified numeric value is not possible, a value as close as possible will be used.
指定された数値が不可能な場合は、できるだけ近い値が使用されます。
See below for definition of the values.
値の定義については、以下を参照してください。
The verbose option causes current GPU frequency information to be logged.
詳細オプションを使用すると、現在のGPU周波数情報がログに記録されます。
Examples of use include "--gpu-freq=medium,memory=high" and "--gpu-freq=450".
使用例には、「-gpu-freq = medium、memory = high」や「--gpu-freq = 450」などがあります。
Supported value definitions:
サポートされている値の定義:
- --gpus-per-node=[<type>:]<number>
-
Specify the number of GPUs required for the job on each node included in
the job's resource allocation.
ジョブのリソース割り当てに含まれる各ノードのジョブに必要なGPUの数を指定します。
An optional GPU type specification can be supplied.
オプションのGPUタイプ仕様を提供できます。
For example "--gpus-per-node=volta:3".
たとえば、「-gpus-per-node = volta:3」です。
Multiple options can be requested in a comma separated list, for example: "--gpus-per-node=volta:3,kepler:1".
カンマ区切りのリストで複数のオプションをリクエストできます。例: "--gpus-per-node = volta:3、kepler:1"。
See also the --gpus, --gpus-per-socket and --gpus-per-task options.
--gpus、-gpus-per-socket、および--gpus-per-taskオプションも参照してください。
- --gpus-per-socket=[<type>:]<number>
-
Specify the number of GPUs required for the job on each socket included in
the job's resource allocation.
ジョブのリソース割り当てに含まれる各ソケットのジョブに必要なGPUの数を指定します。
An optional GPU type specification can be supplied.
オプションのGPUタイプ仕様を提供できます。
For example "--gpus-per-socket=volta:3".
たとえば、「-gpus-per-socket = volta:3」です。
Multiple options can be requested in a comma separated list, for example: "--gpus-per-socket=volta:3,kepler:1".
カンマ区切りのリストで複数のオプションをリクエストできます。例: "--gpus-per-socket = volta:3、kepler:1"。
Requires job to specify a sockets per node count ( --sockets-per-node).
ノードごとのソケット数を指定するジョブが必要です(--sockets-per-node)。
See also the --gpus, --gpus-per-node and --gpus-per-task options.
--gpus、-gpus-per-node、および--gpus-per-taskオプションも参照してください。
- --gpus-per-task=[<type>:]<number>
-
Specify the number of GPUs required for the job on each task to be spawned
in the job's resource allocation.
ジョブのリソース割り当てで生成される各タスクのジョブに必要なGPUの数を指定します。
An optional GPU type specification can be supplied.
オプションのGPUタイプ仕様を提供できます。
For example "--gpus-per-task=volta:1".
たとえば、「-gpus-per-task = volta:1」です。
Multiple options can be requested in a comma separated list, for example:
カンマ区切りのリストで複数のオプションをリクエストできます。次に例を示します。
"--gpus-per-task=volta:3,kepler:1".
"--gpus-per-task = volta:3、kepler:1"。
See also the --gpus, --gpus-per-socket and --gpus-per-node options.
--gpus、-gpus-per-socket、および--gpus-per-nodeオプションも参照してください。
This option requires an explicit task count, e.g. -n, --ntasks or "--gpus=X --gpus-per-task=Y" rather than an ambiguous range of nodes with -N, --nodes.
このオプションでは、-N、-nodesでノードのあいまいな範囲を指定するのではなく、明示的なタスクカウント(-n、-ntasks、または "--gpus = X --gpus-per-task = Y"など)が必要です。
NOTE: This option will not have any impact on GPU binding, specifically it won't limit the number of devices set for CUDA_VISIBLE_DEVICES.
注:このオプションはGPUバインディングに影響を与えません。具体的には、CUDA_VISIBLE_DEVICESに設定されたデバイスの数を制限しません。
- --gres=<list>
-
Specifies a comma delimited list of generic consumable resources.
一般的な消耗品リソースのコンマ区切りリストを指定します。
The format of each entry on the list is "name[[:type]:count]".
リストの各エントリの形式は、「name [[:type]:count]」です。
The name is that of the consumable resource.
名前は、消費可能なリソースの名前です。
The count is the number of those resources with a default value of 1.
カウントは、デフォルト値が1のリソースの数です。
The count can have a suffix of "k" or "K" (multiple of 1024), "m" or "M" (multiple of 1024 x 1024), "g" or "G" (multiple of 1024 x 1024 x 1024), "t" or "T" (multiple of 1024 x 1024 x 1024 x 1024), "p" or "P" (multiple of 1024 x 1024 x 1024 x 1024 x 1024).
カウントには、「k」または「K」(1024の倍数)、「m」または「M」(1024 x 1024の倍数)、「g」または「G」(1024 x 1024 x 1024の倍数)のサフィックスを付けることができます。 )、「t」または「T」(1024 x 1024 x 1024 x 1024の倍数)、「p」または「P」(1024 x 1024 x 1024 x 1024 x 1024の倍数)。
The specified resources will be allocated to the job on each node.
指定したリソースは、各ノードのジョブに割り当てられます。
The available generic consumable resources is configurable by the system administrator.
利用可能な汎用消耗品リソースは、システム管理者が構成できます。
A list of available generic consumable resources will be printed and the command will exit if the option argument is "help".
利用可能な一般的な消耗品リソースのリストが出力され、オプションの引数が「help」の場合、コマンドは終了します。
Examples of use include "--gres=gpu:2,mic:1", "--gres=gpu:kepler:2", and "--gres=help".
使用例には、「-gres = gpu:2、mic:1」、「-gres = gpu:kepler:2」、「-gres = help」などがあります。
- --gres-flags=<type>
-
Specify generic resource task binding options.
汎用リソースタスクバインディングオプションを指定します。
-
- disable-binding
-
Disable filtering of CPUs with respect to generic resource locality.
汎用リソースの局所性に関するCPUのフィルタリングを無効にします。
This option is currently required to use more CPUs than are bound to a GRES (i.e. if a GPU is bound to the CPUs on one socket, but resources on more than one socket are required to run the job).
このオプションは現在、GRESにバインドされているよりも多くのCPUを使用するために必要です(つまり、GPUが1つのソケット上のCPUにバインドされているが、ジョブを実行するために複数のソケット上のリソースが必要な場合)。
This option may permit a job to be allocated resources sooner than otherwise possible, but may result in lower job performance.
このオプションを使用すると、他の方法よりも早くジョブにリソースを割り当てることができますが、ジョブのパフォーマンスが低下する可能性があります。
- enforce-binding
-
The only CPUs available to the job will be those bound to the selected
GRES (i.e. the CPUs identified in the gres.conf file will be strictly
enforced). This option may result in delayed initiation of a job.
ジョブで使用できるCPUは、選択したGRESにバインドされているものだけです(つまり、gres.confファイルで識別されたCPUが厳密に適用されます)。このオプションにより、ジョブの開始が遅れる場合があります。
For example a job requiring two GPUs and one CPU will be delayed until both GPUs on a single socket are available rather than using GPUs bound to separate sockets, however the application performance may be improved due to improved communication speed.
たとえば、2つのGPUと1つのCPUを必要とするジョブは、個別のソケットにバインドされたGPUを使用するのではなく、1つのソケットで両方のGPUが使用可能になるまで遅延しますが、通信速度が向上するため、アプリケーションのパフォーマンスは向上します。
Requires the node to be configured with more than one socket and resource filtering will be performed on a per-socket basis.
ノードが複数のソケットで構成されている必要があり、リソースフィルタリングはソケットごとに実行されます。
-
- -H, --hold
-
Specify the job is to be submitted in a held state (priority of zero).
ジョブを保留状態(優先度0)でサブミットすることを指定します。
A held job can now be released using scontrol to reset its priority (e.g. "scontrol release <job_id>").
保留中のジョブは、scontrolを使用して解放して優先順位をリセットできるようになりました(例: "scontrol release" ")。
- -h, --help
-
Display help information and exit.
ヘルプ情報を表示して終了します。
- --hint=<type>
-
Bind tasks according to application hints.
アプリケーションのヒントに従ってタスクをバインドします。
-
- compute_bound
-
Select settings for compute bound applications:
use all cores in each socket, one thread per core.
コンピュートバインドアプリケーションの設定を選択します。各ソケットですべてのコアを使用し、コアごとに1つのスレッドを使用します。
- memory_bound
-
Select settings for memory bound applications:
use only one core in each socket, one thread per core.
メモリにバインドされたアプリケーションの設定を選択します。各ソケットでコアを1つだけ使用し、コアごとに1つのスレッドを使用します。
- [no]multithread
-
[don't] use extra threads with in-core multi-threading
which can benefit communication intensive applications.
通信集約型アプリケーションにメリットをもたらす可能性のある、コア内マルチスレッドで追加のスレッドを使用しないでください。
Only supported with the task/affinity plugin.
タスク/アフィニティプラグインでのみサポートされます。
- help
-
show this help message
このヘルプメッセージを表示
-
- --ignore-pbs
-
Ignore all "#PBS" and "#BSUB" options specified in the batch script.
バッチスクリプトで指定されたすべての「#PBS」および「#BSUB」オプションを無視します。
- -i, --input=<filename pattern>
-
Instruct Slurm to connect the batch script's standard input
directly to the file name specified in the "filename pattern".
バッチスクリプトの標準入力を「ファイル名パターン」で指定されたファイル名に直接接続するようにSlurmに指示します。
By default, "/dev/null" is open on the batch script's standard input and both standard output and standard error are directed to a file of the name "slurm-%j.out", where the "%j" is replaced with the job allocation number, as described below in the filename pattern section.
デフォルトでは、バッチスクリプトの標準入力で「/ dev / null」が開かれ、標準出力と標準エラーの両方が「slurm-%j.out」という名前のファイルに送信されます。ここで、「%j」は以下のファイル名パターンのセクションで説明するジョブ割り当て番号。
- -J, --job-name=<jobname>
-
Specify a name for the job allocation.
ジョブ割り当ての名前を指定します。
The specified name will appear along with the job id number when querying running jobs on the system.
指定した名前は、システムで実行中のジョブを照会するときに、ジョブID番号とともに表示されます。
The default is the name of the batch script, or just "sbatch" if the script is read on sbatch's standard input.
デフォルトはバッチスクリプトの名前、またはスクリプトがsbatchの標準入力で読み取られる場合は単に「sbatch」です。
- -k, --no-kill [=off]
-
Do not automatically terminate a job if one of the nodes it has been
allocated fails.
割り当てられたノードの1つが失敗した場合、ジョブを自動的に終了しません。
The user will assume the responsibilities for fault-tolerance should a node fail.
ユーザーは、ノードに障害が発生した場合のフォールトトレランスの責任を負います。
When there is a node failure, any active job steps (usually MPI jobs) on that node will almost certainly suffer a fatal error, but with --no-kill, the job allocation will not be revoked so the user may launch new job steps on the remaining nodes in their allocation.
ノードに障害が発生すると、そのノード上のアクティブなジョブステップ(通常はMPIジョブ)でほぼ確実に致命的なエラーが発生しますが、-no-killを使用すると、ジョブの割り当てが取り消されないため、ユーザーは新しいジョブステップを起動できます残りのノードの割り当て。
Specify an optional argument of "off" disable the effect of the SBATCH_NO_KILL environment variable.
オプションの引数「off」を指定すると、SBATCH_NO_KILL環境変数の効果が無効になります。
By default Slurm terminates the entire job allocation if any node fails in its range of allocated nodes.
デフォルトでは、割り当てられたノードの範囲でいずれかのノードに障害が発生した場合、Slurmはジョブ割り当て全体を終了します。
- --kill-on-invalid-dep=<yes|no>
-
If a job has an invalid dependency and it can never run this parameter tells
Slurm to terminate it or not.
ジョブに無効な依存関係があり、ジョブを実行できない場合、このパラメーターはSlurmにジョブを終了するように指示します。
A terminated job state will be JOB_CANCELLED.
終了したジョブの状態はJOB_CANCELLEDになります。
If this option is not specified the system wide behavior applies.
このオプションが指定されていない場合、システム全体の動作が適用されます。
By default the job stays pending with reason DependencyNeverSatisfied or if the kill_invalid_depend is specified in slurm.conf the job is terminated.
デフォルトでは、ジョブはDependencyNeverSatisfiedの理由で保留状態を維持するか、slurm.confでkill_invalid_dependが指定されている場合、ジョブは終了します。
- -L, --licenses=<license>
-
Specification of licenses (or other resources available on all
nodes of the cluster) which must be allocated to this job.
このジョブに割り当てる必要があるライセンス(またはクラスターのすべてのノードで使用可能なその他のリソース)の指定。
License names can be followed by a colon and count (the default count is one).
ライセンス名の後にコロンとカウントを続けることができます(デフォルトのカウントは1です)。
Multiple license names should be comma separated (e.g. "--licenses=foo:4,bar").
複数のライセンス名はカンマで区切る必要があります(例: "--licenses = foo:4、bar")。
To submit jobs using remote licenses, those served by the slurmdbd, specify the name of the server providing the licenses.
slurmdbdによって提供されるリモートライセンスを使用してジョブを送信するには、ライセンスを提供するサーバーの名前を指定します。
For example "--license=nastran@slurmdb:12".
たとえば、「-license = nastran @ slurmdb:12」です。
- -M, --clusters=<string>
-
Clusters to issue commands to. Multiple cluster names may be comma separated.
コマンドを発行するクラスター。複数のクラスター名はコンマで区切ることができます。
The job will be submitted to the one cluster providing the earliest expecte job initiation time.
ジョブは、最も早い予想ジョブ開始時間を提供する1つのクラスターに送信されます。
The default value is the current cluster.
デフォルト値は現在のクラスターです。
A value of 'all' will query to run on all clusters.
「all」の値は、すべてのクラスターで実行するように照会します。
Note the --export option to control environment variables exported between clusters.
クラスター間でエクスポートされる環境変数を制御する--exportオプションに注意してください。
Note that the SlurmDBD must be up for this option to work properly.
このオプションが正しく機能するには、SlurmDBDが稼働している必要があります。
- -m, --distribution=
-
arbitrary|<block|cyclic|plane=<options>[:block|cyclic|fcyclic]>
Specify alternate distribution methods for remote processes.
リモートプロセスの代替配布方法を指定します。
In sbatch, this only sets environment variables that will be used by subsequent srun requests.
sbatchでは、これは後続のsrunリクエストで使用される環境変数のみを設定します。
This option controls the assignment of tasks to the nodes on which resources have been allocated, and the distribution of those resources to tasks for binding (task affinity).
このオプションは、リソースが割り当てられているノードへのタスクの割り当て、およびバインドのためのタスクへのそれらのリソースの配分(タスクアフィニティ)を制御します。
The first distribution method (before the ":") controls the distribution of resources across nodes.
最初の分散方法(「:」の前)は、ノード間のリソースの分散を制御します。
The optional second distribution method (after the ":") controls the distribution of resources across sockets within a node.
オプションの2番目の分散方法(「:」の後)は、ノード内のソケット間でのリソースの分散を制御します。
Note that with select/cons_res, the number of cpus allocated on each socket and node may be different.
select / cons_resでは、各ソケットとノードに割り当てられるCPUの数が異なる場合があることに注意してください。
Refer to the mc_support document for more information on resource allocation, assignment of tasks to nodes, and binding of tasks to CPUs.
リソースの割り当て、ノードへのタスクの割り当て、CPUへのタスクのバインドの詳細については、mc_supportドキュメントを参照してください。
-
First distribution method:
最初の配布方法:
- block
-
The block distribution method will distribute tasks to a node such
that consecutive tasks share a node.
ブロック分散方式は、連続するタスクがノードを共有するように、タスクをノードに分散します。
For example, consider an allocation of three nodes each with two cpus.
たとえば、それぞれ2つのCPUを持つ3つのノードの割り当てを考えてみます。
A four-task block distribution request will distribute those tasks to the nodes with tasks one and two on the first node, task three on the second node, and task four on the third node.
4タスクブロック配布リクエストは、これらのタスクをノードに配布します。最初のノードではタスク1と2、2番目のノードではタスク3、3番目のノードではタスク4です。
Block distribution is the default behavior if the number of tasks exceeds the number of allocated nodes.
タスクの数が割り当てられたノードの数を超える場合、ブロック分散がデフォルトの動作です。
- cyclic
-
The cyclic distribution method will distribute tasks to a node such
that consecutive tasks are distributed over consecutive nodes (in a
round-robin fashion).
循環分散方式では、連続したタスクが連続したノードに(ラウンドロビン方式で)分散されるように、タスクがノードに分散されます。
For example, consider an allocation of three nodes each with two cpus.
たとえば、それぞれ2つのCPUを持つ3つのノードの割り当てを考えてみます。
A four-task cyclic distribution request will distribute those tasks to the nodes with tasks one and four on the first node, task two on the second node, and task three on the third node.
4タスクの周期的配布リクエストでは、これらのタスクをノードに配布します。最初のノードではタスク1と4、2番目のノードではタスク2、3番目のノードではタスク3です。
Note that when SelectType is select/cons_res, the same number of CPUs may not be allocated on each node.
SelectTypeがselect / cons_resの場合、各ノードに同じ数のCPUが割り当てられない場合があることに注意してください。
Task distribution will be round-robin among all the nodes with CPUs yet to be assigned to tasks.
タスクの分散は、CPUがまだタスクに割り当てられていないすべてのノード間でラウンドロビンになります。
Cyclic distribution is the default behavior if the number of tasks is no larger than the number of allocated nodes.
タスクの数が割り当てられたノードの数以下の場合、循環分散がデフォルトの動作です。
- plane
-
The tasks are distributed in blocks of a specified size.
タスクは、指定されたサイズのブロックに分散されます。
The options include a number representing the size of the task block.
オプションには、タスクブロックのサイズを表す数値が含まれます。
This is followed by an optional specification of the task distribution scheme within a block of tasks and between the blocks of tasks.
これに続いて、タスクのブロック内およびタスクのブロック間のタスク分散スキームのオプションの仕様が続きます。
The number of tasks distributed to each node is the same as for cyclic distribution, but the taskids assigned to each node depend on the plane size.
各ノードに配布されるタスクの数は循環配布と同じですが、各ノードに割り当てられるタスクIDは平面サイズによって異なります。
For more details (including examples and diagrams), please see
the mc_support document
and
https://slurm.schedmd.com/dist_plane.html
詳細(例と図を含む)については、mc_supportドキュメントおよびhttps://slurm.schedmd.com/dist_plane.htmlを参照してください
- arbitrary
-
The arbitrary method of distribution will allocate processes in-order
as listed in file designated by the environment variable
SLURM_HOSTFILE.
任意の分散方法では、環境変数SLURM_HOSTFILEで指定されたファイルにリストされている順序でプロセスが割り当てられます。
If this variable is listed it will override any other method specified.
この変数がリストされている場合、指定された他のメソッドをオーバーライドします。
If not set the method will default to block.
設定しない場合、メソッドはデフォルトでブロックします。
Inside the hostfile must contain at minimum the number of hosts requested and be one per line or comma separated.
hostfile内には、少なくとも要求されたホストの数が含まれている必要があり、1行ごとに1つまたはコンマで区切られている必要があります。
If specifying a task count (-n, --ntasks=<number>), your tasks will be laid out on the nodes in the order of the file.
タスク数を指定する場合(-n、-ntasks =)、タスクはファイルの順序でノードに配置されます。
NOTE: The arbitrary distribution option on a job allocation only controls the nodes to be allocated to the job and not the allocation of CPUs on those nodes.
注記:ジョブ割り当ての任意分散オプションは、ジョブに割り当てられるノードのみを制御し、それらのノードのCPUの割り当ては制御しません。
This option is meant primarily to control a job step's task layout in an existing job allocation for the srun command.
このオプションは主に、srunコマンドの既存のジョブ割り当てでジョブステップのタスクレイアウトを制御するためのものです。
- Second distribution method:
2番目の配布方法:
- block
-
The block distribution method will distribute tasks to sockets such
that consecutive tasks share a socket.
ブロック分散方式は、連続するタスクがソケットを共有するように、タスクをソケットに分散します。
- cyclic
-
The cyclic distribution method will distribute tasks to sockets such
that consecutive tasks are distributed over consecutive sockets (in a
round-robin fashion).
循環分散方式では、連続したタスクが連続したソケットに(ラウンドロビン方式で)分散されるように、タスクがソケットに分散されます。
Tasks requiring more than one CPU will have all of those CPUs allocated on a single socket if possible.
複数のCPUを必要とするタスクでは、可能であれば、それらすべてのCPUが単一のソケットに割り当てられます。
- fcyclic
-
The fcyclic distribution method will distribute tasks to sockets such
that consecutive tasks are distributed over consecutive sockets (in a
round-robin fashion).
fcyclic分散方式では、連続したタスクが連続したソケットに(ラウンドロビン方式で)分散されるように、タスクをソケットに分散します。
Tasks requiring more than one CPU will have each CPUs allocated in a cyclic fashion across sockets.
複数のCPUを必要とするタスクでは、各CPUがソケット全体に循環的に割り当てられます。
-
- --mail-type=<type>
-
Notify user by email when certain event types occur.
特定の種類のイベントが発生したときに電子メールでユーザーに通知します。
Valid type values are NONE, BEGIN, END, FAIL, REQUEUE, ALL (equivalent to BEGIN, END, FAIL, REQUEUE, and STAGE_OUT), STAGE_OUT (burst buffer stage out and teardown completed), TIME_LIMIT, TIME_LIMIT_90 (reached 90 percent of time limit), TIME_LIMIT_80 (reached 80 percent of time limit), TIME_LIMIT_50 (reached 50 percent of time limit) and ARRAY_TASKS (send emails for each array task).
有効なタイプ値は、NONE、BEGIN、END、FAIL、REQUEUE、ALL(BEGIN、END、FAIL、REQUEUE、およびSTAGE_OUTと同等)、STAGE_OUT(バーストバッファーのステージアウトおよびティアダウンの完了)、TIME_LIMIT、TIME_LIMIT_90(90%の時間に達した)です。制限)、TIME_LIMIT_80(制限時間の80%に達した)、TIME_LIMIT_50(制限時間の50%に達した)、ARRAY_TASKS(アレイタスクごとにメールを送信する)。
Multiple type values may be specified in a comma separated list.
複数のタイプ値をコンマ区切りリストで指定できます。
The user to be notified is indicated with --mail-user.
通知されるユーザーは--mail-userで示されます。
Unless the ARRAY_TASKS option is specified, mail notifications on job BEGIN, END and FAIL apply to a job array as a whole rather than generating individual email messages for each task in the job array.
ARRAY_TASKSオプションが指定されていない限り、ジョブのBEGIN、END、およびFAILに関するメール通知は、ジョブ配列内のタスクごとに個別の電子メールメッセージを生成するのではなく、ジョブ配列全体に適用されます。
- --mail-user=<user>
-
User to receive email notification of state changes as defined by
--mail-type.
--mail-typeで定義された状態変更の電子メール通知を受信するユーザー。
The default value is the submitting user.
デフォルト値は送信ユーザーです。
- --mcs-label=<mcs>
-
Used only when the mcs/group plugin is enabled.
mcs / groupプラグインが有効な場合にのみ使用されます。
This parameter is a group among the groups of the user.
このパラメーターは、ユーザーのグループの中のグループです。
Default value is calculated by the Plugin mcs if it's enabled.
デフォルト値は、有効になっている場合、プラグインmcsによって計算されます。
- --mem=<size[units]>
-
Specify the real memory required per node.
ノードごとに必要な実メモリを指定します。
Default units are megabytes unless the SchedulerParameters configuration parameter includes the "default_gbytes" option for gigabytes.
SchedulerParameters構成パラメーターにギガバイトの「default_gbytes」オプションが含まれていない限り、デフォルトの単位はメガバイトです。
Different units can be specified using the suffix [K|M|G|T].
接尾辞[K | M | G | T]を使用して、さまざまな単位を指定できます。
Default value is DefMemPerNode and the maximum value is MaxMemPerNode.
デフォルト値はDefMemPerNodeで、最大値はMaxMemPerNodeです。
If configured, both parameters can be seen using the scontrol show config command.
構成されている場合、両方のパラメーターはscontrol show configコマンドを使用して表示できます。
This parameter would generally be used if whole nodes are allocated to jobs (SelectType=select/linear).
このパラメーターは通常、ノード全体がジョブに割り当てられている場合に使用されます(SelectType = select / linear)。
Also see --mem-per-cpu and --mem-per-gpu.
--mem-per-cpuおよび--mem-per-gpuも参照してください。
The --mem, --mem-per-cpu and --mem-per-gpu options are mutually exclusive.
--mem、-mem-per-cpu、および--mem-per-gpuオプションは相互に排他的です。
If --mem, --mem-per-cpu or --mem-per-gpu are specified as command line arguments, then they will take precedence over the environment.
--mem、-mem-per-cpu、または--mem-per-gpuがコマンドライン引数として指定されている場合、それらは環境よりも優先されます。
NOTE: A memory size specification of zero is treated as a special case and grants the job access to all of the memory on each node.
注:メモリサイズの指定がゼロの場合は特殊なケースとして扱われ、各ノードのすべてのメモリへのアクセスをジョブに許可します。
If the job is allocated multiple nodes in a heterogeneous cluster, the memory limit on each node will be that of the node in the allocation with the smallest memory size (same limit will apply to every node in the job's allocation).
ジョブに異種クラスターの複数のノードが割り当てられている場合、各ノードのメモリ制限は、メモリサイズが最小の割り当てのノードのメモリ制限になります(同じ制限がジョブの割り当てのすべてのノードに適用されます)。
NOTE: Enforcement of memory limits currently relies upon the task/cgroup plugin or enabling of accounting, which samples memory use on a periodic basis (data need not be stored, just collected).
注:現在、メモリ制限の実施は、タスク/ cgroupプラグインまたはアカウンティングの有効化に依存しています。これは、定期的にメモリ使用をサンプリングします(データを保存する必要はなく、収集するだけです)。
In both cases memory use is based upon the job's Resident Set Size (RSS).
どちらの場合も、メモリ使用量はジョブの常駐セットサイズ(RSS)に基づいています。
A task may exceed the memory limit until the next periodic accounting sample.
次の定期的なアカウンティングサンプルまで、タスクがメモリ制限を超える可能性があります。
- --mem-per-cpu=<size[units]>
-
Minimum memory required per allocated CPU.
割り当てられたCPUごとに必要な最小メモリ。
Default units are megabytes unless the SchedulerParameters configuration parameter includes the "default_gbytes" option for gigabytes.
SchedulerParameters構成パラメーターにギガバイトの「default_gbytes」オプションが含まれていない限り、デフォルトの単位はメガバイトです。
Default value is DefMemPerCPU and the maximum value is MaxMemPerCPU (see exception below).
デフォルト値はDefMemPerCPUで、最大値はMaxMemPerCPUです(以下の例外を参照)。
If configured, both parameters can be seen using the scontrol show config command.
構成されている場合、両方のパラメーターはscontrol show configコマンドを使用して表示できます。
Note that if the job's --mem-per-cpu value exceeds the configured MaxMemPerCPU, then the user's limit will be treated as a memory limit per task; --mem-per-cpu will be reduced to a value no larger than MaxMemPerCPU; --cpus-per-task will be set and the value of --cpus-per-task multiplied by the new --mem-per-cpu value will equal the original --mem-per-cpu value specified by the user.
ジョブの--mem-per-cpu値が構成済みのMaxMemPerCPUを超える場合、ユーザーの制限はタスクごとのメモリ制限として扱われることに注意してください。--mem-per-cpuは、MaxMemPerCPU以下の値に削減されます。--cpus-per-taskが設定され、-cpus-per-taskに新しい--mem-per-cpu値を掛けた値は、ユーザーが指定した元の--mem-per-cpu値と等しくなります。
This parameter would generally be used if individual processors are allocated to jobs (SelectType=select/cons_res).
このパラメーターは通常、個々のプロセッサーがジョブに割り当てられている場合に使用されます(SelectType = select / cons_res)。
If resources are allocated by the core, socket or whole nodes; the number of CPUs allocated to a job may be higher than the task count and the value of --mem-per-cpu should be adjusted accordingly.
リソースがコア、ソケット、またはノード全体によって割り当てられている場合。ジョブに割り当てられたCPUの数はタスク数よりも多くなる可能性があり、それに応じて--mem-per-cpuの値を調整する必要があります。
Also see --mem and --mem-per-gpu.
--memおよび--mem-per-gpuも参照してください。
The --mem, --mem-per-cpu and --mem-per-gpu options are mutually exclusive.
--mem、-mem-per-cpu、および--mem-per-gpuオプションは相互に排他的です。
NOTE:If the final amount of memory requested by job (eg.: when --mem-per-cpu use with --exclusive option) can't be satisfied by any of nodes configured in the partition, the job will be rejected.
注:ジョブによって要求されたメモリの最終的な量(例:--mem-per-cpuが--exclusiveオプションで使用される場合)が、パーティションで構成されたどのノードでも満たすことができない場合、ジョブは拒否されます。
- --mem-per-gpu=<size[units]>
-
Minimum memory required per allocated GPU.
割り当てられたGPUごとに必要な最小メモリ。
Default units are megabytes unless the SchedulerParameters configuration parameter includes the "default_gbytes" option for gigabytes.
SchedulerParameters構成パラメーターにギガバイトの「default_gbytes」オプションが含まれていない限り、デフォルトの単位はメガバイトです。
Different units can be specified using the suffix [K|M|G|T].
接尾辞[K | M | G | T]を使用して、さまざまな単位を指定できます。
Default value is DefMemPerGPU and is available on both a global and per partition basis.
デフォルト値はDefMemPerGPUで、グローバルとパーティション単位の両方で使用できます。
If configured, the parameters can be seen using the scontrol show config and scontrol show partition commands.
構成されている場合、パラメーターはscontrol show configおよびscontrol show partitionコマンドを使用して表示できます。
Also see --mem.
--memも参照してください。
The --mem, --mem-per-cpu and --mem-per-gpu options are mutually exclusive.
--mem、-mem-per-cpu、および--mem-per-gpuオプションは相互に排他的です。
- --mem-bind=[{quiet,verbose},]type
-
Bind tasks to memory.
タスクをメモリにバインドします。
Used only when the task/affinity plugin is enabled and the NUMA memory functions are available.
タスク/アフィニティプラグインが有効で、NUMAメモリ機能が使用可能な場合にのみ使用されます。
Note that the resolution of CPU and memory binding may differ on some architectures.
CPUとメモリのバインディングの解像度は、一部のアーキテクチャでは異なる場合があることに注意してください。
For example, CPU binding may be performed at the level of the cores within a processor while memory binding will be performed at the level of nodes, where the definition of "nodes" may differ from system to system.
たとえば、CPUバインディングはプロセッサ内のコアのレベルで実行され、メモリバインディングはノードのレベルで実行されます。「ノード」の定義はシステムによって異なる場合があります。
By default no memory binding is performed; any task using any CPU can use any memory.
デフォルトでは、メモリバインディングは実行されません。CPUを使用するタスクはメモリを使用できます。
This option is typically used to ensure that each task is bound to the memory closest to its assigned CPU.
このオプションは通常、各タスクが割り当てられたCPUに最も近いメモリにバインドされるようにするために使用されます。
The use of any type other than "none" or "local" is not recommended.
「なし」または「ローカル」以外のタイプの使用は推奨されません。
NOTE: To have Slurm always report on the selected memory binding for all commands executed in a shell, you can enable verbose mode by setting the SLURM_MEM_BIND environment variable value to "verbose".
注:Slurmが常にシェルで実行されるすべてのコマンドの選択されたメモリバインディングについてレポートするようにするには、SLURM_MEM_BIND環境変数の値を "verbose"に設定して詳細モードを有効にします。
The following informational environment variables are set when --mem-bind is in use:
--mem-bindを使用すると、次の情報環境変数が設定されます。
SLURM_MEM_BIND_LIST SLURM_MEM_BIND_PREFER SLURM_MEM_BIND_SORT SLURM_MEM_BIND_TYPE SLURM_MEM_BIND_VERBOSE
See the ENVIRONMENT VARIABLES section for a more detailed description of the individual SLURM_MEM_BIND* variables.
個々のSLURM_MEM_BIND *変数の詳細については、環境変数のセクションを参照してください。
Supported options include:
サポートされるオプションは次のとおりです。
-
- help
-
show this help message
このヘルプメッセージを表示
- local
-
Use memory local to the processor in use
使用中のプロセッサのローカルメモリを使用する
- map_mem:<list>
-
Bind by setting memory masks on tasks (or ranks) as specified where <list> is
<numa_id_for_task_0>,<numa_id_for_task_1>,...
タスク(またはランク)にメモリマスクを設定してバインドします。 です 、、...
The mapping is specified for a node and identical mapping is applied to the tasks on every node (i.e. the lowest task ID on each node is mapped to the first ID specified in the list, etc.).
マッピングはノードに対して指定され、同一のマッピングがすべてのノードのタスクに適用されます(つまり、各ノードの最小のタスクIDがリストで指定された最初のIDにマッピングされるなど)。
NUMA IDs are interpreted as decimal values unless they are preceded with '0x' in which case they interpreted as hexadecimal values.
NUMA IDは、 '0x'が前に付いていない限り10進値として解釈されます。その場合、16進値として解釈されます。
If the number of tasks (or ranks) exceeds the number of elements in this list, elements in the list will be reused as needed starting from the beginning of the list.
タスク(またはランク)の数がこのリストの要素の数を超える場合、リストの要素は必要に応じてリストの先頭から再利用されます。
To simplify support for large task counts, the lists may follow a map with an asterisk and repetition count.
大量のタスク数のサポートを簡略化するために、リストはアスタリスクと繰り返し数の付いたマップに従う場合があります。
For example "map_mem:0x0f*4,0xf0*4".
たとえば、「map_mem:0x0f * 4,0xf0 * 4」です。
For predictable binding results, all CPUs for each node in the job should be allocated to the job.
予測可能なバインディング結果を得るには、ジョブの各ノードのすべてのCPUをジョブに割り当てる必要があります。
- mask_mem:<list>
-
Bind by setting memory masks on tasks (or ranks) as specified where <list> is
<numa_mask_for_task_0>,<numa_mask_for_task_1>,...
タスク(またはランク)にメモリマスクを設定してバインドします。 です 、、...
The mapping is specified for a node and identical mapping is applied to the tasks on every node (i.e. the lowest task ID on each node is mapped to the first mask specified in the list, etc.).
マッピングはノードに対して指定され、同一のマッピングがすべてのノードのタスクに適用されます(つまり、各ノードの最小のタスクIDがリストで指定された最初のマスクにマッピングされるなど)。
NUMA masks are always interpreted as hexadecimal values.
NUMAマスクは常に16進値として解釈されます。
Note that masks must be preceded with a '0x' if they don't begin with [0-9] so they are seen as numerical values.
マスクが[0-9]で始まらない場合は、マスクの前に「0x」を付ける必要があるため、数値として表示されることに注意してください。
If the number of tasks (or ranks) exceeds the number of elements in this list, elements in the list will be reused as needed starting from the beginning of the list.
タスク(またはランク)の数がこのリストの要素の数を超える場合、リストの要素は必要に応じてリストの先頭から再利用されます。
To simplify support for large task counts, the lists may follow a mask with an asterisk and repetition count.
大量のタスクカウントのサポートを簡略化するために、リストはアスタリスクと繰り返しカウントのあるマスクに続く場合があります。
For example "mask_mem:0*4,1*4".
たとえば、「mask_mem:0 * 4,1 * 4」です。
For predictable binding results, all CPUs for each node in the job should be allocated to the job.
予測可能なバインディング結果を得るには、ジョブの各ノードのすべてのCPUをジョブに割り当てる必要があります。
- no[ne]
-
don't bind tasks to memory (default)
タスクをメモリにバインドしない(デフォルト)
- p[refer]
-
Prefer use of first specified NUMA node, but permit
use of other available NUMA nodes.
最初に指定されたNUMAノードの使用を優先しますが、他の使用可能なNUMAノードの使用を許可します。
- q[uiet]
-
quietly bind before task runs (default)
タスクの実行前に静かにバインドします(デフォルト)
- rank
-
bind by task rank (not recommended)
タスクランクによるバインド(非推奨)
- sort
-
sort free cache pages (run zonesort on Intel KNL nodes)
空きキャッシュページの並べ替え(Intel KNLノードでzonesortを実行)
- v[erbose]
-
verbosely report binding before task runs
タスクの実行前に詳細にバインディングを報告する
-
- --mincpus=<n>
-
Specify a minimum number of logical cpus/processors per node.
ノードあたりの論理CPU /プロセッサの最小数を指定します。
- -N, --nodes=<minnodes[-maxnodes]>
-
Request that a minimum of minnodes nodes be allocated to this job.
最小のminnodesノードがこのジョブに割り当てられることを要求します。
A maximum node count may also be specified with maxnodes.
最大ノード数もmaxnodesで指定できます。
If only one number is specified, this is used as both the minimum and maximum node count.
数値を1つだけ指定した場合、これは最小ノード数と最大ノード数の両方として使用されます。
The partition's node limits supersede those of the job.
パーティションのノード制限は、ジョブのノード制限に優先します。
If a job's node limits are outside of the range permitted for its associated partition, the job will be left in a PENDING state.
ジョブのノード制限が、関連付けられたパーティションに許可されている範囲外の場合、ジョブはPENDING状態のままになります。
This permits possible execution at a later time, when the partition limit is changed.
これにより、パーティションの制限が変更されたときに、後で実行することができます。
If a job node limit exceeds the number of nodes configured in the partition, the job will be rejected.
ジョブノードの制限がパーティションに構成されているノードの数を超えると、ジョブは拒否されます。
Note that the environment variable SLURM_JOB_NODES will be set to the count of nodes actually allocated to the job.
環境変数SLURM_JOB_NODESは、ジョブに実際に割り当てられたノードの数に設定されることに注意してください。
See the ENVIRONMENT VARIABLES section for more information.
詳細については、「環境変数」セクションを参照してください。
If -N is not specified, the default behavior is to allocate enough nodes to satisfy the requirements of the -n and -c options.
-Nが指定されていない場合、デフォルトの動作では、-nおよび-cオプションの要件を満たすのに十分なノードが割り当てられます。
The job will be allocated as many nodes as possible within the range specified and without delaying the initiation of the job.
ジョブは、指定された範囲内で、ジョブの開始を遅らせることなく、できるだけ多くのノードに割り当てられます。
The node count specification may include a numeric value followed by a suffix of "k" (multiplies numeric value by 1,024) or "m" (multiplies numeric value by 1,048,576).
ノード数の指定には、数値の後に接尾辞「k」(数値に1,024を乗算)または「m」(数値に1,048,576を乗算)を含めることができます。
- -n, --ntasks=<number>
-
sbatch does not launch tasks, it requests an allocation of resources and
submits a batch script.
sbatchはタスクを起動せず、リソースの割り当てを要求し、バッチスクリプトを送信します。
This option advises the Slurm controller that job steps run within the allocation will launch a maximum of number tasks and to provide for sufficient resources.
このオプションは、割り当て内で実行されるジョブステップが最大数のタスクを起動し、十分なリソースを提供することをSlurmコントローラーに通知します。
The default is one task per node, but note that the --cpus-per-task option will change this default.
デフォルトはノードごとに1つのタスクですが、-cpus-per-taskオプションはこのデフォルトを変更することに注意してください。
- --network=<type>
-
Specify information pertaining to the switch or network.
スイッチまたはネットワークに関する情報を指定します。
The interpretation of type is system dependent.
タイプの解釈はシステムに依存します。
This option is supported when running Slurm on a Cray natively.
このオプションは、クレイでSlurmをネイティブに実行する場合にサポートされます。
It is used to request using Network Performance Counters.
ネットワークパフォーマンスカウンターを使用して要求するために使用されます。
Only one value per request is valid.
リクエストごとに有効な値は1つだけです。
All options are case in-sensitive.
すべてのオプションは大文字と小文字を区別しません。
In this configuration supported values include:
この構成でサポートされる値は次のとおりです。
-
- system
-
Use the system-wide network performance counters.
システム全体のネットワークパフォーマンスカウンターを使用します。
Only nodes requested will be marked in use for the job allocation.
要求されたノードのみがジョブ割り当てに使用中としてマークされます。
If the job does not fill up the entire system the rest of the nodes are not able to be used by other jobs using NPC, if idle their state will appear as PerfCnts.
ジョブがシステム全体を満たさない場合、残りのノードは、NPCを使用する他のジョブで使用できません。アイドルの場合、その状態はPerfCntsとして表示されます。
These nodes are still available for other jobs not using NPC.
これらのノードは、NPCを使用していない他のジョブで引き続き使用できます。
- blade
-
Use the blade network performance counters.
ブレードネットワークパフォーマンスカウンターを使用します。
Only nodes requested will be marked in use for the job allocation.
要求されたノードのみがジョブ割り当てに使用中としてマークされます。
If the job does not fill up the entire blade(s) allocated to the job those blade(s) are not able to be used by other jobs using NPC, if idle their state will appear as PerfCnts.
ジョブがジョブに割り当てられたブレード全体を満たさない場合、それらのブレードはNPCを使用する他のジョブで使用できません。アイドル状態の場合、その状態はPerfCntsとして表示されます。
These nodes are still available for other jobs not using NPC.
これらのノードは、NPCを使用していない他のジョブで引き続き使用できます。
In all cases the job allocation request must specify the --exclusive option.
すべての場合において、ジョブ割り当てリクエストは--exclusiveオプションを指定する必要があります。
Otherwise the request will be denied.
それ以外の場合、要求は拒否されます。
Also with any of these options steps are not allowed to share blades, so resources would remain idle inside an allocation if the step running on a blade does not take up all the nodes on the blade.
また、これらのオプションのいずれかを使用すると、ブレードを共有するステップが許可されないため、ブレードで実行中のステップがブレード上のすべてのノードを占有しない場合、リソースは割り当て内でアイドルのままになります。
The network option is also supported on systems with IBM's Parallel Environment (PE).
ネットワークオプションは、IBMの並列環境(PE)を備えたシステムでもサポートされています。
See IBM's LoadLeveler job command keyword documentation about the keyword "network" for more information.
詳細については、キーワード「ネットワーク」に関するIBMのLoadLevelerジョブコマンドキーワードのドキュメントを参照してください。
Multiple values may be specified in a comma separated list.
複数の値をコンマ区切りのリストで指定できます。
All options are case in-sensitive.
すべてのオプションは大文字と小文字を区別しません。
Supported values include:
サポートされる値は次のとおりです。
-
- BULK_XFER[=<resources>]
-
Enable bulk transfer of data using Remote Direct-Memory Access (RDMA).
リモートダイレクトメモリアクセス(RDMA)を使用してデータの一括転送を有効にします。
The optional resources specification is a numeric value which can have a suffix of "k", "K", "m", "M", "g" or "G" for kilobytes, megabytes or gigabytes.
オプションのリソース指定は数値であり、キロバイト、メガバイト、またはギガバイトを表す「k」、「K」、「m」、「M」、「g」、または「G」のサフィックスを付けることができます。
NOTE: The resources specification is not supported by the underlying IBM infrastructure as of Parallel Environment version 2.2 and no value should be specified at this time.
注記:Parallelsバージョン2.2の時点では、リソースの仕様は基盤となるIBMインフラストラクチャではサポートされていないため、現時点では値を指定しないでください。
- CAU=<count>
-
Number of Collective Acceleration Units (CAU) required.
必要な集団加速ユニット(CAU)の数。
Applies only to IBM Power7-IH processors.
IBM Power7-IHプロセッサーにのみ適用されます。
Default value is zero.
デフォルト値はゼロです。
Independent CAU will be allocated for each programming interface (MPI, LAPI, etc.)
独立したCAUが各プログラミングインターフェイス(MPI、LAPIなど)に割り当てられます。
- DEVNAME=<name>
-
Specify the device name to use for communications (e.g. "eth0" or "mlx4_0").
通信に使用するデバイス名を指定します(例: "eth0"または "mlx4_0")。
- DEVTYPE=<type>
-
Specify the device type to use for communications.
通信に使用するデバイスタイプを指定します。
The supported values of type are: "IB" (InfiniBand), "HFI" (P7 Host Fabric Interface), "IPONLY" (IP-Only interfaces), "HPCE" (HPC Ethernet), and "KMUX" (Kernel Emulation of HPCE).
タイプのサポートされている値は、「IB」(InfiniBand)、「HFI」(P7ホストファブリックインターフェース)、「IPONLY」(IP専用インターフェース)、「HPCE」(HPCイーサネット)、および「KMUX」(カーネルエミュレーション)です。 HPCE)。
The devices allocated to a job must all be of the same type.
ジョブに割り当てられるデバイスはすべて同じタイプでなければなりません。
The default value depends upon depends upon what hardware is available and in order of preferences is IPONLY (which is not considered in User Space mode), HFI, IB, HPCE, and KMUX.
デフォルト値は、使用可能なハードウェアに依存し、優先順位はIPONLY(ユーザー空間モードでは考慮されません)、HFI、IB、HPCE、およびKMUXです。
- IMMED =<count>
-
Number of immediate send slots per window required.
必要なウィンドウごとの即時送信スロットの数。
Applies only to IBM Power7-IH processors.
IBM Power7-IHプロセッサーにのみ適用されます。
Default value is zero.
デフォルト値はゼロです。
- INSTANCES =<count>
-
Specify number of network connections for each task on each network connection.
各ネットワーク接続の各タスクのネットワーク接続の数を指定します。
The default instance count is 1.
デフォルトのインスタンス数は1です。
- IPV4
-
Use Internet Protocol (IP) version 4 communications (default).
インターネットプロトコル(IP)バージョン4通信を使用します(デフォルト)。
- IPV6
-
Use Internet Protocol (IP) version 6 communications.
インターネットプロトコル(IP)バージョン6通信を使用します。
- LAPI
-
Use the LAPI programming interface.
LAPIプログラミングインターフェイスを使用します。
- MPI
-
Use the MPI programming interface.
MPIプログラミングインターフェイスを使用します。
MPI is the default interface.
MPIはデフォルトのインターフェースです。
- PAMI
-
Use the PAMI programming interface.
PAMIプログラミングインターフェイスを使用します。
- SHMEM
-
Use the OpenSHMEM programming interface.
OpenSHMEMプログラミングインターフェイスを使用します。
- SN_ALL
-
Use all available switch networks (default).
使用可能なすべてのスイッチネットワークを使用します(デフォルト)。
- SN_SINGLE
-
Use one available switch network.
使用可能なスイッチネットワークを1つ使用します。
- UPC
-
Use the UPC programming interface.
UPCプログラミングインターフェイスを使用します。
- US
-
Use User Space communications.
ユーザー空間通信を使用します。
-
Some examples of network specifications:
ネットワーク仕様の例:
- Instances=2,US,MPI,SN_ALL
-
Create two user space connections for MPI communications on every switch
network for each task.
各タスクのすべてのスイッチネットワークでMPI通信用に2つのユーザー空間接続を作成します。
- US,MPI,Instances=3,Devtype=IB
-
Create three user space connections for MPI communications on every InfiniBand
network for each task.
各タスクのすべてのInfiniBandネットワークでMPI通信用に3つのユーザー空間接続を作成します。
- IPV4,LAPI,SN_Single
-
Create a IP version 4 connection for LAPI communications on one switch network
for each task.
タスクごとに1つのスイッチネットワークでLAPI通信用のIPバージョン4接続を作成します。
- Instances=2,US,LAPI,MPI
-
Create two user space connections each for LAPI and MPI communications on every
switch network for each task.
各タスクのすべてのスイッチネットワークで、LAPIおよびMPI通信ごとに2つのユーザー空間接続を作成します。
Note that SN_ALL is the default option so every switch network is used.
SN_ALLがデフォルトのオプションであるため、すべてのスイッチネットワークが使用されることに注意してください。
Also note that Instances=2 specifies that two connections are established for each protocol (LAPI and MPI) and each task.
また、Instances = 2は、各プロトコル(LAPIおよびMPI)と各タスクに対して2つの接続が確立されることを指定することに注意してください。
If there are two networks and four tasks on the node then a total of 32 connections are established (2 instances x 2 protocols x 2 networks x 4 tasks).
ノードに2つのネットワークと4つのタスクがある場合、合計32の接続が確立されます(2つのインスタンスx 2つのプロトコルx 2つのネットワークx 4つのタスク)。
-
- --nice[=adjustment]
-
Run the job with an adjusted scheduling priority within Slurm.
Slurm内で調整されたスケジューリング優先順位でジョブを実行します。
With no adjustment value the scheduling priority is decreased by 100.
調整値がない場合、スケジューリングの優先度は100ずつ減少します。
A negative nice value increases the priority, otherwise decreases it.
負のnice値は優先度を上げ、それ以外の場合は下げます。
The adjustment range is +/- 2147483645.
調整範囲は+/- 2147483645です。
Only privileged users can specify a negative adjustment.
特権ユーザーのみが負の調整を指定できます。
- --no-requeue
-
Specifies that the batch job should never be requeued under any circumstances.
どのような状況でもバッチジョブを再キューイングしないことを指定します。
Setting this option will prevent system administrators from being able to restart the job (for example, after a scheduled downtime), recover from a node failure, or be requeued upon preemption by a higher priority job.
このオプションを設定すると、システム管理者がジョブを再起動(たとえば、計画的なダウンタイム後)したり、ノード障害から回復したり、優先度の高いジョブによるプリエンプションの際にキューに再登録したりできなくなります。
When a job is requeued, the batch script is initiated from its beginning.
ジョブがキューに再登録されると、バッチスクリプトは最初から開始されます。
Also see the --requeue option.
--requeueオプションも参照してください。
The JobRequeue configuration parameter controls the default behavior on the cluster.
JobRequeue構成パラメーターは、クラスターのデフォルトの動作を制御します。
- --ntasks-per-core=<ntasks>
-
Request the maximum ntasks be invoked on each core.
各コアで呼び出される最大ntasksを要求します。
Meant to be used with the --ntasks option.
--ntasksオプションと一緒に使用する必要があります。
Related to --ntasks-per-node except at the core level instead of the node level.
ノードレベルではなくコアレベルを除いて、ノードごとの--ntasks-perに関連しています。
NOTE: This option is not supported unless SelectType=cons_res is configured (either directly or indirectly on Cray systems) along with the node's core count.
注:このオプションは、SelectType = cons_resがノードのコア数とともに(Crayシステムで直接または間接的に)構成されていない限りサポートされません。
- --ntasks-per-node=<ntasks>
-
Request that ntasks be invoked on each node.
各ノードでntasksが呼び出されるように要求します。
If used with the --ntasks option, the --ntasks option will take precedence and the --ntasks-per-node will be treated as a maximum count of tasks per node.
--ntasksオプションとともに使用した場合、-ntasksオプションが優先され、-ntasks-per-nodeはノードあたりのタスクの最大数として扱われます。
Meant to be used with the --nodes option.
--nodesオプションと一緒に使用する必要があります。
This is related to --cpus-per-task=ncpus, but does not require knowledge of the actual number of cpus on each node.
これは--cpus-per-task = ncpusに関連していますが、各ノードの実際のcpus数を知っている必要はありません。
In some cases, it is more convenient to be able to request that no more than a specific number of tasks be invoked on each node.
場合によっては、特定の数以下のタスクが各ノードで呼び出されるように要求できる方が便利です。
Examples of this include submitting a hybrid MPI/OpenMP app where only one MPI "task/rank" should be assigned to each node while allowing the OpenMP portion to utilize all of the parallelism present in the node, or submitting a single setup/cleanup/monitoring job to each node of a pre-existing allocation as one step in a larger job script.
この例には、OpenMP部分がノードに存在するすべての並列処理を利用できるようにしながら、各ノードに1つのMPI "タスク/ランク"のみを割り当てる必要があるハイブリッドMPI / OpenMPアプリの送信、または単一のセットアップ/クリーンアップ/より大きなジョブスクリプトの1つのステップとして、既存の割り当ての各ノードへのジョブを監視します。
- --ntasks-per-socket=<ntasks>
-
Request the maximum ntasks be invoked on each socket.
各ソケットで呼び出される最大ntasksを要求します。
Meant to be used with the --ntasks option.
--ntasksオプションと一緒に使用する必要があります。
Related to --ntasks-per-node except at the socket level instead of the node level.
ノードレベルではなくソケットレベルを除いて、ノードごとの--ntasks-perに関連しています。
NOTE: This option is not supported unless SelectType=cons_res is configured (either directly or indirectly on Cray systems) along with the node's socket count.
注:このオプションは、SelectType = cons_resがノードのソケットカウントとともに(Crayシステムで直接または間接的に)構成されていない限りサポートされません。
- -O, --overcommit
-
Overcommit resources.
リソースをオーバーコミットします。
When applied to job allocation, only one CPU is allocated to the job per node and options used to specify the number of tasks per node, socket, core, etc. are ignored.
ジョブ割り当てに適用すると、ノードごとに1つのCPUのみがジョブに割り当てられ、ノード、ソケット、コアなどごとのタスク数を指定するために使用されるオプションは無視されます。
When applied to job step allocations (the srun command when executed within an existing job allocation), this option can be used to launch more than one task per CPU.
ジョブステップ割り当て(既存のジョブ割り当て内で実行された場合のsrunコマンド)に適用すると、このオプションを使用して、CPUごとに複数のタスクを起動できます。
Normally, srun will not allocate more than one process per CPU.
通常、srunはCPUごとに複数のプロセスを割り当てません。
By specifying --overcommit you are explicitly allowing more than one process per CPU.
--overcommitを指定すると、CPUごとに複数のプロセスを明示的に許可することになります。
However no more than MAX_TASKS_PER_NODE tasks are permitted to execute per node.
ただし、ノードごとに実行できるタスクはMAX_TASKS_PER_NODEを超えません。
NOTE: MAX_TASKS_PER_NODE is defined in the file slurm.h and is not a variable, it is set at Slurm build time.
注:MAX_TASKS_PER_NODEはslurm.hファイルで定義されており、変数ではなく、Slurmビルド時に設定されます。
- -o, --output=<filename pattern>
-
Instruct Slurm to connect the batch script's standard output directly to the
file name specified in the "filename pattern".
バッチスクリプトの標準出力を「ファイル名パターン」で指定されたファイル名に直接接続するようにSlurmに指示します。
By default both standard output and standard error are directed to the same file.
デフォルトでは、標準出力と標準エラーの両方が同じファイルに送られます。
For job arrays, the default file name is "slurm-%A_%a.out", "%A" is replaced by the job ID and "%a" with the array index.
ジョブ配列の場合、デフォルトのファイル名は「slurm-%A_%a.out」で、「%A」はジョブIDで置き換えられ、「%a」は配列インデックスで置き換えられます。
For other jobs, the default file name is "slurm-%j.out", where the "%j" is replaced by the job ID.
その他のジョブの場合、デフォルトのファイル名は「slurm-%j.out」で、「%j」はジョブIDに置き換えられます。
See the filename pattern section below for filename specification options.
ファイル名の指定オプションについては、以下のファイル名パターンのセクションを参照してください。
- --open-mode=append|truncate
-
Open the output and error files using append or truncate mode as specified.
指定された追加モードまたは切り捨てモードを使用して、出力ファイルとエラーファイルを開きます。
The default value is specified by the system configuration parameter JobFileAppend.
デフォルト値は、システム構成パラメーターJobFileAppendによって指定されます。
- --parsable
-
Outputs only the job id number and the cluster name if present.
存在する場合は、ジョブID番号とクラスター名のみを出力します。
The values are separated by a semicolon. Errors will still be displayed.
値はセミコロンで区切られます。エラーは引き続き表示されます。
- -p, --partition=<partition_names>
-
Request a specific partition for the resource allocation.
リソース割り当てのために特定のパーティションを要求します。
If not specified, the default behavior is to allow the slurm controller to select the default partition as designated by the system administrator.
指定しない場合、デフォルトの動作では、slurmコントローラがシステム管理者が指定したデフォルトのパーティションを選択できます。
If the job can use more than one partition, specify their names in a comma separate list and the one offering earliest initiation will be used with no regard given to the partition name ordering (although higher priority partitions will be considered first).
ジョブが複数のパーティションを使用できる場合は、コンマ区切りのリストでそれらの名前を指定します。パーティション名の順序に関係なく、最初に提供されたものが最初に使用されます(優先度の高いパーティションが最初に考慮されます)。
When the job is initiated, the name of the partition used will be placed first in the job record partition string.
ジョブが開始されると、使用されるパーティションの名前がジョブレコードパーティション文字列の最初に配置されます。
- --power=<flags>
-
Comma separated list of power management plugin options.
電源管理プラグインオプションのカンマ区切りリスト。
Currently available flags include: level (all nodes allocated to the job should have identical power caps, may be disabled by the Slurm configuration option PowerParameters=job_no_level).
現在利用可能なフラグは次のとおりです:レベル(ジョブに割り当てられたすべてのノードは同一の電力上限を持つ必要があり、Slurm構成オプションPowerParameters = job_no_levelによって無効にされる場合があります)。
- --priority=<value>
-
Request a specific job priority.
特定のジョブの優先順位を要求します。
May be subject to configuration specific constraints.
構成固有の制約を受ける場合があります。
value should either be a numeric value or "TOP" (for highest possible value).
valueは、数値または「TOP」(可能な最大値の場合)のいずれかでなければなりません。
Only Slurm operators and administrators can set the priority of a job.
Slurmオペレーターと管理者のみがジョブの優先順位を設定できます。
- --profile=<all|none|[energy[,|task[,|lustre[,|network]]]]>
-
enables detailed data collection by the acct_gather_profile plugin.
acct_gather_profileプラグインによる詳細なデータ収集を有効にします。
Detailed data are typically time-series that are stored in an HDF5 file for the job or an InfluxDB database depending on the configured plugin.
詳細なデータは通常、構成されたプラグインに応じて、ジョブのHDF5ファイルまたはInfluxDBデータベースに保存される時系列です。
-
- All
-
All data types are collected. (Cannot be combined with other values.)
すべてのデータ型が収集されます。(他の値と組み合わせることはできません。)
- None
-
No data types are collected. This is the default.
データタイプは収集されません。これがデフォルトです。
(Cannot be combined with other values.)
(他の値と組み合わせることはできません。)
- Energy
-
Energy data is collected.
エネルギーデータが収集されます。
- Task
-
Task (I/O, Memory, ...) data is collected.
タスク(I / O、メモリ、...)データが収集されます。
- Lustre
-
Lustre data is collected.
光沢データが収集されます。
- Network
-
Network (InfiniBand) data is collected.
ネットワーク(InfiniBand)データが収集されます。
-
- --propagate[=rlimit[,rlimit...]]
-
Allows users to specify which of the modifiable (soft) resource limits
to propagate to the compute nodes and apply to their jobs.
ユーザーは、変更可能な(ソフト)リソース制限のどれを計算ノードに伝達してジョブに適用するかを指定できます。
If no rlimit is specified, then all resource limits will be propagated.
rlimitを指定しない場合、すべてのリソース制限が伝搬されます。
The following rlimit names are supported by Slurm (although some options may not be supported on some systems):
以下のrlimit名はSlurmでサポートされています(ただし、一部のシステムではサポートされないオプションもあります)。
-
- ALL
-
All limits listed below (default)
以下にリストされているすべての制限(デフォルト)
- NONE
-
No limits listed below
以下に制限なし
- AS
-
The maximum address space for a process
プロセスの最大アドレス空間
- CORE
-
The maximum size of core file
コアファイルの最大サイズ
- CPU
-
The maximum amount of CPU time
CPU時間の最大量
- DATA
-
The maximum size of a process's data segment
プロセスのデータセグメントの最大サイズ
- FSIZE
-
The maximum size of files created.
作成されるファイルの最大サイズ。
Note that if the user sets FSIZE to less than the current size of the slurmd.log, job launches will fail with a 'File size limit exceeded' error.
ユーザーがFSIZEをslurmd.logの現在のサイズ未満に設定すると、ジョブの起動は「ファイルサイズの制限を超えました」エラーで失敗することに注意してください。
- MEMLOCK
-
The maximum size that may be locked into memory
メモリにロックできる最大サイズ
- NOFILE
-
The maximum number of open files
開いているファイルの最大数
- NPROC
-
The maximum number of processes available
利用可能なプロセスの最大数
- RSS
-
The maximum resident set size
最大常駐セットサイズ
- STACK
-
The maximum stack size
最大スタックサイズ
-
- -q, --qos=<qos>
-
Request a quality of service for the job.
ジョブのサービス品質を要求します。
QOS values can be defined for each user/cluster/account association in the Slurm database.
QOS値は、Slurmデータベース内のユーザー/クラスター/アカウントの関連付けごとに定義できます。
Users will be limited to their association's defined set of qos's when the Slurm configuration parameter, AccountingStorageEnforce, includes "qos" in its definition.
Slurm構成パラメーターであるAccountingStorageEnforceの定義に「qos」が含まれている場合、ユーザーは関連付けで定義されているqosのセットに制限されます。
- -Q, --quiet
-
Suppress informational messages from sbatch such as Job ID.
ジョブIDなどのsbatchからの情報メッセージを抑制します。
Only errors will still be displayed.
エラーのみが表示されます。
- --reboot
-
Force the allocated nodes to reboot before starting the job.
ジョブを開始する前に、割り当てられたノードを強制的に再起動します。
This is only supported with some system configurations and will otherwise be silently ignored.
これは一部のシステム構成でのみサポートされ、それ以外の場合は黙って無視されます。
Only root, SlurmUser or admins can reboot nodes.
ルート、SlurmUser、または管理者のみがノードを再起動できます。
- --requeue
-
Specifies that the batch job should eligible to being requeue.
バッチジョブがリキューに適格であることを指定します。
The job may be requeued explicitly by a system administrator, after node failure, or upon preemption by a higher priority job.
ノード障害が発生した後、または優先順位の高いジョブによるプリエンプションが発生した後、システム管理者がジョブを明示的に再キューイングできます。
When a job is requeued, the batch script is initiated from its beginning.
ジョブがキューに再登録されると、バッチスクリプトは最初から開始されます。
Also see the --no-requeue option.
--no-requeueオプションも参照してください。
The JobRequeue configuration parameter controls the default behavior on the cluster.
JobRequeue構成パラメーターは、クラスターのデフォルトの動作を制御します。
- --reservation=<name>
-
Allocate resources for the job from the named reservation.
指定された予約からジョブにリソースを割り当てます。
- -s, --oversubscribe
-
The job allocation can over-subscribe resources with other running jobs.
ジョブの割り当てでは、実行中の他のジョブでリソースをオーバーサブスクライブできます。
The resources to be over-subscribed can be nodes, sockets, cores, and/or hyperthreads depending upon configuration.
オーバーサブスクライブされるリソースは、構成に応じて、ノード、ソケット、コア、ハイパースレッドにすることができます。
The default over-subscribe behavior depends on system configuration and the partition's OverSubscribe option takes precedence over the job's option.
デフォルトのオーバーサブスクライブ動作はシステム構成によって異なり、パーティションのOverSubscribeオプションはジョブのオプションよりも優先されます。
This option may result in the allocation being granted sooner than if the --oversubscribe option was not set and allow higher system utilization, but application performance will likely suffer due to competition for resources.
このオプションを使用すると、-oversubscribeオプションが設定されていない場合よりも早く割り当てが許可され、システムの使用率が高くなりますが、リソースの競合により、アプリケーションのパフォーマンスが低下する可能性があります。
Also see the --exclusive option.
--exclusiveオプションも参照してください。
- -S, --core-spec=<num>
-
Count of specialized cores per node reserved by the job for system operations
and not used by the application.
システム操作用にジョブによって予約され、アプリケーションでは使用されない、ノードごとの専用コアの数。
The application will not use these cores, but will be charged for their allocation.
アプリケーションはこれらのコアを使用しませんが、それらの割り当てに対して課金されます。
Default value is dependent upon the node's configured CoreSpecCount value.
デフォルト値は、ノードの構成済みCoreSpecCount値によって異なります。
If a value of zero is designated and the Slurm configuration option AllowSpecResourcesUsage is enabled, the job will be allowed to override CoreSpecCount and use the specialized resources on nodes it is allocated.
ゼロの値が指定されており、Slurm構成オプションAllowSpecResourcesUsageが有効になっている場合、ジョブはCoreSpecCountをオーバーライドして、割り当てられたノードで特殊なリソースを使用できます。
This option can not be used with the --thread-spec option.
このオプションは--thread-specオプションと一緒に使用できません。
- --signal=[[R][B]:]<sig_num>[@<sig_time>]
-
When a job is within sig_time seconds of its end time,
send it the signal sig_num.
ジョブが終了時刻のsig_time秒以内にある場合は、sig_numシグナルを送信します。
Due to the resolution of event handling by Slurm, the signal may be sent up to 60 seconds earlier than specified.
Slurmによるイベント処理の解決により、信号は指定よりも最大60秒早く送信される場合があります。
sig_num may either be a signal number or name (e.g. "10" or "USR1").
sig_numは、シグナル番号またはシグナル名(たとえば、「10」または「USR1」)のいずれかです。
sig_time must have an integer value between 0 and 65535.
sig_timeには、0〜65535の整数値が必要です。
By default, no signal is sent before the job's end time.
デフォルトでは、ジョブの終了時刻までシグナルは送信されません。
If a sig_num is specified without any sig_time, the default time will be 60 seconds.
sig_numがsig_timeなしで指定されている場合、デフォルトの時間は60秒になります。
Use the "B:" option to signal only the batch shell, none of the other processes will be signaled.
「B:」オプションを使用して、バッチシェルのみにシグナルを送信します。他のプロセスにはシグナルが送信されません。
By default all job steps will be signaled, but not the batch shell itself.
デフォルトでは、すべてのジョブステップが通知されますが、バッチシェル自体は通知されません。
Use the "R:" option to allow this job to overlap with a reservation with MaxStartDelay set.
「R:」オプションを使用して、このジョブをMaxStartDelayが設定された予約とオーバーラップできるようにします。
To have the signal sent at preemption time see the preempt_send_user_signal SlurmctldParameter.
信号がプリエンプション時に送信されるようにするには、preempt_send_user_signal SlurmctldParameterを参照してください。
- --sockets-per-node=<sockets>
-
Restrict node selection to nodes with at least the specified number of
sockets.
ノードの選択を、少なくとも指定された数のソケットを持つノードに制限します。
See additional information under -B option above when task/affinity plugin is enabled.
タスク/アフィニティプラグインが有効になっている場合は、上記の-Bオプションの追加情報を参照してください。
- --spread-job
-
Spread the job allocation over as many nodes as possible and attempt to
evenly distribute tasks across the allocated nodes.
ジョブの割り当てをできるだけ多くのノードに分散し、割り当てられたノード間でタスクを均等に分散させます。
This option disables the topology/tree plugin.
このオプションは、トポロジ/ツリープラグインを無効にします。
- --switches=<count>[@<max-time>]
-
When a tree topology is used, this defines the maximum count of switches
desired for the job allocation and optionally the maximum time to wait
for that number of switches.
ツリートポロジを使用する場合、これは、ジョブの割り当てに必要なスイッチの最大数と、オプションでその数のスイッチを待機する最大時間を定義します。
If Slurm finds an allocation containing more switches than the count specified, the job remains pending until it either finds an allocation with desired switch count or the time limit expires.
Slurmが、指定された数よりも多くのスイッチを含む割り当てを見つけた場合、ジョブは、必要なスイッチ数の割り当てが見つかるか、制限時間が経過するまで保留されたままになります。
It there is no switch count limit, there is no delay in starting the job.
スイッチ数の制限がなく、ジョブの開始に遅延はありません。
Acceptable time formats include "minutes", "minutes:seconds", "hours:minutes:seconds", "days-hours", "days-hours:minutes" and "days-hours:minutes:seconds".
許容される時間形式には、「分」、「分:秒」、「時間:分:秒」、「日-時間」、「日-時間:分」、および「日-時間:分:秒」が含まれます。
The job's maximum time delay may be limited by the system administrator using the SchedulerParameters configuration parameter with the max_switch_wait parameter option.
ジョブの最大遅延時間は、システム管理者がmax_switch_waitパラメータオプションを指定したSchedulerParameters構成パラメータを使用して制限する場合があります。
On a dragonfly network the only switch count supported is 1 since communication performance will be highest when a job is allocate resources on one leaf switch or more than 2 leaf switches.
dragonflyネットワークでは、ジョブが1つのリーフスイッチまたは3つ以上のリーフスイッチにリソースを割り当てるときに通信パフォーマンスが最高になるため、サポートされるスイッチ数は1のみです。
The default max-time is the max_switch_wait SchedulerParameters.
デフォルトの最大時間はmax_switch_wait SchedulerParametersです。
- -t, --time=<time>
-
Set a limit on the total run time of the job allocation.
ジョブ割り当ての合計実行時間に制限を設定します。
If the requested time limit exceeds the partition's time limit, the job will be left in a PENDING state (possibly indefinitely).
要求された時間制限がパーティションの時間制限を超えると、ジョブは(おそらく無期限に)PENDING状態のままになります。
The default time limit is the partition's default time limit.
デフォルトの制限時間は、パーティションのデフォルトの制限時間です。
When the time limit is reached, each task in each job step is sent SIGTERM followed by SIGKILL.
時間制限に達すると、各ジョブステップの各タスクにSIGTERMが送信され、その後にSIGKILLが送信されます。
The interval between signals is specified by the Slurm configuration parameter KillWait.
信号の間隔は、Slurm構成パラメーターKillWaitによって指定されます。
The OverTimeLimit configuration parameter may permit the job to run longer than scheduled.
OverTimeLimit構成パラメーターにより、ジョブがスケジュールよりも長く実行される場合があります。
Time resolution is one minute and second values are rounded up to the next minute.
時間分解能は1分で、秒の値は次の分に切り上げられます。
A time limit of zero requests that no time limit be imposed.
ゼロの時間制限は、時間制限が課されないことを要求します。
Acceptable time formats include "minutes", "minutes:seconds", "hours:minutes:seconds", "days-hours", "days-hours:minutes" and "days-hours:minutes:seconds".
許容される時間形式には、「分」、「分:秒」、「時間:分:秒」、「日-時間」、「日-時間:分」、および「日-時間:分:秒」が含まれます。
- --test-only
-
Validate the batch script and return an estimate of when a job would be
scheduled to run given the current job queue and all the other arguments
specifying the job requirements.
バッチスクリプトを検証し、現在のジョブキューと、ジョブの要件を指定する他のすべての引数を考慮して、ジョブの実行がスケジュールされる時期の推定値を返します。
No job is actually submitted.
実際に送信されるジョブはありません。
- --thread-spec=<num>
-
Count of specialized threads per node reserved by the job for system operations
and not used by the application.
システム操作用にジョブによって予約され、アプリケーションでは使用されない、ノードごとの特殊スレッドの数。
The application will not use these threads, but will be charged for their allocation.
アプリケーションはこれらのスレッドを使用しませんが、それらの割り当てに対して課金されます。
This option can not be used with the --core-spec option.
このオプションは--core-specオプションと一緒に使用できません。
- --threads-per-core=<threads>
-
Restrict node selection to nodes with at least the specified number of
threads per core.
ノードの選択を、コアあたり少なくとも指定されたスレッド数のノードに制限します。
NOTE: "Threads" refers to the number of processing units on each core rather than the number of application tasks to be launched per core.
注:「スレッド」とは、コアごとに起動されるアプリケーションタスクの数ではなく、各コアの処理ユニットの数を指します。
See additional information under -B option above when task/affinity plugin is enabled.
タスク/アフィニティプラグインが有効になっている場合は、上記の-Bオプションの追加情報を参照してください。
- --time-min=<time>
-
Set a minimum time limit on the job allocation.
ジョブの割り当てに最小時間制限を設定します。
If specified, the job may have its --time limit lowered to a value no lower than --time-min if doing so permits the job to begin execution earlier than otherwise possible.
指定した場合、ジョブの--time制限が--time-min以上の値に引き下げられる可能性があります。これにより、ジョブが他の方法よりも早く実行を開始できるようになります。
The job's time limit will not be changed after the job is allocated resources.
ジョブにリソースが割り当てられた後、ジョブの制限時間は変更されません。
This is performed by a backfill scheduling algorithm to allocate resources otherwise reserved for higher priority jobs.
これは、バックフィルスケジューリングアルゴリズムによって実行され、優先度の高いジョブ用に予約されているリソースを割り当てます。
Acceptable time formats include "minutes", "minutes:seconds", "hours:minutes:seconds", "days-hours", "days-hours:minutes" and "days-hours:minutes:seconds".
許容される時間形式には、「分」、「分:秒」、「時間:分:秒」、「日-時間」、「日-時間:分」、および「日-時間:分:秒」が含まれます。
- --tmp=<size[units]>
-
Specify a minimum amount of temporary disk space per node.
ノードごとの最小ディスク容量を指定します。
Default units are megabytes unless the SchedulerParameters configuration parameter includes the "default_gbytes" option for gigabytes.
SchedulerParameters構成パラメーターにギガバイトの「default_gbytes」オプションが含まれていない限り、デフォルトの単位はメガバイトです。
Different units can be specified using the suffix [K|M|G|T].
接尾辞[K | M | G | T]を使用して、さまざまな単位を指定できます。
- --usage
-
Display brief help message and exit.
簡単なヘルプメッセージを表示して終了します。
- --uid=<user>
-
Attempt to submit and/or run a job as user instead of the
invoking user id.
呼び出し元のユーザーIDではなく、ユーザーとしてジョブを送信または実行しようとしました。
The invoking user's credentials will be used to check access permissions for the target partition.
呼び出しユーザーの資格情報は、ターゲットパーティションのアクセス許可を確認するために使用されます。
User root may use this option to run jobs as a normal user in a RootOnly partition for example.
ユーザーrootはこのオプションを使用して、たとえばRootOnlyパーティションで通常のユーザーとしてジョブを実行できます。
If run as root, sbatch will drop its permissions to the uid specified after node allocation is successful.
ルートとして実行する場合、sbatchはノードの割り当てが成功した後に、指定されたuidにその権限をドロップします。
user may be the user name or numerical user ID.
userは、ユーザー名または数値のユーザーIDです。
- --use-min-nodes
-
If a range of node counts is given, prefer the smaller count.
ノード数の範囲が指定されている場合は、小さい方の数を優先します。
- -V, --version
-
Display version information and exit.
バージョン情報を表示して終了します。
- -v, --verbose
-
Increase the verbosity of sbatch's informational messages.
sbatchの情報メッセージの冗長性を増やします。
Multiple -v's will further increase sbatch's verbosity.
複数の-vを指定すると、sbatchの冗長性がさらに高まります。
By default only errors will be displayed.
デフォルトでは、エラーのみが表示されます。
- -w, --nodelist=<node name list>
-
Request a specific list of hosts.
ホストの特定のリストを要求します。
The job will contain all of these hosts and possibly additional hosts as needed to satisfy resource requirements.
ジョブには、これらすべてのホストが含まれ、リソース要件を満たすために必要に応じて追加のホストが含まれる場合もあります。
The list may be specified as a comma-separated list of hosts, a range of hosts (host[1-5,7,...] for example), or a filename.
リストは、ホストのコンマ区切りリスト、ホストの範囲(たとえば、host [1-5,7、...])、またはファイル名として指定できます。
The host list will be assumed to be a filename if it contains a "/" character.
ホストリストに「/」文字が含まれている場合、ホストリストはファイル名と見なされます。
If you specify a minimum node or processor count larger than can be satisfied by the supplied host list, additional resources will be allocated on other nodes as needed.
提供されたホストリストで満たすことができる最小ノード数またはプロセッサ数を指定すると、必要に応じて他のノードに追加のリソースが割り当てられます。
Duplicate node names in the list will be ignored.
リスト内の重複するノード名は無視されます。
The order of the node names in the list is not important; the node names will be sorted by Slurm.
リスト内のノード名の順序は重要ではありません。ノード名はSlurmによってソートされます。
- -W, --wait
-
Do not exit until the submitted job terminates.
実行依頼されたジョブが終了するまで終了しないでください。
The exit code of the sbatch command will be the same as the exit code of the submitted job.
sbatchコマンドの終了コードは、サブミットされたジョブの終了コードと同じになります。
If the job terminated due to a signal rather than a normal exit, the exit code will be set to 1.
通常の終了ではなくシグナルが原因でジョブが終了した場合、終了コードは1に設定されます。
In the case of a job array, the exit code recorded will be the highest value for any task in the job array.
ジョブ配列の場合、記録される終了コードは、ジョブ配列内のタスクの最大値になります。
- --wait-all-nodes=<value>
-
Controls when the execution of the command begins.
コマンドの実行をいつ開始するかを制御します。
By default the job will begin execution as soon as the allocation is made.
デフォルトでは、ジョブは割り当てが行われるとすぐに実行を開始します。
-
- 0
-
Begin execution as soon as allocation can be made.
割り当てができるとすぐに実行を開始します。
Do not wait for all nodes to be ready for use (i.e. booted).
すべてのノードが使用できるようになる(つまり、ブートされる)のを待たないでください。
- 1
-
Do not begin execution until all nodes are ready for use.
すべてのノードが使用できるようになるまで実行を開始しないでください。
-
- --wckey=<wckey>
-
Specify wckey to be used with job.
ジョブで使用するwckeyを指定します。
If TrackWCKey=no (default) in the slurm.conf this value is ignored.
slurm.confでTrackWCKey = no(デフォルト)の場合、この値は無視されます。
- --wrap=<command string>
-
Sbatch will wrap the specified command string in a simple "sh" shell script,
and submit that script to the slurm controller.
Sbatchは、指定されたコマンド文字列を単純な「sh」シェルスクリプトでラップし、そのスクリプトをslurmコントローラーに送信します。
When --wrap is used, a script name and arguments may not be specified on the command line; instead the sbatch-generated wrapper script is used.
--wrapを使用する場合、コマンドラインでスクリプト名と引数を指定することはできません。代わりに、sbatchで生成されたラッパースクリプトが使用されます。
- -x, --exclude=<node name list>
-
Explicitly exclude certain nodes from the resources granted to the job.
ジョブに付与されたリソースから特定のノードを明示的に除外します。
filename pattern
sbatch allows for a filename pattern to contain one or more replacement
symbols, which are a percent sign "%" followed by a letter (e.g. %j).
sbatchを使用すると、ファイル名パターンに1つまたは複数の置換記号を含めることができます。置換記号は、パーセント記号「%」の後に文字が続きます(例:%j)。
- \\
-
Do not process any of the replacement symbols.
置換シンボルを処理しないでください。
- %%
-
The character "%".
キャラクター "%"。
- %A
-
Job array's master job allocation number.
ジョブ配列のマスタージョブ割り当て番号。
- %a
-
Job array ID (index) number.
ジョブ配列ID(インデックス)番号。
- %J
-
jobid.stepid of the running job. (e.g. "128.0")
実行中のジョブのjobid.stepid。(例: "128.0")
- %j
-
jobid of the running job.
実行中のジョブのジョブID。
- %N
-
short hostname. This will create a separate IO file per node.
短いホスト名。これにより、ノードごとに個別のIOファイルが作成されます。
- %n
-
Node identifier relative to current job (e.g. "0" is the first node of
the running job) This will create a separate IO file per node.
現在のジョブに関連するノード識別子(たとえば、「0」は実行中のジョブの最初のノードです)これにより、ノードごとに個別のIOファイルが作成されます。
- %s
-
stepid of the running job.
実行中のジョブのステップID。
- %t
-
task identifier (rank) relative to current job.
現在のジョブに関連するタスク識別子(ランク)。
This will create a separate IO file per task.
これにより、タスクごとに個別のIOファイルが作成されます。
- %u
-
User name.
ユーザー名。
- %x
-
Job name.
職種名。
A number placed between the percent character and format specifier may be
used to zero-pad the result in the IO filename.
パーセント文字とフォーマット指定子の間に置かれた数字は、IOファイル名の結果にゼロを埋め込むために使用できます。
This number is ignored if
the format specifier corresponds to non-numeric data (%N for example).
フォーマット指定子が非数値データ(たとえば、%N)に対応している場合、この数値は無視されます。
Some examples of how the format string may be used for a 4 task job step
with a Job ID of 128 and step id of 0 are included below:
ジョブIDが128、ステップIDが0の4タスクジョブステップでフォーマット文字列を使用する方法の例を以下に示します。
- job%J.out
- job128.0.out
- job%4j.out
- job0128.out
- job%j-%2t.out
- job128-00.out, job128-01.out, ...
PERFORMANCE
Executing sbatch sends a remote procedure call to slurmctld.
sbatchを実行すると、リモートプロシージャコールがslurmctldに送信されます。
If
enough calls from sbatch or other Slurm client commands that send remote
procedure calls to the slurmctld daemon come in at once, it can result in
a degradation of performance of the slurmctld daemon, possibly resulting
in a denial of service.
リモートプロシージャコールをslurmctldデーモンに送信するsbatchまたは他のSlurmクライアントコマンドからの十分な呼び出しが一度に着信すると、slurmctldデーモンのパフォーマンスが低下し、サービス拒否が発生する可能性があります。
Do not run sbatch or other Slurm client commands that send remote
procedure calls to slurmctld from loops in shell scripts or other
programs.
シェルスクリプトまたは他のプログラムのループからslurmctldにリモートプロシージャコールを送信するsbatchまたは他のSlurmクライアントコマンドを実行しないでください。
Ensure that programs limit calls to sbatch to the minimum
necessary for the information you are trying to gather.
プログラムがsbatchへの呼び出しを、収集しようとしている情報に必要な最小限に制限していることを確認してください。
INPUT ENVIRONMENT VARIABLES
Upon startup, sbatch will read and handle the options set in the following
environment variables.
起動時に、sbatchは次の環境変数で設定されたオプションを読み取り、処理します。
Note that environment variables will override any
options set in a batch script, and command line options will override any
environment variables.
環境変数はバッチスクリプトで設定されたオプションをオーバーライドし、コマンドラインオプションは環境変数をオーバーライドすることに注意してください。
- SBATCH_ACCOUNT
- Same as -A, --account
- SBATCH_ACCTG_FREQ
- Same as --acctg-freq
- SBATCH_ARRAY_INX
- Same as -a, --array
- SBATCH_BATCH
- Same as --batch
- SBATCH_CLUSTERS or SLURM_CLUSTERS
- Same as --clusters
- SBATCH_CONSTRAINT
- Same as -C, --constraint
- SBATCH_CORE_SPEC
- Same as --core-spec
- SBATCH_CPUS_PER_GPU
- Same as --cpus-per-gpu
- SBATCH_DEBUG
- Same as -v, --verbose
- SBATCH_DELAY_BOOT
- Same as --delay-boot
- SBATCH_DISTRIBUTION
- Same as -m, --distribution
- SBATCH_EXCLUSIVE
- Same as --exclusive
- SBATCH_EXPORT
- Same as --export
- SBATCH_GET_USER_ENV
- Same as --get-user-env
- SBATCH_GPUS
- Same as -G, --gpus
- SBATCH_GPU_BIND
- Same as --gpu-bind
- SBATCH_GPU_FREQ
- Same as --gpu-freq
- SBATCH_GPUS_PER_NODE
- Same as --gpus-per-node
- SBATCH_GPUS_PER_TASK
- Same as --gpus-per-task SBATCH_GRES Same as --gres
- SBATCH_GRES_FLAGS
- Same as --gres-flags
- SBATCH_HINT or SLURM_HINT
- Same as --hint
- SBATCH_IGNORE_PBS
- Same as --ignore-pbs
- SBATCH_JOB_NAME
- Same as -J, --job-name
- SBATCH_MEM_BIND
- Same as --mem-bind
- SBATCH_MEM_PER_CPU
- Same as --mem-per-cpu
- SBATCH_MEM_PER_GPU
- Same as --mem-per-gpu
- SBATCH_MEM_PER_NODE
- Same as --mem
- SBATCH_NETWORK
- Same as --network
- SBATCH_NO_KILL
- Same as -k, --no-kill
- SBATCH_NO_REQUEUE
- Same as --no-requeue
- SBATCH_OPEN_MODE
- Same as --open-mode
- SBATCH_OVERCOMMIT
- Same as -O, --overcommit
- SBATCH_PARTITION
- Same as -p, --partition
- SBATCH_POWER
- Same as --power
- SBATCH_PROFILE
- Same as --profile
- SBATCH_QOS
- Same as --qos
- SBATCH_RESERVATION
- Same as --reservation
- SBATCH_REQ_SWITCH
-
When a tree topology is used, this defines the maximum count of switches
desired for the job allocation and optionally the maximum time to wait
for that number of switches. See --switches
ツリートポロジを使用する場合、これは、ジョブの割り当てに必要なスイッチの最大数と、オプションでその数のスイッチを待機する最大時間を定義します。--switchesを参照してください
- SBATCH_REQUEUE
- Same as --requeue
- SBATCH_SIGNAL
- Same as --signal
- SBATCH_SPREAD_JOB
- Same as --spread-job
- SBATCH_THREAD_SPEC
- Same as --thread-spec
- SBATCH_TIMELIMIT
- Same as -t, --time
- SBATCH_USE_MIN_NODES
- Same as --use-min-nodes
- SBATCH_WAIT
- Same as -W, --wait
- SBATCH_WAIT_ALL_NODES
- Same as --wait-all-nodes
- SBATCH_WAIT4SWITCH
-
Max time waiting for requested switches. See --switches
要求されたスイッチを待機する最大時間。--switchesを参照してください
- SBATCH_WCKEY
- Same as --wckey
- SLURM_CONF
-
The location of the Slurm configuration file.
Slurm構成ファイルの場所。
- SLURM_EXIT_ERROR
-
Specifies the exit code generated when a Slurm error occurs
(e.g. invalid options).
Slurmエラーが発生したときに生成される終了コードを指定します(無効なオプションなど)。
This can be used by a script to distinguish application exit codes from various Slurm error conditions.
これをスクリプトで使用して、アプリケーションの終了コードをさまざまなSlurmエラー条件から区別できます。
- SLURM_STEP_KILLED_MSG_NODE_ID=ID
-
If set, only the specified node will log when the job or step are killed
by a signal.
設定されている場合、ジョブまたはステップがシグナルによって強制終了されたときに、指定されたノードのみがログに記録します。
OUTPUT ENVIRONMENT VARIABLES
The Slurm controller will set the following variables in the environment of
the batch script.
Slurmコントローラーは、バッチスクリプトの環境で次の変数を設定します。
- SBATCH_MEM_BIND
-
Set to value of the --mem-bind option.
--mem-bindオプションの値に設定します。
- SBATCH_MEM_BIND_LIST
-
Set to bit mask used for memory binding.
メモリバインディングに使用されるビットマスクに設定します。
- SBATCH_MEM_BIND_PREFER
-
Set to "prefer" if the --mem-bind option includes the prefer option.
--mem-bindオプションにpreferオプションが含まれている場合は、「prefer」に設定します。
- SBATCH_MEM_BIND_TYPE
-
Set to the memory binding type specified with the --mem-bind option.
--mem-bindオプションで指定されたメモリバインディングタイプに設定します。
Possible values are "none", "rank", "map_map", "mask_mem" and "local".
可能な値は、「none」、「rank」、「map_map」、「mask_mem」、および「local」です。
- SBATCH_MEM_BIND_VERBOSE
-
Set to "verbose" if the --mem-bind option includes the verbose option.
--mem-bindオプションに冗長オプションが含まれている場合は、「verbose」に設定します。
Set to "quiet" otherwise.
それ以外の場合は「静か」に設定します。
- SLURM_*_HET_GROUP_#
-
For a heterogeneous job allocation, the environment variables are set separately
for each component.
異機種混合のジョブ割り当ての場合、環境変数はコンポーネントごとに個別に設定されます。
- SLURM_ARRAY_TASK_COUNT
-
Total number of tasks in a job array.
ジョブ配列内のタスクの総数。
- SLURM_ARRAY_TASK_ID
-
Job array ID (index) number.
ジョブ配列ID(インデックス)番号。
- SLURM_ARRAY_TASK_MAX
-
Job array's maximum ID (index) number.
ジョブ配列の最大ID(インデックス)番号。
- SLURM_ARRAY_TASK_MIN
-
Job array's minimum ID (index) number.
ジョブ配列の最小ID(インデックス)番号。
- SLURM_ARRAY_TASK_STEP
-
Job array's index step size.
ジョブ配列のインデックスステップサイズ。
- SLURM_ARRAY_JOB_ID
-
Job array's master job ID number.
ジョブ配列のマスタージョブID番号。
- SLURM_CLUSTER_NAME
-
Name of the cluster on which the job is executing.
ジョブが実行されているクラスターの名前。
- SLURM_CPUS_ON_NODE
-
Number of CPUS on the allocated node.
割り当てられたノード上のCPUの数。
- SLURM_CPUS_PER_GPU
-
Number of CPUs requested per allocated GPU.
割り当てられたGPUごとにリクエストされたCPUの数。
Only set if the --cpus-per-gpu option is specified.
--cpus-per-gpuオプションが指定されている場合にのみ設定されます。
- SLURM_CPUS_PER_TASK
-
Number of cpus requested per task.
タスクごとに要求されたCPUの数。
Only set if the --cpus-per-task option is specified.
--cpus-per-taskオプションが指定されている場合にのみ設定されます。
- SLURM_DISTRIBUTION
- Same as -m, --distribution
- SLURM_EXPORT_ENV
- Same as -e, --export.
- SLURM_GPUS
-
Number of GPUs requested.
リクエストされたGPUの数。
Only set if the -G, --gpus option is specified.
-G、--gpusオプションが指定されている場合にのみ設定されます。
- SLURM_GPU_BIND
-
Requested binding of tasks to GPU.
タスクのGPUへのバインドを要求しました。
Only set if the --gpu-bind option is specified.
--gpu-bindオプションが指定されている場合にのみ設定されます。
- SLURM_GPU_FREQ
-
Requested GPU frequency.
リクエストされたGPU周波数。
Only set if the --gpu-freq option is specified.
--gpu-freqオプションが指定されている場合にのみ設定されます。
- SLURM_GPUS_PER_NODE
-
Requested GPU count per allocated node.
割り当てられたノードあたりのリクエストされたGPU数。
Only set if the --gpus-per-node option is specified.
--gpus-per-nodeオプションが指定されている場合にのみ設定されます。
- SLURM_GPUS_PER_SOCKET
-
Requested GPU count per allocated socket.
割り当てられたソケットごとの要求されたGPU数。
Only set if the --gpus-per-socket option is specified.
--gpus-per-socketオプションが指定されている場合にのみ設定されます。
- SLURM_GPUS_PER_TASK
-
Requested GPU count per allocated task.
割り当てられたタスクごとのリクエストされたGPU数。
Only set if the --gpus-per-task option is specified.
--gpus-per-taskオプションが指定されている場合にのみ設定されます。
- SLURM_GTIDS
-
Global task IDs running on this node. Zero origin and comma separated.
このノードで実行されているグローバルタスクID。ゼロ原点とカンマ区切り。
- SLURM_JOB_ACCOUNT
-
Account name associated of the job allocation.
ジョブ割り当てに関連付けられたアカウント名。
- SLURM_JOB_ID (and SLURM_JOBID for backwards compatibility)
-
The ID of the job allocation.
ジョブ割り当てのID。
- SLURM_JOB_CPUS_PER_NODE
-
Count of processors available to the job on this node.
このノードのジョブで使用可能なプロセッサーの数。
Note the select/linear plugin allocates entire nodes to jobs, so the value indicates the total count of CPUs on the node.
select / linearプラグインはノード全体をジョブに割り当てるため、値はノード上のCPUの合計数を示すことに注意してください。
The select/cons_res plugin allocates individual processors to jobs, so this number indicates the number of processors on this node allocated to the job.
select / cons_resプラグインは個々のプロセッサをジョブに割り当てるため、この数は、ジョブに割り当てられたこのノード上のプロセッサの数を示します。
- SLURM_JOB_DEPENDENCY
-
Set to value of the --dependency option.
--dependencyオプションの値に設定します。
- SLURM_JOB_NAME
-
Name of the job.
ジョブの名前。
- SLURM_JOB_NODELIST (and SLURM_NODELIST for backwards compatibility)
-
List of nodes allocated to the job.
ジョブに割り当てられたノードのリスト。
- SLURM_JOB_NUM_NODES (and SLURM_NNODES for backwards compatibility)
-
Total number of nodes in the job's resource allocation.
ジョブのリソース割り当てのノードの総数。
- SLURM_JOB_PARTITION
-
Name of the partition in which the job is running.
ジョブが実行されているパーティションの名前。
- SLURM_JOB_QOS
-
Quality Of Service (QOS) of the job allocation.
ジョブ割り当てのサービス品質(QOS)。
- SLURM_JOB_RESERVATION
-
Advanced reservation containing the job allocation, if any.
必要に応じて、ジョブの割り当てを含む事前予約。
- SLURM_LOCALID
-
Node local task ID for the process within a job.
ジョブ内のプロセスのノードローカルタスクID。
- SLURM_MEM_PER_CPU
- Same as --mem-per-cpu
- SLURM_MEM_PER_GPU
-
Requested memory per allocated GPU.
割り当てられたGPUごとに要求されたメモリ。
Only set if the --mem-per-gpu option is specified.
--mem-per-gpuオプションが指定されている場合にのみ設定されます。
- SLURM_MEM_PER_NODE
- Same as --mem
- SLURM_NODE_ALIASES
-
Sets of node name, communication address and hostname for nodes allocated to
the job from the cloud.
クラウドからジョブに割り当てられたノードのノード名、通信アドレス、ホスト名のセット。
Each element in the set if colon separated and each set is comma separated For example:
コロンで区切られ、各セットがカンマで区切られている場合のセットの各要素例:
SLURM_NODE_ALIASES=ec0:1.2.3.4:foo,ec1:1.2.3.5:bar - SLURM_NODEID
-
ID of the nodes allocated.
割り当てられたノードのID。
- SLURM_NTASKS (and SLURM_NPROCS for backwards compatibility)
- Same as -n, --ntasks
- SLURM_NTASKS_PER_CORE
-
Number of tasks requested per core.
コアごとに要求されたタスクの数。
Only set if the --ntasks-per-core option is specified.
--ntasks-per-coreオプションが指定されている場合にのみ設定されます。
- SLURM_NTASKS_PER_NODE
-
Number of tasks requested per node.
ノードごとに要求されたタスクの数。
Only set if the --ntasks-per-node option is specified.
--ntasks-per-nodeオプションが指定されている場合にのみ設定されます。
- SLURM_NTASKS_PER_SOCKET
-
Number of tasks requested per socket.
ソケットごとに要求されたタスクの数。
Only set if the --ntasks-per-socket option is specified.
--ntasks-per-socketオプションが指定されている場合にのみ設定されます。
- SLURM_HET_SIZE
-
Set to count of components in heterogeneous job.
異種ジョブのコンポーネント数を設定します。
- SLURM_PRIO_PROCESS
-
The scheduling priority (nice value) at the time of job submission.
ジョブ送信時のスケジューリング優先順位(適切な値)。
This value is propagated to the spawned processes.
この値は、生成されたプロセスに伝播されます。
- SLURM_PROCID
-
The MPI rank (or relative process ID) of the current process
現在のプロセスのMPIランク(または相対プロセスID)
- SLURM_PROFILE
- Same as --profile
- SLURM_RESTART_COUNT
-
If the job has been restarted due to system failure or has been
explicitly requeued, this will be sent to the number of times
the job has been restarted.
システム障害が原因でジョブが再起動された場合、または明示的に再キューイングされた場合、ジョブが再起動された回数に送信されます。
- SLURM_SUBMIT_DIR
-
The directory from which sbatch was invoked or, if applicable, the
directory specified by the -D, --chdir option.
sbatchが呼び出されたディレクトリ、または該当する場合は、-D、--chdirオプションで指定されたディレクトリ。
- SLURM_SUBMIT_HOST
-
The hostname of the computer from which sbatch was invoked.
sbatchが呼び出されたコンピューターのホスト名。
- SLURM_TASKS_PER_NODE
-
Number of tasks to be initiated on each node.
各ノードで開始されるタスクの数。
Values are comma separated and in the same order as SLURM_JOB_NODELIST.
値はコンマ区切りで、SLURM_JOB_NODELISTと同じ順序です。
If two or more consecutive nodes are to have the same task count, that count is followed by "(x#)" where "#" is the repetition count.
2つ以上の連続するノードが同じタスク数を持つ場合、その数の後に「(x#)」が続きます。「#」は繰り返し数です。
For example, "SLURM_TASKS_PER_NODE=2(x3),1" indicates that the first three nodes will each execute two tasks and the fourth node will execute one task.
たとえば、「SLURM_TASKS_PER_NODE = 2(x3)、1」は、最初の3つのノードがそれぞれ2つのタスクを実行し、4番目のノードが1つのタスクを実行することを示します。
- SLURM_TASK_PID
-
The process ID of the task being started.
開始されるタスクのプロセスID。
- SLURM_TOPOLOGY_ADDR
-
This is set only if the system has the topology/tree plugin
configured.
これは、システムにトポロジー/ツリープラグインが構成されている場合にのみ設定されます。
The value will be set to the names network switches which may be involved in the job's communications from the system's top level switch down to the leaf switch and ending with node name.
値は、ネットワークスイッチの名前に設定されます。ネットワークスイッチは、システムのトップレベルスイッチからリーフスイッチまでのジョブの通信に関与し、ノード名で終了します。
A period is used to separate each hardware component name.
ピリオドは、各ハードウェアコンポーネント名を区切るために使用されます。
- SLURM_TOPOLOGY_ADDR_PATTERN
-
This is set only if the system has the topology/tree plugin
configured.
これは、システムにトポロジー/ツリープラグインが構成されている場合にのみ設定されます。
The value will be set component types listed in SLURM_TOPOLOGY_ADDR.
値は、SLURM_TOPOLOGY_ADDRにリストされているコンポーネントタイプに設定されます。
Each component will be identified as either "switch" or "node".
各コンポーネントは、「スイッチ」または「ノード」として識別されます。
A period is used to separate each hardware component type.
ピリオドは、各ハードウェアコンポーネントタイプを区切るために使用されます。
- SLURMD_NODENAME
-
Name of the node running the job script.
ジョブスクリプトを実行しているノードの名前。
EXAMPLES
Specify a batch script by filename on the command line.
コマンドラインでファイル名でバッチスクリプトを指定します。
The batch script specifies a 1 minute time limit for the job.
バッチスクリプトは、ジョブの1分の時間制限を指定します。
-
$ cat myscript
#!/bin/sh
#SBATCH --time=1
srun hostname |sort
$ sbatch -N4 myscript
salloc: Granted job allocation 65537
$ cat slurm-65537.out
host1
host2
host3
host4
Pass a batch script to sbatch on standard input:
バッチスクリプトを標準入力のsbatchに渡します。
-
$ sbatch -N4 <<EOF
> #!/bin/sh
> srun hostname |sort
> EOF
sbatch: Submitted batch job 65541
$ cat slurm-65541.out
host1
host2
host3
host4
To create a heterogeneous job with 3 components, each allocating a unique set of nodes:
3つのコンポーネントを持つ異種ジョブを作成するには、それぞれがノードの一意のセットを割り当てます。
-
sbatch -w node[2-3] : -w node4 : -w node[5-7] work.bash
Submitted batch job 34987
COPYING
Copyright (C) 2006-2007 The Regents of the University of California. Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).Copyright (C) 2008-2010 Lawrence Livermore National Security.
Copyright (C) 2010-2017 SchedMD LLC.
This file is part of Slurm, a resource management program. For details, see <https://slurm.schedmd.com/>.
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.
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.
SEE ALSO
sinfo(1), sattach(1), salloc(1), squeue(1), scancel(1), scontrol(1), slurm.conf(5), sched_setaffinity (2), numa (3)
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- RETURN VALUE
- SCRIPT PATH RESOLUTION
- OPTIONS
- filename pattern
- PERFORMANCE
- INPUT ENVIRONMENT VARIABLES
- OUTPUT ENVIRONMENT VARIABLES
- EXAMPLES
- COPYING
- SEE ALSO
This document was created by man2html using the manual pages.
Time: 20:44:46 GMT, May 21, 2020