test01’s documentation

test01 is compiled by Makefile and it can be run using run.sh. Each MPI task will use ~2.3 GiB of RAM. The program uses mod_safe/sub_allocate_array() and mod_safe_mpi/sub_bcast_array(). The correct output should be:

Does MPI task 0 of 2 think that everything worked? T Does MPI task 1 of 2 think that everything worked? T

Of course, the ordering of those two lines cannot be relied upon.

program  test01

NOTE: 22^7 = 2,494,357,888 NOTE: 2^31 - 1 = 2,147,483,647 NOTE: 2,494,357,888 > 2,147,483,647

Use :

iso_fortran_env, mpi, mod_safe (sub_allocate_array()), mod_safe_mpi (sub_bcast_array())