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

Diff of /trunk/scons/service0_options.py

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

revision 1810 by ksteube, Thu Sep 25 06:53:26 2008 UTC revision 2788 by jfenwick, Fri Nov 27 05:23:14 2009 UTC
# Line 1  Line 1 
1    
2  ########################################################  ########################################################
3  #  #
4  # Copyright (c) 2003-2008 by University of Queensland  # Copyright (c) 2003-2009 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 14  Line 14 
14    
15  # Configuration for Savanna (SGI ICE 8200 running SUSE Linux)  # Configuration for Savanna (SGI ICE 8200 running SUSE Linux)
16    
17    # Append environment variables which need to be passed through scons to
18    # other tools
19    env_export=['INTEL_LICENSE_FILE']
20    
21  # If you cannot use the default compiler flags set in SConstruct, then change them here  # If you cannot use the default compiler flags set in SConstruct, then change them here
22  # 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)
23  # cc_flags      = '-ansi'  # cc_flags      = '-ansi'
24  # cc_optim      = '-O2'  # cc_optim      = '-O2'
25  # cc_debug      = '-g'  # cc_debug      = '-g'
26  # omp_optim     = '-openmp'  omp_optim       = '-openmp  -openmp-report2'
27  # omp_debug     = '-openmp'  # omp_debug     = '-openmp'
28  # omp_libs      = ['guide']  # omp_libs      = ['guide']
29    
30  # 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:
31  # cc_extra      = ''  cc_extra        = '-sox'        # Embed compiler version and compile options in binaries
32  ld_extra        = '-shared-intel'   # Fix warning about feupdate in icc v10  ld_extra        = '-shared-intel'   # Fix warning about feupdate in icc v10
33    
34  # Be picky about errors  # Be picky about errors
# Line 34  ld_extra       = '-shared-intel'   # Fix warnin Line 38  ld_extra       = '-shared-intel'   # Fix warnin
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     = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.6.2/include/python2.6'
42  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.6.2/lib'
43  # python_libs       = ['python2.4']  # python_libs       = ['python2.4']
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      = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.6.2/boost_1_39_0/include/boost-1_39'
48  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.6.2/boost_1_39_0/lib'
49  # boost_libs        = ['boost_python-gcc']  boost_libs      = ['boost_python-gcc41-mt']
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     = '/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'
57  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'
58  # netCDF_libs       = ['netcdf_c++', 'netcdf']  # netCDF_libs       = ['netcdf_c++', 'netcdf']
59    
60    
61  # MKL  # MKL
62  # usemkl        = 'yes'  usemkl      = 'yes'
63  # mkl_path      = '/sw/sdev/cmkl/10.0.2.18/include'  #MKL for version 10.1.0.015
64  # mkl_lib_path      = '/sw/sdev/cmkl/10.0.2.18/lib/em64t'  mkl_path        = '/sw/sdev/intel/cmkl/10.1.0.015/include'
65    mkl_lib_path        = '/sw/sdev/intel/cmkl/10.1.0.015/lib/em64t'
66    mkl_libs                =  [ "mkl_core", "mkl_intel_lp64",  "mkl_intel_thread", "mkl_lapack", 'guide', 'pthread' , "mkl_mc", "mkl_def"]
67  # mkl_libs      = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']  # mkl_libs      = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
68    #MKL for version 10.2.1.017
69    #mkl_path       = '/sw/sdev/intel/cmkl/10.2.1.017/include'
70    #mkl_lib_path       = '/sw/sdev/intel/cmkl/10.2.1.017/lib/em64t'
71    
72    
73  # UMFPACK (requires AMD and BLAS)  # UMFPACK (requires AMD and BLAS)
74  # useumfpack        = 'yes'  useumfpack      = 'yes'
75  # ufc_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  ufc_path        = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
76  # umf_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  umf_path        = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
77  # umf_lib_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'  umf_lib_path        = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
78  # umf_libs      = ['umfpack']  umf_libs        = ['umfpack']
79  # amd_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  amd_path        = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
80  # amd_lib_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'  amd_lib_path        = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
81  # amd_libs      = ['amd']  amd_libs        = ['amd']
82  # blas_path     = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  blas_path       = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
83  # blas_lib_path     = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'  blas_lib_path       = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
84  # blas_libs     = ['blas']  blas_libs       = ['blas']
85    
86    
87    #Lapack
88    uselapack       = 'yes'
89    #lapack_path        = '/sw/sdev/intel/cmkl/10.1.0.015/include'
90    #lapack_lib_path        = '/sw/sdev/intel/cmkl/10.1.0.015/lib/em64t'
91    #lapack_libs        = ['mkl_lapack','mkl','guide','pthread']
92    lapack_type     = 'mkl'
93    
94    
95    # ParMETIS (for use with MPI) (these setting my be overwritten depending on the mpi version used)
96    useparmetis     = 'yes'
97    parmetis_path       = '/sw/libs/parmetis/x86_64/gcc-4.1.2/intelmpi/parmetis-3.1/include'
98    parmetis_lib_path   = '/sw/libs/parmetis/x86_64/gcc-4.1.2/intelmpi/parmetis-3.1/lib'
99    parmetis_libs       = ['parmetis', 'metis']
100    # Silo
101    # usesilo       = 'yes'
102    silo_path       = '/sw/libs/silo/x86_64/gcc-4.1.2/silo-4.7/include'
103    silo_lib_path       = '/sw/libs/silo/x86_64/gcc-4.1.2/silo-4.7/lib'
104    # silo_libs     = ['siloh5', 'hdf5']
105    
106    
107  # OpenMP  # OpenMP
108  # useopenmp     = 'yes'  useopenmp       = 'yes'
109    
110    usempi      = 'yes'
111  # MPI MPT (no module load required)  # MPI MPT (no module load required)
112  # usempi        = 'no'  #mpi_path       = '/sw/sdev/mpt/1.24/include'
113  # mpi_path      = '/usr/include'  #mpi_lib_path       = '/sw/sdev/mpt/1.24/lib'
114  # mpi_lib_path      = '/usr/lib64'  #mpi_libs       = ['mpi']
115  mpi_libs        = ['mpi']  #mpi_flavour     = "MPT"
 # mpi_run       = 'mpirun -np 1'  
