3 |
# $Header$ |
# $Header$ |
4 |
# $Name$ |
# $Name$ |
5 |
# |
# |
6 |
|
# These are the build options used with the PGI compiler for the |
7 |
|
# daily testing on ACES (which are initiated by cron jobs on the "ao" |
8 |
|
# head node). |
9 |
|
# |
10 |
|
# Please note the appropriate module command: |
11 |
|
# |
12 |
|
# module add mpich/pgi |
13 |
|
# |
14 |
|
|
15 |
|
|
16 |
FC='mpif77' |
FC='mpif77' |
17 |
CC='mpicc' |
CC='mpicc' |
18 |
DEFINES='-DWORDLENGTH=4 -DALLOW_USE_MPI -DALWAYS_USE_MPI' |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4' |
19 |
|
INCLUDES='-I/usr/local/pkg/mpich/mpich-pgi/include -I/usr/local/pkg/pgi/pgi-5.2/linux86/5.2/include' |
20 |
CPP='cpp -traditional -P' |
CPP='cpp -traditional -P' |
21 |
LINK='mpif77' |
LINK='mpif77' |
22 |
INCLUDEDIRS='-I/usr/local/pkg/mpich/mpich-pgi/include -I/usr/local/pkg/pgi/pgi-5.2/linux86/5.2/include' |
LIBS='-L/usr/local/pkg/mpich/mpich-pgi/lib -L/usr/local/pkg/pgi/pgi-5.2/linux86/5.2/lib' |
23 |
|
|
24 |
|
|
25 |
if test "x$IEEE" = x ; then |
if test "x$IEEE" = x ; then |
26 |
# No need for IEEE-754 |
# No need for IEEE-754 |
27 |
FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend' |
FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend' |
28 |
FOPTIM='-tp p6 -v -O2 -Munroll -Mvect=cachesize:512000,transform' |
# FOPTIM='-tp p6 -v -O2 -Munroll -Mvect=cachesize:512000,transform' |
29 |
|
FOPTIM='-fastsse -Mvect=cachesize:524288,transform' |
30 |
else |
else |
31 |
# Try to follow IEEE-754 |
# Try to follow IEEE-754 |
32 |
FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend' |
FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend' |
33 |
FOPTIM='-tp p6 -v -O2 -Munroll -Mvect=cachesize:512000,transform -Kieee' |
# FOPTIM='-tp p6 -v -O2 -Munroll -Mvect=cachesize:512000,transform -Kieee' |
34 |
|
FOPTIM='-O0 -Mvect=sse -Mscalarsse -Mcache_align -Mnoflushz -Kieee' |
35 |
fi |
fi |
36 |
|
|