/[escript]/trunk/scons/ess_options.py
ViewVC logotype

Diff of /trunk/scons/ess_options.py

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

revision 645 by elspeth, Fri Mar 24 01:10:42 2006 UTC revision 751 by bcumming, Mon Jun 26 01:46:34 2006 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
11    use_MPI = False
12    
13    # TODO: Variables named *_path should be *_include
14    
15  # locations of libs etc used by mkl  # locations of libs etc used by mkl
16  mkl_path = '/opt/intel/mkl80.019/include'  mkl_path = '/opt/intel/mkl80.019/include'
# Line 15  mkl_lib_path ='/opt/intel/mkl80.019/lib/ Line 18  mkl_lib_path ='/opt/intel/mkl80.019/lib/
18  mkl_libs = ['mkl_solver', 'mkl_lapack', 'mkl_ipf']  mkl_libs = ['mkl_solver', 'mkl_lapack', 'mkl_ipf']
19    
20  # locations of libs etc used by SCSL  # locations of libs etc used by SCSL
21  scsl_path = ''  scsl_path = '/usr/include'
22  scsl_lib_path = ''  scsl_lib_path = '/usr/lib'
23  scsl_libs = ['scs_mp']  if use_MPI==False :
24        scsl_libs = ['scs_mp']
25  # locations of libs etc used by UMFPACK  else :
26  umfpack_path = ''      scsl_libs = [ 'scs', 'mpi' ]
 umfpack_lib_path = ''  
 umfpack_libs = []  
27    
28  # locations of include files for python  # locations of include files for python
29  python_path = '/raid2/tools/python-2.3.4/include/python2.3'  python_path = '/data/raid2/toolspp4/python/2.4.3/gcc-3.3.6/include/python2.4'
30  python_lib_path = '/raid2/tools/python-2.3.4/lib'  python_lib_path = '/data/raid2/toolspp4/python/2.4.3/gcc-3.3.6/lib'
31  python_lib = 'python2.3'  python_lib = 'python2.4'
32    
33  # locations of libraries for boost  # locations of libraries for boost
34  boost_path = '/raid2/tools/boost/include/boost-1_31'  boost_path = '/data/raid2/toolspp4/boost/1.33.1/python-2.4.3/gcc-3.3.6/include'
35  boost_lib_path = '/raid2/tools/boost/lib'  boost_lib_path = '/data/raid2/toolspp4/boost/1.33.1/python-2.4.3/gcc-3.3.6/lib'
36  boost_lib = 'boost_python-intel-d-1_31'  boost_lib = 'boost_python-mt'
37    
38  # locations of doc building executables  # locations of doc building executables
39  doxygen_path = '/raid2/tools/doxygen/1.4.2/gcc-3.3.5/bin'  doxygen_path = '/raid2/tools/doxygen/1.4.2/gcc-3.3.5/bin'
# Line 43  epydoc_pythonpath = '/raid2/tools/epydoc Line 44  epydoc_pythonpath = '/raid2/tools/epydoc
44  # 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'
45  # 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'
46  # papi_libs = [ 'papi' ]  # papi_libs = [ 'papi' ]
 papi_path = ''  
 papi_lib_path = ''  
 papi_libs = [ ]  
   
 # names of c and c++ compilers to use  
 cc = 'icc'  
 cxx = 'icc'  
47    
48    if use_MPI==False:
49        # c flags to use
50        cc_flags  = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -openmp -openmp_report0 -fno-alias -c99 -w1 -fpic"
51        cc_flags_debug  = '-g -O0 -openmp -openmp_report0 -c99 -w1 -fpic'
52    
53        # c++ flags to use
54        cxx_flags = '-ansi'
55        cxx_flags_debug = '-ansi -DDOASSERT -DDOPROF'
56    
57    else:
58  # c flags to use  # c flags to use
59  cc_flags  = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -openmp -openmp_report0 -fno-alias -c99 -no-gcc -w1 -fpic"      cc_flags  = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -fno-alias -c99 -w1 -fpic -wd161"
60  cc_flags_debug  = '-g -O0 -openmp -openmp_report0 -c99 -ansi_alias -no-gcc -w1 -fpic'      cc_flags_debug  = '-g -O0 -c99 -w1 -fpic -wd161'
61    
62  # c++ flags to use  # c++ flags to use
63  cxx_flags = '-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -openmp -openmp_report0 -ansi -ansi_alias -no-gcc -w1 -fpic'      cxx_flags = '-ansi -wd1563 -wd161'
64  cxx_flags_debug = '-g -O0 -openmp -openmp_report0 -ansi -ansi_alias -no-gcc -w1  -fpic -DDOASSERT -DDOPROF'      cxx_flags_debug = '-ansi -DDOASSERT -DDOPROF -wd1563 -wd161'
65        
 # static library archiver flags to use  
 ar_flags = 'crus'  
   
66  # system specific libraries to link with  # system specific libraries to link with
67  sys_libs = ['guide', 'irc']  sys_libs = ['guide', 'irc']

Legend:
Removed from v.645  
changed lines
  Added in v.751

  ViewVC Help
Powered by ViewVC 1.1.26