OpenACC
From PHASTA Wiki
OpenACC is is a compiler extension which allows you to annotate your code such that the compiler can generate GPU accelerated binaries. The PGI compiler available on the viz nodes supports OpenACC and can generate code for the viz node's GPUs.
Use
Currently, CUDA requires <= gcc 4.6, so you'll need to
soft add +gcc-4.6 soft add +pgi-64bit
Then you can compile your annotated code
pgfortran -acc -Minfo=acc -o gputest test.f pgfortran -O3 -o cputest test.f time ./gputest time ./cputest