How to use NAG under linux
Nag on the web:
http://www.nag.co.uk/numeric/fl/manual/html/FLlibrarymanual.asp
Brown has a license for nag Mark 20. The library is installed in:
/cfarm/nag/libraries/
To use the library you need to either run in your shell
setenv LM_LICENSE_FILE /cfarm/nag/license.dat
or insert this line for good somewhere in your .tcshrc or .cshrc, whichever you're using.
Library "C-wrapped" header files:
/map/gfx0/tools/linux/src/naginclude/
(also check out e04ucf.h below).
Nag-under-linux example:
** Makefile
** e04ucf.h
** e04uef.h
** main.cpp
Let me know if you need more help.
If you're using matrices, remember Fortran is column major.
- gem AT cs.brown.edu
- Box 1910, Computer Science Department
- Brown University
- Providence, RI 02912
- 401-863-7663 (voice)
- 401-863-7657 (fax)
- Finger me.