Browse code

20230522: It is additionally noted that the number of logical cores is allocated to SLURM_CPUS_PER_TASK. The variable used for cpu allocation in the LS-DYNA batch processing sample files has been changed to SLURM_DPC_CPUS.

root authored on2023-05-22 10:22:57
Showing4 changed files
... ...
@@ -32,7 +32,8 @@ echo $LANG
32 32
 |Environment Variable Name|Meaning|
33 33
 | ---           |--- |
34 34
 |$SLURM_CPUS_ON_NODE|the number of Cores/Node|
35
-|$SLURM_CPUS_PER_TASK|the number of Cores per task|
35
+|$SLURM_DPC_CPUS|the number of Physical cores per task|
36
+|$SLURM_CPUS_PER_TASK|the number of Logical cores per task (twice the value of the physical core)|
36 37
 |$SLURM_JOB_ID|Job ID (Use $SLURM_ARRAY_JOB_ID for array jobs)|
37 38
 |$SLURM_ARRAY_JOB_ID|Parent job ID when executing array job|
38 39
 |$SLURM_ARRAY_TASK_ID|Task ID when executing array job|
... ...
@@ -32,7 +32,8 @@ echo $LANG
32 32
 |環境変数名|意味|
33 33
 | ---           |--- |
34 34
 |$SLURM_CPUS_ON_NODE|コア数/ノード|
35
-|$SLURM_CPUS_PER_TASK|タスクごとのコア数|
35
+|$SLURM_DPC_CPUS|タスクごとの物理コア数|
36
+|$SLURM_CPUS_PER_TASK|タスクごとの論理コア数|
36 37
 |$SLURM_JOB_ID|ジョブID (アレイジョブの場合は $SLURM_ARRAY_JOB_ID を使用してください)|
37 38
 |$SLURM_ARRAY_JOB_ID|アレイジョブ実行時の親となるジョブID|
38 39
 |$SLURM_ARRAY_TASK_ID|アレイジョブ実行時のタスクID|
... ...
@@ -170,7 +170,7 @@ You need to prepare a Batch file to run LS-DYNA by Batch job. Write a script of
170 170
 
171 171
 module load ls-dyna
172 172
 
173
-ls971_d i=sample.dyn ncpu=$SLURM_CPUS_PER_TASK
173
+ls971_d i=sample.dyn ncpu=$SLURM_DPC_CPUS
174 174
 ```
175 175
 
176 176
 ## Reference{#references}
... ...
@@ -173,7 +173,7 @@ $ tssrun ls971_d i=sample.dyn ncpu=2
173 173
 
174 174
 module load ls-dyna
175 175
 
176
-ls971_d i=sample.dyn ncpu=$SLURM_CPUS_PER_TASK
176
+ls971_d i=sample.dyn ncpu=$SLURM_DPC_CPUS
177 177
 ```
178 178
 
179 179
 ## 参考資料{#references}