Memory hierarchy of modern PC (https://allthingsvlsi.wordpress.com)
Let's consider a typical 2D thermomechanical geodynamic model:
The cure: Split the job onto multiple processors.
Processor architecture of a 4-core processor (http://sips.inesc-id.pt/~nfvr/msc_theses/msc10g/)
Modern PCs already use multiple cores (CPUs within one physical processor).
More cores can be used by interconnecting multiple physical computers (nodes)
Architecture of a computing cluster
We will test the effect of running a code in parallel, using the geo-hpcc cluster.
$ cd mpi
$ srun -n 64 python mpi.py
$ nano mpi.py
mpi.py
script with different number of cores (modify the number after -n
, try values between 1-400 cores). Keep record of the core count and time elapsed. We'll compile our results and plot them as a group.squeue
and sinfo
to see the job queue and the status of different nodesYou can find the results of the parallel performance exercise in the exercise summary notebook.