This is the MPI only version.
First you must ascertain that your MPI library was built targeting the fortran compiler you intend to use.
Next you may set your mpifort compiler path on line 623 of the Makefile. Then simple run make.
$ cd lbc
$ make
This will generate a binary called lbc
.
Problem parameters (grid size, processor orientation, iterations, etc) may be set with the lbc.params file. The grid size in a given direction must be a multiple of both, the number of processors in that given direction, as well as 32, which is the tile block length in every loop.
The Makefile allows you to set different MPI options and performance settings. Two interesting performance options are listed:
The performance.res file will be generated after the first run to save performance metrics.
You can execute this kernel by running
$ mpirun -np <number of ranks> ./lbc
The number of ranks should match the number set in the lbc.params file.
The following experiments have been registered: