It should probably be mentioned somewhere in or before examples A.4.1c and
A.4.1f that they assume the implementation supports nested parallelism.
In addition, there are two issues specific to A.4.1f:
1. An ampersand is needed at the ends of lines 17, 18, 26, and 27.
2. The use of parentheses in the print statements (lines 17 and 26) is an
extension to Fortran, and not supported by all compilers (e.g., gfortran