Skip to content

Instantly share code, notes, and snippets.

@robertdfrench
Created August 8, 2017 13:02
Show Gist options
  • Save robertdfrench/d91264a125ef2c786e91b7152a3df5a3 to your computer and use it in GitHub Desktop.
Save robertdfrench/d91264a125ef2c786e91b7152a3df5a3 to your computer and use it in GitHub Desktop.
Demonstrate Nag Environment on SLES12 CrayPE
#!/bin/bash
module unload nag
module unload PrgEnv-intel PrgEnv-gnu PrgEnv-pgi PrgEnv-pathscale
module load PrgEnv-pgi
module load nag/fl24
ftn -I$NAGDIR/nag_interface_blocks/ -L$NAGDIR/lib -lnag_nag -o test_cmplx $NAGDIR/examples/source/a02aafe.f90 $NAGDIR/lib/libnag_nag.a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment