NAG Fortran 95 Compiler
To use NAG Fortran 95 Compiler on eddie, you need:
1. Load module NAGWaref95/5.1
module load NAGWaref95/5.1
2. Compile your fortran code
f95 -o f90_util f90_util.f90
---
Use NAGWaref95 and NAG fortran library
Some user may want the combine of NAGWaref95 and NAG fortran lib. If you add module NAGWaref95/5.1 and NAG/fll6i21dcl, you will find one of them cannot find license file. The reason is they both enquery environment variable NAG_KUSARI_FILE for the location of license file. This variable will be overwritten when you load a second module.
An easy way to fix it is to manually set NAG_KUSARI_FILE containing both license file seperated by semicolon.
module add NAG/fll6i21dcl module add NAGWaref95/5.1 export NAG_KUSARI_FILE="$NAG_KUSARI_FILE;/usr/local/Cluster-Apps/NAG/fll6i21dcl/license/license.key"
Then you can use the NAG compiler and library together.
We will set up a KUSARI license server in the near future which could help deal with such conflict.