/[escript]/branches/domexper/scons/ice_options_example.py
ViewVC logotype

Diff of /branches/domexper/scons/ice_options_example.py

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

revision 1579 by ksteube, Mon Jun 2 08:48:36 2008 UTC revision 1705 by ksteube, Thu Aug 14 05:56:40 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    
24    # Be picky about errors
25    # usepedantic       = 'no'
26    
27    # Extra libraries
28    # sys_libs      = []
29    
30  # Python  # Python libraries
31  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'
32  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'
33  python_lib      = 'python2.4'  # python_libs       = ['python2.4']
34    # python_cmd        = 'python'
35    
36  # Boost  # Boost libraries
37  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'
38  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'
39  boost_lib       = 'boost_python-gcc'  # boost_libs        = ['boost_python-gcc']
40    
41  # Documentation  # Specify whether or not to use VTK
42  # doxygen_path      = '/sw/apps/.../bin'  # usevtk        = 'yes'
 # epydoc_path       = '/sw/apps/.../bin'  
43    
44  # NetCDF  # NetCDF
45  useNetCDF       = 'yes'  # usenetcdf     = 'yes'
46  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'
47  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'
48  netCDF_libs     = ['netcdf_c++', 'netcdf']  # netCDF_libs       = ['netcdf_c++', 'netcdf']
   
 # MPI  
 mpi_path        = '/usr/include'  
 mpi_lib_path        = '/usr/lib64'  
 mpi_libs        = ['mpi']  
 mpi_run         = 'mpirun -np 1'  
   
 # PAPI  
 papi_instrument_solver  = 0  
 # papi_path     = '/sw/.../include'  
 # papi_lib_path     = '/sw/.../lib'  
 # papi_libs     = ['papi']  
49    
50  # MKL  # MKL
51    # usemkl        = 'yes'
52  # mkl_path      = '/sw/sdev/cmkl/10.0.2.18/include'  # mkl_path      = '/sw/sdev/cmkl/10.0.2.18/include'
53  # mkl_lib_path      = '/sw/sdev/cmkl/10.0.2.18/lib/em64t'  # mkl_lib_path      = '/sw/sdev/cmkl/10.0.2.18/lib/em64t'
54  # mkl_libs      = ['mkl_solver', 'mkl_lapack']  # mkl_libs      = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
55    
56  # OpenMP (comment out to disable OpenMP)  # UMFPACK (requires AMD and BLAS)
57  omp_flags       = '-openmp -openmp_report0'  # useumfpack        = 'yes'
58  omp_flags_debug     = '-openmp -openmp_report0'  ufc_path        = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
59    umf_path        = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
60  # C flags (also used by C++)  umf_lib_path        = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
61  cc_flags        = '-O3 -ansi -fPIC -vec-report0 -ftz -IPF-fltacc- -IPF-fma -fno-alias -DBLOCKTIMER -UPASO_DYNAMIC_SCHEDULING_MVM'  # umf_libs      = ['umfpack']
62  cc_flags_debug      = '-g  -ansi -fPIC'  # amd_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
63    # amd_lib_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
64  # C++ flags  # amd_libs      = ['amd']
65  cxx_flags       = ''  # blas_path     = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
66  cxx_flags_debug     = '-DDOASSERT -DDOPROF' # -D... here is not recognized by scons as dependencies  # blas_lib_path     = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
67    # blas_libs     = ['blas']
68    
69    # OpenMP
70    # useopenmp     = 'yes'
71    
72    # MPI MPT (no module load required)
73    # usempi        = 'no'
74    # mpi_path      = '/usr/include'
75    # mpi_lib_path      = '/usr/lib64'
76    mpi_libs        = ['mpi']
77    # mpi_run       = 'mpirun -np 1'
78    
79    # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
80    # mpi_path      = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/include'
81    # mpi_lib_path      = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/lib'
82    # mpi_libs      = ['mpich', 'rt']
83    # mpi_run       = 'mpirun -np 1'
84    
85    # MPICH2 for jumpshot (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
86    # mpi_path      = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/include'
87    # mpi_lib_path      = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/lib'
88    # mpi_libs      = ['lmpe', 'mpe', 'mpich', 'rt']
89    # mpi_run       = 'mpirun -np 1'
90    
91    # Intel MPI (to run Escript use: module load intel-mpi/3.1.038)
92    # mpi_path      = '/sw/sdev/intel/mpi/3.1.038/x86_64/include64'
93    # mpi_lib_path      = '/sw/sdev/intel/mpi/3.1.038/x86_64/lib64'
94    # mpi_libs      = ['mpi']
95    # mpi_run       = 'mpirun -np 1'
96    
97    # mvapich (to run Escript use: module load mvapich/mvapich-1.0.1)
98    # mpi_path      = '/usr/diags/mpi/mvapich/intel/include'
99    # mpi_lib_path      = '/usr/diags/mpi/mvapich/intel/lib/shared'
100    # mpi_libs      = ['mpich']
101    # mpi_run       = 'mpirun -np 1'
102    
103    # OpenMPI (to run Escript use: module load openmpi/gcc-4.1.2/openmpi-1.2.6) (This doesn't compile)
104    # mpi_path      = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/include'
105    # mpi_lib_path      = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/lib'
106    # mpi_libs      = ['mpi']
107    # mpi_run       = 'mpirun -np 1'
108    
109  # System-specific libraries to link with  # ParMETIS (for use with MPI)
110  sys_libs        = ['guide', 'pthread', 'stdc++']  # useparmetis       = 'yes'
111    # parmetis_path     = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/include'
112    # parmetis_lib_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/lib'
113    # parmetis_libs     = ['parmetis', 'metis']
114    
115    # PAPI
116    # usepapi       = 'no'
117    # papi_path     = '/usr/include'
118    # papi_lib_path     = '/usr/lib64'
119    # papi_libs     = ['papi']
120    # papi_instrument_solver    = 'no'
121    

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

  ViewVC Help
Powered by ViewVC 1.1.26