summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-10-26 16:09:58 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-10-26 16:09:58 +0000
commit7da3ee0f5704f4b553af4ca7f5952867bfc0acb6 (patch)
tree69a495ea47b90ee7f7f518e777780701407f76cc
parentd6e88e456c09e1110b00608b321e086cb3a516d0 (diff)
Intel Fortran compiler for EM64T architecture doesn't know about '-xN'
optimization option. Use '-xP' instead. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3877 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rw-r--r--lib/make/known-architectures/linux6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/make/known-architectures/linux b/lib/make/known-architectures/linux
index d870fc58..cc04e26c 100644
--- a/lib/make/known-architectures/linux
+++ b/lib/make/known-architectures/linux
@@ -239,7 +239,11 @@ else
i?86 | x86_64)
# add the necessary libraries according to the compiler version
if test "`$F90 -V 2>&1 | grep Version | sed 's/.*Version //' | sed 's/\..*//'`" -ge 8; then
- intel_p4_opt_flag='-xN'
+ if test "`$F90 -V 2>&1 | grep EM64T`"; then
+ intel_p4_opt_flag='-xP'
+ else
+ intel_p4_opt_flag='-xN'
+ fi
: ${LIBS='ifcore imf svml m'}
else
intel_p4_opt_flag='-xW'