@@ -10,6 +10,7 @@ The code has been compiled and run on Leonardo. The configurations for compiling
...
@@ -10,6 +10,7 @@ The code has been compiled and run on Leonardo. The configurations for compiling
### Compiling with nvfortran
### Compiling with nvfortran
nvfortran is a Fortran compiler released by Nvidia, and optimized to run Fortran code on GPUs through OpenACC. It is also possible to use OpenACC with GNU compilers, but performances are not optimal.
nvfortran is a Fortran compiler released by Nvidia, and optimized to run Fortran code on GPUs through OpenACC. It is also possible to use OpenACC with GNU compilers, but performances are not optimal.
### nofma option
### nofma option
There are differences between results obtained compiling the code with gfortran and nvfortran. During the hackathon, we checked that the differences were reasonably small to continue the GPU porting; however, these differences should be checked systematically and the effect of using different compiling options should be also checked. A useful option to reduce these differences is to use the `-nofma` option with the nvfortran compiler.