5 |
# |
# |
6 |
# Build options for PathScale (EKOPATH) Compiler on Linux x86-64 |
# Build options for PathScale (EKOPATH) Compiler on Linux x86-64 |
7 |
# first version tested on Fedore Core 3 x86-64 Opteron (Linux batsi) |
# first version tested on Fedore Core 3 x86-64 Opteron (Linux batsi) |
8 |
# updated and tested on acesgrid (Fedora Core 15) |
# updated and tested on acesgrid (Fedora Core 15), using: |
9 |
|
# module load ekopath (Version 4.0.10) |
10 |
# |
# |
11 |
#------- |
#------- |
12 |
# run with OpenMP: needs to set environment var. OMP_NUM_THREADS |
# run with OpenMP: needs to set environment var. OMP_NUM_THREADS |
21 |
|
|
22 |
CC=pathcc |
CC=pathcc |
23 |
FC=pathf90 |
FC=pathf90 |
24 |
LD=pathf90 |
LINK=pathf90 |
25 |
|
|
26 |
DEFINES='-DWORDLENGTH=4' |
DEFINES='-DWORDLENGTH=4' |
27 |
CPP='cpp -traditional -P' |
CPP='cpp -traditional -P' |
|
NOOPTFLAGS='-O0 -g' |
|
|
NOOPTFILES='' |
|
28 |
GET_FC_VERSION="-v" |
GET_FC_VERSION="-v" |
29 |
OMPFLAG='-openmp' |
OMPFLAG='-openmp' |
30 |
|
|
31 |
|
NOOPTFLAGS='-O0 -g' |
32 |
|
NOOPTFILES='' |
33 |
|
|
34 |
if test "x$DEVEL" != x ; then |
if test "x$DEVEL" != x ; then |
35 |
FFLAGS='-m64 -convert big_endian -fPIC -ffortran-bounds-check -trapuv -g' |
FFLAGS='-m64 -convert big_endian -fPIC -ffortran-bounds-check -trapuv -g' |
36 |
else |
else |