summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-05-07 14:44:59 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-05-07 14:44:59 +0000
commita023a2fd337ba9c5c292c71776b6897a2c7638a9 (patch)
tree5bf085a5d11cbf44f0e152bb7f4977c5edc1853d /lib
parent9b4f82d69277f134d4770b420e42d394b73d7d61 (diff)
Added Erik's flags for the Intel compilers.
This closes PR Cactus/1004. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2795 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib')
-rw-r--r--lib/make/known-architectures/linux26
1 files changed, 15 insertions, 11 deletions
diff --git a/lib/make/known-architectures/linux b/lib/make/known-architectures/linux
index 2ffd75b5..25bcace4 100644
--- a/lib/make/known-architectures/linux
+++ b/lib/make/known-architectures/linux
@@ -186,15 +186,15 @@ else
;;
Intel)
if test "$OPTIMISE" = "no"; then
- : ${F77FLAGS='-132 -w95 -O0'}
- : ${F90FLAGS='-132 -w95 -O0'}
+ : ${F77FLAGS='-align -w95 -O0'}
+ : ${F90FLAGS='-align -w95 -O0'}
else
- : ${F77FLAGS='-132 -w95'}
- : ${F90FLAGS='-132 -w95'}
+ : ${F77FLAGS='-align -w95'}
+ : ${F90FLAGS='-align -w95'}
fi
- : ${F77_OPTIMISE_FLAGS='-O3'}
- : ${F90_OPTIMISE_FLAGS='-O3'}
- : ${LIBS="intrins IEPCF90 F90 m"}
+ : ${F77_OPTIMISE_FLAGS='-O3 -ip'}
+ : ${F90_OPTIMISE_FLAGS='-O3 -ip'}
+ : ${LIBS='intrins IEPCF90 F90 imf m irc cxa cprts cxa'}
# add the libpath if the linker is not Intel
if test "$LD" != "icc" -a -n "$IA32ROOT" ; then
@@ -229,9 +229,11 @@ else
case "$CC" in
[ei]cc)
if test "$OPTIMISE" = "no"; then
- : ${CFLAGS='-O0'}
+ : ${CFLAGS='-O0 -restrict'}
+ else
+ : ${CFLAGS='-restrict'}
fi
- : ${C_OPTIMISE_FLAGS='-O3'}
+ : ${C_OPTIMISE_FLAGS='-O3 -ip'}
: ${C_DEPEND='$(CC) -M $(CPPFLAGS)'}
: ${C_WARN_FLAGS='-w2'}
;;
@@ -249,9 +251,11 @@ else
case "$CXX" in
[ei]cc | ecpc)
if test "$OPTIMISE" = "no"; then
- : ${CXXFLAGS='-O0'}
+ : ${CXXFLAGS='-restrict -O0'}
+ else
+ : ${CXXFLAGS='-restrict'}
fi
- : ${CXX_OPTIMISE_FLAGS='-O3'}
+ : ${CXX_OPTIMISE_FLAGS='-O3 -ip'}
: ${CXX_DEPEND='$(CXX) -M $(CPPFLAGS)'}
;;
sgiCC)