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

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

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

revision 551 by robwdcock, Wed Feb 22 02:59:25 2006 UTC revision 1380 by gross, Wed Jan 9 04:26:03 2008 UTC
# Line 1  Line 1 
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    #   assumed modules:
10    #
11    #  module load scons/0.96.91
12    #  module load intel-cc/10.0.023
13    #  module load python/2.4.4/icc10.0.023
14    #  module load numarray/1.5.2/python2.4.4_icc10.0.023/icc10.0.023
15    #  module load boost/1.33.1/python2.4.4/icc9.1.051
16    #  module load netcdf/3.6.2
17    #  module load intel-mkl/9.1.018
18    #  module load scsl/1.6.1.0
19    #
20    
21    # flag the MPI settings
22    useMPI = 'no'
23    
24    # TODO: Variables named *_path should be *_include
25    
26    python_version="2.4"
27    python_installation="2.4.4/icc10.0.023"
28    boost_version="1_33_1"
29    boost_installation="1.33.1/python2.4.4/icc9.1.051"
30    
31    #prefix = ARGUMENTS.get('prefix', '/opt/esys-escript/unstable/')
32    #tools_prefix="/opt/esys-escript/unstable/"
33    
34    #    get the installation prefix
35  # locations of libs etc used by mkl  # locations of libs etc used by mkl
36  mkl_path = '/opt/intel_mkl/8.0.19/include'  mkl_path = '/opt/intel_mkl/9.1.018/include'
37  mkl_lib_path = '/opt/intel_mkl/8.0.19/lib/64'  #mkl_lib_path ='/opt/intel/mkl80.019/lib/64'
38    mkl_lib_path ='/opt/intel_mkl/9.1.018/lib/64'
39  mkl_libs = ['mkl_solver', 'mkl_lapack', 'mkl_ipf']  mkl_libs = ['mkl_solver', 'mkl_lapack', 'mkl_ipf']
40    
41  # locations of libs etc used by SCSL  # locations of libs etc used by SCSL
42  scsl_path = ''  scsl_path = '/opt/scsl/1.6.1.0/include'
43  scsl_lib_path = ''  scsl_lib_path = '/opt/scsl/1.6.1.0/lib'
44  scsl_libs = ['scs_mp']  scsl_libs = ['scs_mp']
45    scsl_libs_MPI = [ 'scs', 'mpi' ]
46    
                                                                                                                                                                                                       
 # locations of libs etc used by UMFPACK  
 umfpack_path = ''  
 umfpack_lib_path = ''  
 umfpack_libs = []  
47    
48  # locations of include files for python  # locations of include files for python
49  python_path = '/usr/include/python2.3'  # python_exec= '/opt/python/'+python_installation+'/bin/python'
50  python_lib_path = '/usr/lib/python2.3/lib'  python_exec= 'python'
51  python_lib = 'python2.3'  python_path = '/opt/python/'+python_installation+'/include/python'+python_version
52    python_lib_path = '/opt/python/'+python_installation+'/lib'
53    python_lib = 'python'+python_version
54    
55  # locations of libraries for boost  # locations of libraries for boost
56  boost_path = '/home/woo409/dev/boost_1_33_1'  boost_path = '/opt/boost/'+boost_installation+'/include/boost-'+boost_version
57  boost_lib_path = '/home/woo409/dev/boost_1_33_1/altix_binary/lib'  boost_lib_path = '/opt/boost/'+boost_installation+'/lib'
58  boost_lib = 'boost_python-il-mt-1_33_1'  boost_lib = 'boost_python-mt'
59    
60  # names of libraries for python and boost  # locations of doc building executables
61    doxygen_path = '/opt/doxygen-1.4.5/bin'
62  # names of c and c++ compilers to use  epydoc_path = '/opt/epydoc-2.1/bin'
63  cc = 'icc'  
64  cxx = 'icpc'  # locations of netcdf
65    useNetCDF = 'yes'
66    netCDF_path = "/opt/netcdf/3.6.2/include"
67    netCDF_lib_path = "/opt/netcdf/3.6.2/lib"
68    netCDF_libs = [ 'netcdf_c++', 'netcdf']
69    
70    # locations of PAPI
71    papi_instrument_solver = 0
72    # papi_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/include'
73    # papi_lib_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/lib'
74    # papi_libs = [ 'papi' ]
75    
76    mpi_path = '/usr/include'
77    mpi_lib_path = '/usr/lib'
78    mpi_libs = [ 'mpi' ]
79    mpi_run = 'mpirun -np 1'
80    
81    omp_flags = '-openmp -openmp_report2 '
82    omp_flags_debug = '-openmp -openmp_report0'
83    
84  # c flags to use  # c flags to use
85  cc_flags  = '-O3 -fpic -IPF_fma -ftz -openmp -openmp_report0 -mp1 -tpp2 -c99 -ansi_alias -w1'  cc_flags  = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -c99 -w1 -wd161 -fpic -ivdep-parallel"
86  cc_flags_debug  = '-g -O0 -fpic -openmp -openmp_report0 -tpp2 -c99 -ansi_alias -w1'  cc_flags_debug  = '-g -O0 -c99 -w1 -wd161 -fpic'
87    
88  # c++ flags to use  # c++ flags to use
89  cxx_flags = '-O3 -fpic -IPF_fma -ftz -openmp -openmp_report0 -mp1 -tpp2 -ansi -ansi_alias -w1'  cxx_flags = '-ansi -wd161 -DMPI_NO_CPPBIND'
90  cxx_flags_debug = '-g -O0 -fpic -openmp -openmp_report0 -tpp2 -ansi -ansi_alias -w1 -DDOASSERT -DDOPROF'  cxx_flags_debug = '-ansi -wd161 -DDOASSERT -DDOPROF -DMPI_NO_CPPBIND'
91    
92  # static library archiver flags to use  # c and c++ flags for MPI compilation
93  ar_flags = 'crus'  # c flags to use
94    cc_flags_MPI  = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -c99 -w1 -fpic -wd161 -DPASO_MPI -ivdep-parallel"
95    cc_flags_debug_MPI  = '-g -O0 -c99 -w1 -fpic -wd161 -DPASO_MPI'
96    
97    # c++ flags to use
98    cxx_flags_MPI = '-ansi -wd1563 -wd161 -DMPI_NO_CPPBIND'
99    cxx_flags_debug_MPI = '-ansi -DDOASSERT -DDOPROF -wd1563 -wd161 -DMPI_NO_CPPBIND'
100    
101  # system specific libraries to link with  # system specific libraries to link with
102  sys_libs = ['guide', 'irc']  sys_libs = ['guide', 'irc']
103    

Legend:
Removed from v.551  
changed lines
  Added in v.1380

  ViewVC Help
Powered by ViewVC 1.1.26