Oct 21, 2017

Cluster Documentation

edit menu

Using-nag-libraries




Using NAG SMP Libraries




  • Nag SMP libraries with GNU Fortran

gfortran -fopenmp program.f90 -L/software/nag/fsl6a23dfl/lib -lnagsmp -I/software/nag/fsl6a23dfl/nag_interface_blocks -L/software/nag/fsl6a23dfl/acml4.4.0/lib -lacml_mv -lacml_mp -I/software/nag/fsl6a23dfl/acml4.4.0/include
  • Nag SMP libraries with Intel Fortran

ifort -openmp program.f90 -L/software/nag/fsl6a23dfl/lib  -lnagsmp -I/software/nag/fsl6a23dfl/nag_interface_blocks-ifort -L/software/nag/fsl6a23dfl/acml4.4.0/lib -lacml_mv -lacml_mp -I/software/nag/fsl6a23dfl/acml4.4.0/include /usr/lib/x86_64-linux-gnu/libgfortran.so.3
  • Nag SMP libraries with Nag fortran

nagfor program.f90 -L/software/nag/fsl6a23dfl/lib  -lnagsmp -I/software/nag/fsl6a23dfl/nag_interface_blocks-nagfor -L/software/nag/fsl6a23dfl/acml4.4.0/lib -lacml_mv -lacml_mp -I/software/nag/fsl6a23dfl/acml4.4.0/include /usr/lib/x86_64-linux-gnu/libgfortran.so.3  /usr/lib/x86_64-linux-gnu/libgomp.so.1

Page Actions