/[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 738 by matt, Sat Jun 17 06:00:19 2006 UTC revision 751 by bcumming, Mon Jun 26 01:46:34 2006 UTC
# Line 7  Line 7 
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  # TODO: Variables named *_path should be *_include
14    
15  # locations of libs etc used by mkl  # locations of libs etc used by mkl
# Line 17  mkl_libs = ['mkl_solver', 'mkl_lapack', Line 20  mkl_libs = ['mkl_solver', 'mkl_lapack',
20  # locations of libs etc used by SCSL  # locations of libs etc used by SCSL
21  scsl_path = '/usr/include'  scsl_path = '/usr/include'
22  scsl_lib_path = '/usr/lib'  scsl_lib_path = '/usr/lib'
23  scsl_libs = ['scs_mp']  if use_MPI==False :
24        scsl_libs = ['scs_mp']
25    else :
26        scsl_libs = [ 'scs', 'mpi' ]
27    
28  # locations of include files for python  # locations of include files for python
29  python_path = '/data/raid2/toolspp4/python/2.4.3/gcc-3.3.6/include/python2.4'  python_path = '/data/raid2/toolspp4/python/2.4.3/gcc-3.3.6/include/python2.4'
# Line 39  epydoc_pythonpath = '/raid2/tools/epydoc Line 45  epydoc_pythonpath = '/raid2/tools/epydoc
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' ]
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 -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 -w1 -fpic'      cc_flags_debug  = '-g -O0 -c99 -w1 -fpic -wd161'
61    
62  # c++ flags to use  # c++ flags to use
63  cxx_flags = '-ansi'      cxx_flags = '-ansi -wd1563 -wd161'
64  cxx_flags_debug = '-ansi -DDOASSERT -DDOPROF'      cxx_flags_debug = '-ansi -DDOASSERT -DDOPROF -wd1563 -wd161'
65        
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.738  
changed lines
  Added in v.751

  ViewVC Help
Powered by ViewVC 1.1.26