/[escript]/branches/arrayview_from_1695_trunk/scons/ess_options.py
ViewVC logotype

Contents of /branches/arrayview_from_1695_trunk/scons/ess_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1329 - (show annotations)
Thu Oct 18 05:39:25 2007 UTC (11 years, 8 months ago) by ksteube
Original Path: trunk/scons/ess_options.py
File MIME type: text/x-python
File size: 2613 byte(s)
Can now compile with openmp on cyclone. Had to fix a bug in scons in intelc.py
to allow use of Intel compilers.

1
2 # Copyright 2006 by ACcESS MNRF
3 #
4 # http://www.access.edu.au
5 # Primary Business: Queensland, Australia
6 # Licensed under the Open Software License version 3.0
7 # http://www.opensource.org/licenses/osl-3.0.php
8 #
9
10 # flag the MPI settings
11 # useMPI = 'yes'
12
13 # TODO: Variables named *_path should be *_include
14
15 # locations of libs etc used by mkl
16 mkl_path = '/opt/intel/mkl80.019/include'
17 mkl_lib_path ='/opt/intel/mkl80.019/lib/64'
18 mkl_libs = ['mkl_solver', 'mkl_lapack', 'mkl_ipf']
19
20 # locations of libs etc used by SCSL
21 scsl_path = '/usr/include'
22 scsl_lib_path = '/usr/lib'
23 scsl_libs = ['scs_mp']
24 scsl_libs_MPI = [ 'scs', 'mpi' ]
25
26
27 # locations of include files for python
28 python_path = '/data/raid2/toolspp4/python/2.4.1/gcc-3.3.6/include/python2.4'
29 python_lib_path = '/data/raid2/toolspp4/python/2.4.1/gcc-3.3.6/lib'
30 python_lib = 'python2.4'
31
32 # locations of libraries for boost
33 boost_path = '/data/raid2/toolspp4/boost/1.33.1/python-2.4.1/gcc-3.3.6/include'
34 boost_lib_path = '/data/raid2/toolspp4/boost/1.33.1/python-2.4.1/gcc-3.3.6/lib'
35 boost_lib = 'boost_python-mt'
36
37 # locations of doc building executables
38 doxygen_path = '/data/raid2/toolspp4/doxygen/1.4.6/gcc-3.3.6/bin'
39 epydoc_path = '/raid2/tools/epydoc/2.1/python-2.3.4/bin'
40
41 # locations of netcdf
42 useNetCDF = 'yes'
43 netCDF_path = "/raid2/toolspp4/netcdf/3.6.1/gcc-3.3.6/include"
44 netCDF_lib_path = "/raid2/toolspp4/netcdf/3.6.1/gcc-3.3.6/lib"
45 netCDF_libs = [ 'netcdf_c++', 'netcdf']
46
47 # locations of PAPI
48 papi_instrument_solver = 0
49 # papi_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/include'
50 # papi_lib_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/lib'
51 # papi_libs = [ 'papi' ]
52
53 mpi_path = '/usr/include'
54 mpi_lib_path = '/usr/lib'
55 mpi_libs = [ 'mpi' ]
56 mpi_run = 'mpirun -np 1'
57
58 omp_flags = '-openmp -openmp_report2 '
59 omp_flags_debug = '-openmp -openmp_report0'
60
61 # c flags to use
62 cc_flags = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -c99 -w1 -wd161 -fpic -ivdep-parallel"
63 cc_flags_debug = '-g -O0 -c99 -w1 -wd161 -fpic'
64
65 # c++ flags to use
66 cxx_flags = '-ansi -wd161 -DMPI_NO_CPPBIND'
67 cxx_flags_debug = '-ansi -wd161 -DDOASSERT -DDOPROF -DMPI_NO_CPPBIND'
68
69 # c and c++ flags for MPI compilation
70 # c flags to use
71 cc_flags_MPI = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -c99 -w1 -fpic -wd161 -DPASO_MPI -ivdep-parallel"
72 cc_flags_debug_MPI = '-g -O0 -c99 -w1 -fpic -wd161 -DPASO_MPI'
73
74 # c++ flags to use
75 cxx_flags_MPI = '-ansi -wd1563 -wd161 -DMPI_NO_CPPBIND'
76 cxx_flags_debug_MPI = '-ansi -DDOASSERT -DDOPROF -wd1563 -wd161 -DMPI_NO_CPPBIND'
77
78 # system specific libraries to link with
79 sys_libs = ['guide', 'irc']

  ViewVC Help
Powered by ViewVC 1.1.26