In the exercise MCPI-PtP, the total number of points was obtained via point-to-point communication and then summed over all values, such a reduction can be carried out using MPI collective operations. The latter is more compact and presumably more efficient.

  • In the directory MCPI-Collective-Operation, there are f and c subdirectories for Fortran and C, respectively. If you have loaded the modules as described in exercise Hello, compilers and MPI wrappers are ready for use. The compilation process is facilitated using a Makefile.
  • There are 6 FIXME markers to be corrected by you. In contrast to FIXME markers in MCPI-PtP, in the current exercise they are related to the MPI communication call.


Last modified: Wednesday, 10 April 2024, 8:27 PM