/[escript]/temp_trunk_copy/scons/cognac_options.py
ViewVC logotype

Diff of /temp_trunk_copy/scons/cognac_options.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1336  
changed lines
  Added in v.1356

  ViewVC Help
Powered by ViewVC 1.1.26