8 |
# |
# |
9 |
|
|
10 |
# flag the MPI settings |
# flag the MPI settings |
11 |
use_MPI = False |
# useMPI = 'yes' |
12 |
|
|
13 |
# TODO: Variables named *_path should be *_include |
# TODO: Variables named *_path should be *_include |
14 |
|
|
20 |
# locations of libs etc used by SCSL |
# locations of libs etc used by SCSL |
21 |
scsl_path = '/usr/include' |
scsl_path = '/usr/include' |
22 |
scsl_lib_path = '/usr/lib' |
scsl_lib_path = '/usr/lib' |
23 |
if use_MPI==False : |
scsl_libs = ['scs_mp'] |
24 |
scsl_libs = ['scs_mp'] |
scsl_libs_MPI = [ 'scs', 'mpi' ] |
|
else : |
|
|
scsl_libs = [ 'scs', 'mpi' ] |
|
25 |
|
|
26 |
# locations of include files for python |
# locations of include files for python |
27 |
python_path = '/data/raid2/toolspp4/python/2.4.3/gcc-3.3.6/include/python2.4' |
python_path = '/data/raid2/toolspp4/python/2.4.3/gcc-3.3.6/include/python2.4' |
43 |
# papi_lib_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/lib' |
# papi_lib_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/lib' |
44 |
# papi_libs = [ 'papi' ] |
# papi_libs = [ 'papi' ] |
45 |
|
|
|
if use_MPI==False: |
|
|
# c flags to use |
|
|
cc_flags = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -openmp -openmp_report0 -fno-alias -c99 -w1 -fpic" |
|
|
cc_flags_debug = '-g -O0 -openmp -openmp_report0 -c99 -w1 -fpic' |
|
|
|
|
|
# c++ flags to use |
|
|
cxx_flags = '-ansi' |
|
|
cxx_flags_debug = '-ansi -DDOASSERT -DDOPROF' |
|
|
|
|
|
else: |
|
46 |
# c flags to use |
# c flags to use |
47 |
cc_flags = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -fno-alias -c99 -w1 -fpic -wd161" |
cc_flags = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -openmp -openmp_report0 -fno-alias -c99 -w1 -fpic" |
48 |
cc_flags_debug = '-g -O0 -c99 -w1 -fpic -wd161' |
cc_flags_debug = '-g -O0 -openmp -openmp_report0 -c99 -w1 -fpic' |
49 |
|
|
50 |
# c++ flags to use |
# c++ flags to use |
51 |
cxx_flags = '-ansi -wd1563 -wd161' |
cxx_flags = '-ansi' |
52 |
cxx_flags_debug = '-ansi -DDOASSERT -DDOPROF -wd1563 -wd161' |
cxx_flags_debug = '-ansi -DDOASSERT -DDOPROF' |
53 |
|
|
54 |
|
# c and c++ flags for MPI compilation |
55 |
|
# c flags to use |
56 |
|
cc_flags_MPI = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -fno-alias -c99 -w1 -fpic -wd161" |
57 |
|
cc_flags_debug_MPI = '-g -O0 -c99 -w1 -fpic -wd161' |
58 |
|
|
59 |
|
# c++ flags to use |
60 |
|
cxx_flags_MPI = '-ansi -wd1563 -wd161' |
61 |
|
cxx_flags_debug_MPI = '-ansi -DDOASSERT -DDOPROF -wd1563 -wd161' |
62 |
|
|
63 |
# system specific libraries to link with |
# system specific libraries to link with |
64 |
sys_libs = ['guide', 'irc'] |
sys_libs = ['guide', 'irc'] |