Different ways to refactor Fortran OpenMP code.