diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-10-14 22:33:25 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-10-14 22:33:25 +0000 |
commit | 0a86c56542788b2099f301e971842ec96f4cf4f3 (patch) | |
tree | d4f05cd8e9f1c093909558ae1e8258d9b150d45d | |
parent | 0a8dd8ea21004031bf3e1c93e4655b9bfd09504c (diff) |
Added known-arch stuff for NAG fortran compiler.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2409 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rw-r--r-- | lib/make/known-architectures/linux | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/make/known-architectures/linux b/lib/make/known-architectures/linux index 63410293..39dfc648 100644 --- a/lib/make/known-architectures/linux +++ b/lib/make/known-architectures/linux @@ -23,6 +23,8 @@ else LINUX_F90_COMP=pacific elif test "`$F90 -V 2>&1 | grep -i f90 | grep -i absoft`" ; then LINUX_F90_COMP=absoft + elif test "`$F90 -V 2>&1 | grep NAGWare`" ; then + LINUX_F90_COMP=nag elif test "`$F90 -V 2>&1 | grep -i fujitsu`" ; then LINUX_F90_COMP=fujitsu elif test "`$F90 -V 2>&1 | grep -i f90 | grep -i pgf90`" ; then @@ -51,6 +53,8 @@ else LINUX_F90_COMP=gnu77 elif test "`$F77 -? 2>&1 | grep -i absoft`" ; then LINUX_F90_COMP=absoft77 + elif test "`$F77 -V 2>&1 | grep NAGWare`" ; then + LINUX_F90_COMP=nag elif test "`$F90 -V 2>&1 | grep -i intel`" ; then LINUX_F90_COMP=Intel elif test "`$F90 -v 2>&1 | grep -i compaq`" ; then @@ -127,8 +131,10 @@ else : ${F90_WARN_FLAGS="-m0"} ;; nag) - : ${LIBS="f90 nagfl90 nag m"} - F90FLAGS="$F90FLAGS -N140" + : ${F77FLAGS='-maxcontin=100 -mismatch -w=x77 -w=uda -w=usy'} + : ${F90FLAGS='-maxcontin=100 -mismatch -w=x77 -w=uda -w=usy'} + : ${F77_OPTIMISE_FLAGS='-O4'} + : ${F90_OPTIMISE_FLAGS='-O4'} ;; portland) : ${LIBS="pgftnrtl pgf90rtl pgf90 pgf90_rpm1 pghpf2 pgc m"} |