diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2009-01-26 11:26:04 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2009-01-26 11:26:04 +0000 |
commit | a4f8de191263d456174299b29f2e328218da388f (patch) | |
tree | 1105d99aaf15815e7fd9b33590cc82598f628e94 /lib/make/known-architectures | |
parent | 16e9fb211f6cac2086f6e28567b389290852e967 (diff) |
add default OpenMP flags for Portland C/F77/F90 compilers
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4516 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/known-architectures')
-rw-r--r-- | lib/make/known-architectures/linux | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/make/known-architectures/linux b/lib/make/known-architectures/linux index ac371291..297bba2d 100644 --- a/lib/make/known-architectures/linux +++ b/lib/make/known-architectures/linux @@ -216,8 +216,10 @@ else # workaround for calling C varargs functions from Fortran : ${F77FLAGS='-Mx,125,0x200'} : ${F90FLAGS='-Mx,125,0x200'} + : ${F77_OPENMP_FLAGS='-mp'} : ${F77_OPTIMISE_FLAGS='-fast -Mvect=assoc'} : ${F77_WARN_FLAGS='-Minfo -Mneginfo'} + : ${F90_OPENMP_FLAGS='-mp'} : ${F90_OPTIMISE_FLAGS='-fast -Mvect=assoc'} : ${F90_WARN_FLAGS='-Minfo -Mneginfo'} : ${F77_DEBUG_FLAGS='-g'} @@ -399,6 +401,7 @@ else CC_VERSION="`$CC -v 2>&1 | grep -i version | head -n1`" ;; pgcc) + : ${C_OPENMP_FLAGS='-mp'} : ${C_OPTIMISE_FLAGS='-fast -O3 -Mvect=assoc'} : ${C_WARN_FLAGS='-Minfo -Mneginfo'} CC_VERSION="`$CC -V 2>&1 | grep -i pgcc | head -n1`" @@ -462,13 +465,13 @@ else ;; pgCC) : ${CXXFLAGS='--no_using_std'} + : ${CXX_OPENMP_FLAGS='-mp'} : ${CXX_OPTIMISE_FLAGS='-fast -O3 -Mvect=assoc'} : ${CXX_WARN_FLAGS='-Minfo -Mneginfo'} if test `basename $LD` = 'pgCC'; then : ${LDFLAGS='-Wl,--allow-multiple-definition'} fi CXX_VERSION="`$CXX -V 2>&1 | grep pgCC | head -n1`" - : ${CXX_OPENMP_FLAGS='-mp'} ;; pathCC) : ${CXX_OPTIMISE_FLAGS='-Ofast'} |