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

Diff of /trunk/scons/shake75_options.py

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

revision 2179 by caltinay, Thu Dec 18 00:23:55 2008 UTC revision 3174 by caltinay, Fri Sep 10 03:55:18 2010 UTC
# Line 1  Line 1 
1    
2  ########################################################  ########################################################
3  #  #
4  # Copyright (c) 2003-2008 by University of Queensland  # Copyright (c) 2003-2010 by University of Queensland
5  # Earth Systems Science Computational Center (ESSCC)  # Earth Systems Science Computational Center (ESSCC)
6  # http://www.uq.edu.au/esscc  # http://www.uq.edu.au/esscc
7  #  #
# Line 13  Line 13 
13    
14    
15  # Configuration for shake75 (32-bit Intel Core 2 running Debian Linux)  # Configuration for shake75 (32-bit Intel Core 2 running Debian Linux)
16    # If you cannot use the default compiler flags set in SConstruct,
17  # If you cannot use the default compiler flags set in SConstruct, then change them here  # then change them here
18    #cc="gcc-4.4"
19    #cxx="g++-4.4"
20  # C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug)  # C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug)
21  # cc_flags      = '-ansi'  # cc_flags      = '-ansi'
22  # cc_optim      = '-O2'  # cc_optim      = '-O2'
23  # usedebug= 'no'  # usedebug      = 'no'
24  # cc_debug      = '-g'  # cc_debug      = '-g'
25  omp_optim       = '-fopenmp'  omp_optim       = '-fopenmp'
26  omp_debug       = '-fopenmp'  omp_debug       = ''
27  # omp_libs      = []  omp_libs        = []
28    
29  # Use the default C/C++ flags but add something only for this host:  # Use the default C/C++ flags but add something only for this host:
30  cc_extra        = '-Wall'  cc_extra        = '-Wall -mmmx -msse'
31  ld_extra        = '-fopenmp'  cxx_extra       = '-Wall -mmmx -msse'
32    ld_extra        = '-fopenmp'
33    
34  # Be picky about errors  # Be picky about errors
35  # usepedantic       = 'no'  # usepedantic   = 'no'
36    
37  # Extra libraries  # Extra libraries
38  # sys_libs      = []  # sys_libs      = []
39    
40  # Python libraries  # Python libraries
41  # python_path       = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/include/python2.4'  # python_path       = '/usr/lib/python2.6'
42  # python_lib_path   = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/lib'  # python_lib_path   = '/usr/lib'
43  # python_libs       = 'python2.4'  # python_libs       = 'python2.6'
44  # python_cmd        = 'python'  # python_cmd        = 'python'
45    
46  # Boost libraries  # Boost libraries
47  # boost_path        = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.4.4/boost_1_33/include/boost-1_33'  boost_path          = '/usr/include/'
48  # boost_lib_path    = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.4.4/boost_1_33/lib'  # boost_lib_path    = '/usr/lib'
49  boost_libs      = ['boost_python-mt']  boost_libs          = ['boost_python']
50    
51  # Specify whether or not to use VTK  # Specify whether or not to use VTK
52  # usevtk        = 'yes'  # usevtk            = 'yes'
53    
54  # NetCDF  # NetCDF
55  #usenetcdf      = 'yes'  #usenetcdf          = 'yes'
56  #netCDF_path        = '/usr/include/netcdf-3/'  #netCDF_path        = '/usr/include/'
57  #netCDF_lib_path    = '/usr/lib/'  #netCDF_lib_path    = '/usr/lib/'
58  #netCDF_libs        = ['netcdf_c++', 'netcdf']  #netCDF_libs        = ['netcdf_c++', 'netcdf']
59    
60  # MKL  # MKL
61  # usemkl        = 'yes'  # usemkl        = 'yes'
62  # mkl_path      = '/sw/sdev/cmkl/10.0.2.18/include'  # mkl_path      = '/usr/include'
63  # mkl_lib_path      = '/sw/sdev/cmkl/10.0.2.18/lib/em64t'  # mkl_lib_path  = '/usr/lib'
64  # mkl_libs      = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']  # mkl_libs      = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
65    
66  # UMFPACK (requires AMD and BLAS)  # UMFPACK (requires AMD and BLAS)
67  # useumfpack        = 'yes'  useumfpack      = 'yes'
68  # ufc_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  # ufc_path      = '/usr/include'
69  # umf_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  # umf_path      = '/usr/include'
70  # umf_lib_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'  # umf_lib_path  = '/usr/lib'
71  # umf_libs      = ['umfpack']  # umf_libs      = ['umfpack']
72  # amd_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  # amd_path      = '/usr/include'
73  # amd_lib_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'  # amd_lib_path  = '/usr/lib'
74  # amd_libs      = ['amd']  # amd_libs      = ['amd']
75  # blas_path     = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  # blas_path     = '/usr/include'
76  # blas_lib_path     = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'  # blas_lib_path = '/usr/lib'
77  # blas_libs     = ['blas']  # blas_libs     = ['blas']
78    
79    #Lapack
80    uselapack       = 'yes'
81    #lapack_path    = ''
82    #lapack_lib_path= ''
83    lapack_libs     = ['lapack_atlas']
84    
85    # Silo
86    usesilo         = 'yes'
87    silo_path       = '/usr/local/include/'
88    silo_lib_path   = '/usr/local/lib/'
89    silo_libs       = ['siloh5', 'hdf5']
90    
91    # VisIt
92    usevisit        = 'yes'
93    visit_path      = '/opt/visit/2.1.0/linux-intel/libsim/V2/include'
94    visit_lib_path  = '/opt/visit/2.1.0/linux-intel/libsim/V2/lib'
95    #visit_path      = '/home/caltinay/src/visit-trunk/src/include/visit'
96    #visit_lib_path  = '/home/caltinay/src/visit-trunk/src/lib'
97    
98  # OpenMP  # OpenMP
99  useopenmp       = 'yes'  useopenmp       = 'yes'
100    
101  # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)  # MPI
102  usempi= 'yes'  usempi          = 'yes'
103  mpi_path        = '/usr/include/mpi'  mpi_path        = '/usr/include/mpi'
104  mpi_lib_path        = '/usr/lib/openmpi/lib'  mpi_lib_path    = '/usr/lib/openmpi/lib'
105  mpi_libs        = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']  mpi_libs        = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
106  mpi_run     = 'mpiexec -np 4'  mpi_flavour     = 'OPENMPI'
107    
108  # ParMETIS (for use with MPI)  # ParMETIS (for use with MPI)
109  #useparmetis        = 'yes'  #useparmetis        = 'yes'
110  #parmetis_path      = '/usr/local/include'  #parmetis_path      = '/usr/local/include'
111  #parmetis_lib_path  = '/usr/local/lib'  #parmetis_lib_path  = '/usr/local/lib'
112  #parmetis_libs      = ['parmetis', 'metis']  #parmetis_libs      = ['parmetis', 'metis']
113    
114  # PAPI  # PAPI
115  # usepapi       = 'no'  # usepapi                = 'no'
116  # papi_path     = '/usr/include'  # papi_path              = '/usr/include'
117  # papi_lib_path     = '/usr/lib'  # papi_lib_path          = '/usr/lib'
118  # papi_libs     = ['papi']  # papi_libs              = ['papi']
119  # papi_instrument_solver    = 'no'  # papi_instrument_solver = 'no'
120    

Legend:
Removed from v.2179  
changed lines
  Added in v.3174

  ViewVC Help
Powered by ViewVC 1.1.26