My FORTRAN code uses nag library functions. I am not sure how to link the nag library with the FORTRAN code. I have the nag library installed on my PC. Do I have to set the path to nag library in the code?
Currently I have tried using
opts = /FREE_FORMAT /WIDE_SOURCE /debug /check /mod_path 'C:\Program Files\NAG\FL25\flw6i25dcl\mkl_intel64_11.2.1\bin'
in the makefile.mak but it does not work.