summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-07-26 16:53:38 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-07-26 16:53:38 +0000
commitfd62b400921a4d1f9eb4dae64c6943917196e3ef (patch)
tree3a0e9dd3b0a7cb7d65b45b70260841271e0ac106 /lib
parent95019ed40be9927461bddd6069b2617904db9068 (diff)
Added support for Absoft f77, now to compile with this you need
to select thorns very carefully (WaveToyF77,CartGrid3D,Boundary) git-svn-id: http://svn.cactuscode.org/flesh/trunk@792 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib')
-rw-r--r--lib/make/known-architectures/linux14
1 files changed, 12 insertions, 2 deletions
diff --git a/lib/make/known-architectures/linux b/lib/make/known-architectures/linux
index 8d2105eb..63425cff 100644
--- a/lib/make/known-architectures/linux
+++ b/lib/make/known-architectures/linux
@@ -21,11 +21,13 @@ if test -n "$F90" ; then
LINUX_F90_COMP=portland
elif test "`$F90 -v 2>&1 | grep -i g77`" ; then
LINUX_F90_COMP=gnu77
+ elif test "`$F90 -? 2>&1 | grep -i absoft`" ; then
+ LINUX_F90_COMP=absoft77
else
echo Unknown Linux f90 compiler.
echo Please add appropriate information to
echo $srcdir/known-architectures/linux-gnu
- echo and send the updated file to CactusMaint
+ echo ad send the updated file to CactusMaint
echo We will try anyway ...
fi
else
@@ -44,6 +46,13 @@ case "$LINUX_F90_COMP" in
if test -n "$ABSOFT" ; then
: ${LIBDIRS='$(ABSOFT)/lib'}
fi ;;
+ absoft77)
+ : ${LIBS="fio f77math m"}
+ F90FLAGS="-f"
+ # Test if it is a version of the absoft compiler which has the library in a custom place.
+ if test -n "$ABSOFT" ; then
+ : ${LIBDIRS='$(ABSOFT)/lib'}
+ fi ;;
nag)
: ${LIBS="f90 nagfl90 nag m"}
F90FLAGS="$F90FLAGS -N140" ;;
@@ -56,5 +65,6 @@ case "$LINUX_F90_COMP" in
echo Please add appropriate information to
echo $srcdir/known-architectures/linux-gnu
echo and send the updated file to CactusMaint
- exit 2 ;;
+ echo We will try anyway ...
+ ;;
esac