File tree 1 file changed +16
-1
lines changed
1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ Changes of stencil update code for OpenMP and SYCL are shown in the tabs below:
299
299
300
300
.. code-block :: console
301
301
302
- # salloc -A project_465001310 -p small-g -N 1 -- gpus-per-node=1 - -t 1:00:00
302
+ # salloc -A project_465001310 -p small-g -N 1 -c 8 -n 1 -- gpus-per-node=1 -t 1:00:00
303
303
304
304
module load LUMI/24.03
305
305
module load partition/G
@@ -321,6 +321,21 @@ Changes of stencil update code for OpenMP and SYCL are shown in the tabs below:
321
321
$ srun stencil_naive
322
322
$ srun stencil
323
323
324
+ If everything works well, the output should look similar to this:
325
+
326
+ .. code-block :: console
327
+
328
+ $ srun stencil_naive
329
+ Average temperature, start: 59.763305
330
+ Average temperature at end: 59.281239
331
+ Control temperature at end: 59.281239
332
+ Iterations took 2.683 seconds.
333
+ $ srun stencil
334
+ Average temperature, start: 59.763305
335
+ Average temperature at end: 59.281239
336
+ Control temperature at end: 59.281239
337
+ Iterations took 0.317 seconds.
338
+
324
339
325
340
.. challenge :: Exercise: naive GPU ports
326
341
You can’t perform that action at this time.
0 commit comments