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

Diff of /trunk/scons/ice_options_example.py

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

revision 1559 by ksteube, Wed May 21 04:27:15 2008 UTC revision 1579 by ksteube, Mon Jun 2 08:48:36 2008 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  # Configuration for Savanna  # Configuration for Savanna (SGI ICE 8200)
11    
12  # flag the MPI settings  # ParMETIS
13  # useMPI = 'yes'  # parmetis_path     = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/include'
14    # parmetis_lib_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/lib'
15    # parmetis_lib      = ['parmetis', 'metis']
16    
17    # Python
18    python_path     = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/include/python2.4'
19    python_lib_path     = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/lib'
20    python_lib      = 'python2.4'
21    
22    # Boost
23    boost_path      = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.4.4/boost_1_33/include/boost-1_33'
24    boost_lib_path      = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.4.4/boost_1_33/lib'
25    boost_lib       = 'boost_python-gcc'
26    
27    # Documentation
28    # doxygen_path      = '/sw/apps/.../bin'
29    # epydoc_path       = '/sw/apps/.../bin'
30    
31    # NetCDF
32    useNetCDF       = 'yes'
33    netCDF_path     = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/include'
34    netCDF_lib_path     = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/lib'
35    netCDF_libs     = ['netcdf_c++', 'netcdf']
36    
37    # MPI
38    mpi_path        = '/usr/include'
39    mpi_lib_path        = '/usr/lib64'
40    mpi_libs        = ['mpi']
41    mpi_run         = 'mpirun -np 1'
42    
43    # PAPI
44    papi_instrument_solver  = 0
45    # papi_path     = '/sw/.../include'
46    # papi_lib_path     = '/sw/.../lib'
47    # papi_libs     = ['papi']
48    
49    # MKL
50    # mkl_path      = '/sw/sdev/cmkl/10.0.2.18/include'
51    # mkl_lib_path      = '/sw/sdev/cmkl/10.0.2.18/lib/em64t'
52    # mkl_libs      = ['mkl_solver', 'mkl_lapack']
53    
54    # OpenMP (comment out to disable OpenMP)
55    omp_flags       = '-openmp -openmp_report0'
56    omp_flags_debug     = '-openmp -openmp_report0'
57    
58    # C flags (also used by C++)
59    cc_flags        = '-O3 -ansi -fPIC -vec-report0 -ftz -IPF-fltacc- -IPF-fma -fno-alias -DBLOCKTIMER -UPASO_DYNAMIC_SCHEDULING_MVM'
60    cc_flags_debug      = '-g  -ansi -fPIC'
61    
62    # C++ flags
63    cxx_flags       = ''
64    cxx_flags_debug     = '-DDOASSERT -DDOPROF' # -D... here is not recognized by scons as dependencies
65    
66  # TODO: Variables named *_path should be *_include  # System-specific libraries to link with
67    sys_libs        = ['guide', 'pthread', 'stdc++']
 # locations of libs etc used by mkl  
 ### mkl_path = '/sw/sdev/cmkl/10.0.2.18/include'  
 ### mkl_lib_path = '/sw/sdev/cmkl/10.0.2.18/lib/em64t'  
 ### mkl_libs = ['mkl_solver', 'mkl_lapack']  
 ### mkl_libs = ['mkl_solver', 'mkl_lapack', 'mkl_ipf']      # Library mkl_ipf does not exist anymore  
   
 # locations of libs etc used by SCSL  
 ### scsl_path = '/usr/include'  
 ### scsl_lib_path = '/usr/lib'  
 ### scsl_libs = ['scs_mp']  
 ### scsl_libs_MPI = [ 'scs', 'mpi' ]  
   
 # Location of ParMETIS library  
 ### parmetis_path = '/data/raid2/toolspp4/parmetis/include'  
 ### parmetis_lib_path = '/data/raid2/toolspp4/parmetis/lib'  
 ### parmetis_lib = ['parmetis', 'metis']  
   
 # locations of include files for python  
 python_path = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/include/python2.4'  
 python_lib_path = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/lib'  
 python_lib = 'python2.4'  
   
 # locations of libraries for boost  
 boost_path = '/usr/include/boost'  
 boost_lib_path = '/usr/lib64'  
 boost_lib = 'boost_python'  
   
 # locations of doc building executables  
 ### doxygen_path = '/data/raid2/toolspp4/doxygen/1.4.6/gcc-3.3.6/bin'  
 ### epydoc_path = '/raid2/tools/epydoc/2.1/python-2.3.4/bin'  
   
 # locations of netcdf  
 useNetCDF = 'yes'  
 netCDF_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/include'  
 netCDF_lib_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/lib'  
 netCDF_libs = [ 'netcdf_c++', 'netcdf']  
   
 # locations of PAPI  
 papi_instrument_solver = 0  
 # papi_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/include'  
 # papi_lib_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/lib'  
 # papi_libs = [ 'papi' ]  
   
 mpi_path = '/usr/include'  
 mpi_lib_path = '/usr/lib64'  
 mpi_libs = [ 'mpi' ]  
 mpi_run = 'mpirun -np 1'  
   
 # Change -fno-alias to -fargument-noalias???  
 # -ivdep-parallel is i64 only, not Savanna  
 # Use -ax for vectorization?  
 # -axN and -axW are identical?  
 # -axK not for SSE2  
   
 # Which manual has information about the compiler options?  
   
 omp_flags = '-openmp -openmp_report2 '  
 omp_flags_debug = '-openmp -openmp_report0'  
   
 # c flags to use  
 cc_flags  = '-O3 -ftz -IPF-ftlacc- -IPF-fma -fno-alias -wd161 -fPIC -DBLOCKTIMER'  
 cc_flags_debug  = '-g -O0 -wd161 -fPIC -DBLOCKTIMER'  
   
 # c++ flags to use  
 cxx_flags = '-ansi -wd161 -DMPI_NO_CPPBIND -DBLOCKTIMER'  
 cxx_flags_debug = '-g -ansi -wd161 -DDOASSERT -DDOPROF -DMPI_NO_CPPBIND -fPIC -DBLOCKTIMER'  
   
 # c and c++ flags for MPI compilation  
 # c flags to use  
 cc_flags_MPI  = '-O3 -ftz -IPF-ftlacc- -IPF-fma -fno-alias -wd161 -fPIC -DPASO_MPI -DBLOCKTIMER'  
 cc_flags_debug_MPI  = '-g -O0 -wd161 -fPIC -DPASO_MPI -DBLOCKTIMER'  
   
 # c++ flags to use  
 cxx_flags_MPI = '-ansi -wd1563 -wd161 -DMPI_NO_CPPBIND -DBLOCKTIMER'  
 cxx_flags_debug_MPI = '-ansi -DDOASSERT -DDOPROF -wd1563 -wd161 -DMPI_NO_CPPBIND -DBLOCKTIMER'  
   
 # system specific libraries to link with  
 sys_libs = ['stdc++']  
68    

Legend:
Removed from v.1559  
changed lines
  Added in v.1579

  ViewVC Help
Powered by ViewVC 1.1.26