/[escript]/branches/windows_from_1456_trunk_1522_merged_in/scons/cognac_options.py
ViewVC logotype

Contents of /branches/windows_from_1456_trunk_1522_merged_in/scons/cognac_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1374 - (show annotations)
Tue Jan 8 09:37:55 2008 UTC (11 years, 8 months ago) by gross
Original Path: trunk/scons/cognac_options.py
File MIME type: text/x-python
File size: 2945 byte(s)
some changes to get things going on the cognac.ivec.org.
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 = 'no'
12
13 # TODO: Variables named *_path should be *_include
14
15 python_version="2.4"
16 python_installation="2.4.4/icc10.0.023"
17 boost_version="1_33_1"
18 boost_installation="1.33.1/python2.4.4/icc9.1.051"
19
20 #prefix = ARGUMENTS.get('prefix', '/opt/esys-escript/unstable/')
21 #tools_prefix="/opt/esys-escript/unstable/"
22
23 # get the installation prefix
24 # locations of libs etc used by mkl
25 mkl_path = '/opt/intel_mkl/9.1.018/include'
26 #mkl_lib_path ='/opt/intel/mkl80.019/lib/64'
27 mkl_lib_path ='/opt/intel_mkl/9.1.018/lib/64'
28 mkl_libs = ['mkl_solver', 'mkl_lapack', 'mkl_ipf']
29
30 # locations of libs etc used by SCSL
31 scsl_path = '/opt/scsl/1.6.1.0/include'
32 scsl_lib_path = '/opt/scsl/1.6.1.0/lib'
33 scsl_libs = ['scs_mp']
34 scsl_libs_MPI = [ 'scs', 'mpi' ]
35
36
37 # locations of include files for python
38 # python_exec= '/opt/python/'+python_installation+'/bin/python'
39 python_exec= 'python'
40 python_path = '/opt/python/'+python_installation+'/include/python'+python_version
41 python_lib_path = '/opt/python/'+python_installation+'/lib'
42 python_lib = 'python'+python_version
43
44 # locations of libraries for boost
45 boost_path = '/opt/boost/'+boost_installation+'/include/boost-'+boost_version
46 boost_lib_path = '/opt/boost/'+boost_installation+'/lib'
47 boost_lib = 'boost_python-mt'
48
49 # locations of doc building executables
50 doxygen_path = '/opt/doxygen-1.4.5/bin'
51 epydoc_path = '/opt/epydoc-2.1/bin'
52
53 # locations of netcdf
54 useNetCDF = 'yes'
55 netCDF_path = "/opt/netcdf/3.6.2/include"
56 netCDF_lib_path = "/opt/netcdf/3.6.2/lib"
57 netCDF_libs = [ 'netcdf_c++', 'netcdf']
58
59 # locations of PAPI
60 papi_instrument_solver = 0
61 # papi_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/include'
62 # papi_lib_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/lib'
63 # papi_libs = [ 'papi' ]
64
65 mpi_path = '/usr/include'
66 mpi_lib_path = '/usr/lib'
67 mpi_libs = [ 'mpi' ]
68 mpi_run = 'mpirun -np 1'
69
70 omp_flags = '-openmp -openmp_report2 '
71 omp_flags_debug = '-openmp -openmp_report0'
72
73 # c flags to use
74 cc_flags = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -c99 -w1 -wd161 -fpic -ivdep-parallel"
75 cc_flags_debug = '-g -O0 -c99 -w1 -wd161 -fpic'
76
77 # c++ flags to use
78 cxx_flags = '-ansi -wd161 -DMPI_NO_CPPBIND'
79 cxx_flags_debug = '-ansi -wd161 -DDOASSERT -DDOPROF -DMPI_NO_CPPBIND'
80
81 # c and c++ flags for MPI compilation
82 # c flags to use
83 cc_flags_MPI = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -c99 -w1 -fpic -wd161 -DPASO_MPI -ivdep-parallel"
84 cc_flags_debug_MPI = '-g -O0 -c99 -w1 -fpic -wd161 -DPASO_MPI'
85
86 # c++ flags to use
87 cxx_flags_MPI = '-ansi -wd1563 -wd161 -DMPI_NO_CPPBIND'
88 cxx_flags_debug_MPI = '-ansi -DDOASSERT -DDOPROF -wd1563 -wd161 -DMPI_NO_CPPBIND'
89
90 # system specific libraries to link with
91 sys_libs = ['guide', 'irc']
92

  ViewVC Help
Powered by ViewVC 1.1.26