/[escript]/branches/csiropost2.0/scons/ice_options_example.py
ViewVC logotype

Diff of /branches/csiropost2.0/scons/ice_options_example.py

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

revision 1620 by ksteube, Fri Jun 27 02:30:18 2008 UTC revision 1785 by ksteube, Thu Sep 11 23:35:42 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 (SGI ICE 8200)  # Configuration for Savanna (SGI ICE 8200 running SUSE Linux)
11    
12  # ParMETIS  # If you cannot use the default compiler flags set in SConstruct, then change them here
13  # parmetis_path     = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/include'  # C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug)
14  # parmetis_lib_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/lib'  # cc_flags      = '-ansi'
15  # parmetis_lib      = ['parmetis', 'metis']  # cc_optim      = '-O2'
16    # cc_debug      = '-g'
17    # omp_optim     = '-openmp'
18    # omp_debug     = '-openmp'
19    # omp_libs      = ['guide']
20    
21    # Use the default C/C++ flags but add something only for this host:
22    # cc_extra      = ''
23    ld_extra        = '-shared-intel'   # Fix warning about feupdate in icc v10
24    
25  # Python  # Be picky about errors
26    # usepedantic       = 'no'
27    
28    # Extra libraries
29    # sys_libs      = []
30    
31    # Python libraries
32  python_path     = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/include/python2.4'  python_path     = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/include/python2.4'
33  python_lib_path     = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/lib'  python_lib_path     = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/lib'
34  python_lib      = 'python2.4'  # python_libs       = ['python2.4']
35    # python_cmd        = 'python'
36    
37  # Boost  # Boost libraries
38  boost_path      = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.4.4/boost_1_33/include/boost-1_33'  boost_path      = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.4.4/boost_1_33/include/boost-1_33'
39  boost_lib_path      = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.4.4/boost_1_33/lib'  boost_lib_path      = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.4.4/boost_1_33/lib'
40  boost_lib       = 'boost_python-gcc'  # boost_libs        = ['boost_python-gcc']
41    
42  # Documentation  # Specify whether or not to use VTK
43  # doxygen_path      = '/sw/apps/.../bin'  # usevtk        = 'yes'
 # epydoc_path       = '/sw/apps/.../bin'  
44    
45  # NetCDF  # NetCDF
46  useNetCDF       = 'yes'  # usenetcdf     = 'yes'
47  netCDF_path     = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/include'  netCDF_path     = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/include'
48  netCDF_lib_path     = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/lib'  netCDF_lib_path     = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/lib'
49  netCDF_libs     = ['netcdf_c++', 'netcdf']  # netCDF_libs       = ['netcdf_c++', 'netcdf']
50    
51    # MKL
52    # usemkl        = 'yes'
53    # mkl_path      = '/sw/sdev/cmkl/10.0.2.18/include'
54    # mkl_lib_path      = '/sw/sdev/cmkl/10.0.2.18/lib/em64t'
55    # mkl_libs      = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
56    
57    # UMFPACK (requires AMD and BLAS)
58    # useumfpack        = 'yes'
59    # ufc_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
60    # umf_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
61    # umf_lib_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
62    # umf_libs      = ['umfpack']
63    # amd_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
64    # amd_lib_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
65    # amd_libs      = ['amd']
66    # blas_path     = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
67    # blas_lib_path     = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
68    # blas_libs     = ['blas']
69    
70    # OpenMP
71    # useopenmp     = 'yes'
72    
73  # MPI MPT (no module load required)  # MPI MPT (no module load required)
74    # usempi        = 'no'
75  # mpi_path      = '/usr/include'  # mpi_path      = '/usr/include'
76  # mpi_lib_path      = '/usr/lib64'  # mpi_lib_path      = '/usr/lib64'
77  # mpi_libs      = ['mpi']  mpi_libs        = ['mpi']
78  # mpi_run       = 'mpirun -np 1'  # mpi_run       = 'mpirun -np 1'
79    
80  # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)  # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
# Line 70  netCDF_libs        = ['netcdf_c++', 'netcdf'] Line 107  netCDF_libs        = ['netcdf_c++', 'netcdf']
107  # mpi_libs      = ['mpi']  # mpi_libs      = ['mpi']
108  # mpi_run       = 'mpirun -np 1'  # mpi_run       = 'mpirun -np 1'
109    
110    # ParMETIS (for use with MPI)
111    # useparmetis       = 'yes'
112    parmetis_path       = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/include'
113    parmetis_lib_path   = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/lib'
114    # parmetis_libs     = ['parmetis', 'metis']
115    
116  # PAPI  # PAPI
117  papi_instrument_solver  = 0  # usepapi       = 'no'
118  # papi_path     = '/sw/.../include'  # papi_path     = '/usr/include'
119  # papi_lib_path     = '/sw/.../lib'  # papi_lib_path     = '/usr/lib64'
120  # papi_libs     = ['papi']  # papi_libs     = ['papi']
121    # papi_instrument_solver    = 'no'
 # 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']  
   
 # OpenMP (comment out to disable OpenMP)  
 omp_flags       = '-openmp -openmp_report0'  
 omp_flags_debug     = '-openmp -openmp_report0'  
   
 # C flags (also used by C++)  
 cc_flags        = '-O3 -ansi -fPIC -vec-report0 -ftz -IPF-fltacc- -IPF-fma -fno-alias -DBLOCKTIMER -UPASO_DYNAMIC_SCHEDULING_MVM -DCORE_ID1'  
 cc_flags_debug      = '-g  -ansi -fPIC'  
   
 # C++ flags  
 cxx_flags       = ''  
 cxx_flags_debug     = '-DDOASSERT -DDOPROF' # -D... here is not recognized by scons as dependencies  
   
 # System-specific libraries to link with  
 sys_libs        = ['guide', 'pthread', 'stdc++']  
122    

Legend:
Removed from v.1620  
changed lines
  Added in v.1785

  ViewVC Help
Powered by ViewVC 1.1.26