This implementation is applicable to computer systems described in section 2.1 of the Installer's Notes (see Installer's Notes, Applicability).
Any additional information related to this implementation, that came to light after the release of this product, will be described below.
The advice on calling the DLL from Fortran Builder is updated as follows:It is possible to link to the DLL versions of the NAG library using nagfor, the Fortran Compiler which comes with NAG Fortran Builder. Interface blocks for use with version 5.3 of Fortran Builder are supplied in folder install dir\nag_interface_blocks_nagfor. It is important to note that you must link to the DLL itself, not the associated import library.
From a DOS command prompt, first make sure that the PATH environment variable is correctly set, as described in Section 3.1.2 of the Users' Note.
You may then compile and link to the NAG Library for SMP and Multicore on the command line using one of the following commands:
nagfor -thread_safe -I"install dir\nag_interface_blocks_nagfor" driver.f90 "install dir\bin\FSW6I24DC.dll" -o driver.exeNote that the -thread_safe compiler switch ensures that local variables are not statically allocated, as discussed in Section 3.1 of the Users' Note. In this context, it is also important to note that you should definitely not use nagfor's -save switch, since that has the opposite effect on local variables to that required.
Using the DLL from within the Fortran Builder IDE itself is also easy, following steps like these: