Made changes necessary to compile with pgi.
Fixed test/force_test.mod.f90 to work across all compilers.