File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ Parallel computing with Python
5353
5454 .. code-block :: console
5555
56- $ ml julia/1.9.4 -bdist
56+ $ ml julia/1.10.2 -bdist
5757
5858 $ pip install JuliaCall
5959
@@ -378,7 +378,7 @@ in Python rather than learning to write those codes.
378378 one can realize how faster the loop can be executed when threads are added:
379379
380380 .. figure :: ../img/parallel-loop.png
381- :width: 200
381+ :width: 250
382382 :align: center
383383
384384 In the following example ``sleep.py `` the `sleep() ` function is called `n ` times first in
@@ -434,7 +434,7 @@ in Python rather than learning to write those codes.
434434
435435 print (" Time spent parallel: %.2f sec" % (endtime- starttime))
436436
437- First load the modules `` ml GCCcore/11.2.0 Python/3.9.6 `` (on Kebnekaise) and then run the script
437+ First load the modules for Python and dependencies and then run the script
438438 with the command ``srun -A "your-project" -n 1 -c 4 -t 00:05:00 python sleep.py `` to use 4 processes.
439439
440440 Optional flags for ``srun `` for writing output and error files are ``-o output_%j.out -e error_%j.err `` instead
You can’t perform that action at this time.
0 commit comments