How do I know which version of the NAG C Library to use?[answer]
What functionality of the NAG C Library is supported from Maple?[answer]
I run 32bit Linux, and wish to obtain Mark 8 of the NAG C Library, but I do not know whether to obtain CLLUX08DGL for Intel architecture or CLL3A08DGL for AMD architecture[answer]
Do I need a compiler, to use the Maple-NAG Connector product?[answer]
After installing, do I need to run the NAG[NAGVersion] routine?[answer]
How can I avoid having to run NAG[NAGVersion] in each new Maple session, to tell the Maple-NAG Connector which version of the NAG C Library to use?[answer]
I installed all of Maple 10, the NAG C Library Mark 7 for Windows, and the Maple-NAG Connector (10), but it does not work. Why?[answer]
I installed all of Maple 10, the NAG C Library for Linux, and the Maple-NAG Connector (10), but it does not work. Why?[answer]
I installed all of Maple 10, the NAG C Library for OSX, and the Maple-NAG Connector (10), but it does not work. Why?[answer]
I do not have permission to install the NAG C Library for OSX to a system location such as /usr/lib . Where can I put it so that the Maple-NAG Connector works?[answer]
Can I run using different performance versions of the NAG C Library within a single Maple session?[answer]
Which performance libraries (choices for pvalue in argument Performance=pvalue for routine NAG[NAGVersion]) are possible?[answer]
How can I find out the current settings for the Mark and performance choices for the Maple-NAG Connector, in my Maple session?[answer]
Can I make use of multiple CPUs when using the MKL Performance version of the NAG C Library (if available)?[answer]
Answers
Do I need to purchase both Maple and the NAG C Library?[Top]
Yes (for older version of Maple you will also need the Maple-NAG connector).
Does Maple 13 offer support of the NAG Library?[Top]
No. It is suggested that sites change to a more recent version of Maple.
Supported platforms are 32bit Windows, 32bit Linux (RedHat 9 or compatible), and OSX on PowerPC.
How do I know which version of the NAG C Library to use?[Top]
See http://www.nag.com/downloads/cldownloads.asp for details. The answer may depend on whether you intend to use the NAG C Library as a stand-alone product and if so will depend on which compiler you would want to use with it.
What functionality of the NAG C Library is supported from Maple?[Top]
All the computational user-level functions in the NAG C Library Mark 7 are supported from Maple. When using Maple with Mark 8 of the NAG C Library only the functions already present in Mark 7 are supported.
I run 32bit Linux, and wish to obtain Mark 8 of the NAG C Library, but I do not know whether to obtain CLLUX08DGL for Intel architecture or CLL3A08DGL for AMD architecture.[Top]
Contact NAG. You may first wish to determine your host's architecture by running bin.IBM_INTEL_LINUX/processor from under the location of your Maple 10 installation.
Do I need a compiler, to use the Maple-NAG Connector product?[Top]
No. A compiler is only required to use the NAG C Library as a stand-alone product.
A valid Maple license, available from Maplesoft and a valid NAG C Library license, available from NAG. For older versions of Maple a valid Maple-NAG Connector license is also required.
After installing, do I need to run the NAG[NAGVersion] routine?[Top]
If you are using Mark 7 of the NAG C Library for Linux, YES, you must run NAG[NAGVersion] with arguments Mark=7. The ‘pvalue’ argument is optional. See Question 17 for more on valid pvalues. > NAG[NAGVersion]( Mark=7 ); For all other combinations of Mark and platform, the routine NAG[NAGVersion] does NOT need to be run. See ?NAG[NAGVersion] for details.
How can I avoid having to run NAG[NAGVersion] in each new Maple session, to tell the Maple-NAG Connector which version of the NAG C Library to use?[Top]
Run the NAG[NAGVersion] routine with the saveversion=true option. See ?NAG[NAGVersion] for details.
I installed all of Maple 10, the NAG C Library Mark 7 for Windows, and the Maple-NAG Connector (10), but it does not work. Why?[Top]
A reboot is necessary, after installing the NAG C Library for Windows, prior to using the Maple-NAG Connector. This is necessary in order for Windows to be able to find the NAG C Library in the PATH.
I installed all of Maple 10, the NAG C Library for Linux, and the Maple-NAG Connector (10), but it does not work. Why?[Top]
Ensure that the location of the NAG C Library shared objects (libraries, such as libnagc_nag.so) is in LD_LIBRARY_PATH. See Install.html for details.
I installed all of Maple 10, the NAG C Library for OSX, and the Maple-NAG Connector (10), but it does not work. Why?[Top]
I do not have permission to install the NAG C Library for OSX to a system location such as /usr/lib . Where can I put it do that the Maple-NAG Connector works?[Top]
Install the Maple-NAG Connector privately. This usually means installing it under /Users/$USERNAME/maple/toolbox/10/NAG . After installing the Maple-NAG Connector, copy the libnagc.dylib file to /Users/$USERNAME/maple/toolbox/10/NAG/bin.APPLE_PPC_OSX/ .
Can I run using different performance versions of the NAG C Library within a single Maple session?[Top]
No. Maple must be exited (not just a Maple restart) between using the Maple-NAG Connector with different performance versions of the NAG C Library. Here "use" excludes using the NAG[NAGVersion] routine to configure the choice of performance versions.
Which performance libraries (choices for pvalue in argumen Performance=pvalue for routine NAG[NAGVersion]) are possible?[Top]
This depends on the version of the NAG C Library installed.
Windows: CLDLL074ZL, CLDLL074YL :
Valid choices are: Performance='NAG' or Performance='MKL'
Linux: CLLUX07DDL :
Valid choices are: Performance='NAG' or Performance='MKL'
Linux: CLLUX08DGL :
Valid choices are: Performance='NAG' or Performance='MKL'
Linux: CLL3A09DGL :
Valid choices are: Performance='NAG' or Performance='ACML'
How can I find out the current settings for the Mark and performance choices for the Maple-NAG Connector, in my Maple session?[Top]
Run the NAG[NAGVersion] command with no arguments, eg, NAG[NAGVersion]();
Can I make use of multiple CPUs when using the MKL Performance version of the NAG C Library (if available)?[Top]
Yes. Set the operating system environment variable OMP_NUM_THREADS to the desired positive integer in the shell from which Maple is started. For example, on a dual-core (not hyperthreaded) or dual-CPU SMP machine OMP_NUM_THREADS could be set to 2 .