116    
117  # 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)
118  # mpi_path      = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/include'  # mpi_path      = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/include'
119  # mpi_lib_path      = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/lib'  # mpi_lib_path      = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/lib'
120  # mpi_libs      = ['mpich', 'rt']  # mpi_libs      = ['mpich', 'rt']
121  # mpi_run       = 'mpirun -np 1'  # mpi_flavour       = 'MPICH2'
122    
123  # MPICH2 for jumpshot (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)  # Intel MPI (to run Escript use: module load intel-mpi/3.2.0.011
124  # mpi_path      = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/include'  # (When use Intel MPI, compile with "useparmetis = yes")
125  # mpi_lib_path      = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/lib'  mpi_path        = '/sw/sdev/intel/mpi/3.2.0.011/x86_64/include64'
126  # mpi_libs      = ['lmpe', 'mpe', 'mpich', 'rt']  mpi_lib_path        = '/sw/sdev/intel/mpi/3.2.0.011/x86_64/lib64'
127  # mpi_run       = 'mpirun -np 1'  mpi_libs        = ['mpi']
128    mpi_flavour     = 'INTELMPI'
129    
130  # Intel MPI (to run Escript use: module load intel-mpi/3.1.038)  # ParMETIS setting needs to be overwritten in intel-mpi is used
131  # mpi_path      = '/sw/sdev/intel/mpi/3.1.038/x86_64/include64'  # parmetis_path = "/sw/libs/parmetis/x86_64/gcc-4.1.2/intelmpi/parmetis-3.1/include"
132  # mpi_lib_path      = '/sw/sdev/intel/mpi/3.1.038/x86_64/lib64'  # parmetis_lib_path   = "/sw/libs/parmetis/x86_64/gcc-4.1.2/intelmpi/parmetis-3.1/lib"
 # mpi_libs      = ['mpi']  
 # mpi_run       = 'mpirun -np 1'  
133    
134  # mvapich (to run Escript use: module load mvapich/mvapich-1.0.1)  # mvapich (to run Escript use: module load mvapich/mvapich-1.0.1)
135  # mpi_path      = '/usr/diags/mpi/mvapich/intel/include'  # mpi_path      = '/usr/diags/mpi/mvapich/intel/include'
136  # mpi_lib_path      = '/usr/diags/mpi/mvapich/intel/lib/shared'  # mpi_lib_path      = '/usr/diags/mpi/mvapich/intel/lib/shared'
137  # mpi_libs      = ['mpich']  # mpi_libs      = ['mpich']
138  # mpi_run       = 'mpirun -np 1'  # mpi_flavour       = 'MPICH'
139    
140  # OpenMPI (to run Escript use: module load openmpi/gcc-4.1.2/openmpi-1.2.6) (This doesn't compile)  # OpenMPI (to run Escript use: module load openmpi/gcc-4.1.2/openmpi-1.2.6) (This doesn't compile)
141  # mpi_path      = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/include'  # mpi_path      = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/include'
142  # mpi_lib_path      = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/lib'  # mpi_lib_path      = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/lib'
143  # mpi_libs      = ['mpi']  # mpi_libs      = ['mpi']
144  # mpi_run       = 'mpirun -np 1'  # mpi_flavour       = 'OPENMPI'
   
 # ParMETIS (for use with MPI)  
 # useparmetis       = 'yes'  
 parmetis_path       = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/include'  
 parmetis_lib_path   = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/lib'  
 # parmetis_libs     = ['parmetis', 'metis']  
145    
146  # PAPI  # PAPI
147  # usepapi       = 'no'  # usepapi       = 'no'

Legend:
Removed from v.1810  
changed lines
  Added in v.2788

  ViewVC Help
Powered by ViewVC 1.1.26