All the necessary information to run the programs is provided, including commands for compiling the programs and submitting the parallel jobs to the NQE batch system. The code is in Fortran 90. Integration of a function The Fortran 90 program integrates a function on a given interval using the trapezoid rule. The integration subintervals are distributed evenly among the MPI tasks.
Load balancing The task is to calculate function values using a series expansion.
Due to varying number of terms needed for the required precision, the calculation takes different amounts of CPU time. The Fortran 90 example program does the load balancing using master-slave approach. Both documents are also available as PostScript versions.