Skip to content
Snippets Groups Projects
Commit bdd40be5 authored by Pavel Gajdušek's avatar Pavel Gajdušek
Browse files

small edits

parent 244a4aaf
No related branches found
No related tags found
6 merge requests!368Update prace.md to document the change from qprace to qprod as the default...,!367Update prace.md to document the change from qprace to qprod as the default...,!366Update prace.md to document the change from qprace to qprod as the default...,!323extended-acls-storage-section,!196Master,!161Gajdusek cleaning
......@@ -145,6 +145,7 @@ else:
total = None
comm.Barrier()
#collect the partial results to total sum
comm.Reduce(summ, total, op=MPI.SUM, root=0)
stop_time = time.time()
......@@ -158,9 +159,9 @@ if rank == 0:
print ("-----", int((time.time()-start_time)*1000), "-----")
```
Execute the code above like:
Execute the code above as:
```console
$ qsub -I -q qexp -l select=4:ncpus=16,walltime=00:30:00 -A DD-13-5
$ qsub -I -q qexp -l select=4:ncpus=16,walltime=00:30:00
$ ml Python/3.5.2-intel-2017.00
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment