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

Contents of /trunk/scons/service0_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2902 - (show annotations)
Mon Feb 1 23:53:16 2010 UTC (9 years, 5 months ago) by lgao
File MIME type: text/x-python
File size: 5818 byte(s)
Switch to Parmetis 3.1.1 on service0.


1
2 ########################################################
3 #
4 # Copyright (c) 2003-2010 by University of Queensland
5 # Earth Systems Science Computational Center (ESSCC)
6 # http://www.uq.edu.au/esscc
7 #
8 # Primary Business: Queensland, Australia
9 # Licensed under the Open Software License version 3.0
10 # http://www.opensource.org/licenses/osl-3.0.php
11 #
12 ########################################################
13
14
15 # 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
22 # C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug)
23 # cc_flags = '-ansi'
24 # cc_optim = '-O2'
25 # cc_debug = '-g'
26 omp_optim = '-openmp -openmp-report2'
27 # omp_debug = '-openmp'
28 # omp_libs = ['guide']
29
30 # Use the default C/C++ flags but add something only for this host:
31 cc_extra = '-sox' # Embed compiler version and compile options in binaries
32 ld_extra = '-shared-intel' # Fix warning about feupdate in icc v10
33
34 # Be picky about errors
35 # usepedantic = 'no'
36
37 # Extra libraries
38 # sys_libs = []
39
40 # Python libraries
41 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.6.2/lib'
43 # python_libs = ['python2.4']
44 # python_cmd = 'python'
45
46 # Boost libraries
47 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.6.2/boost_1_39_0/lib'
49 boost_libs = ['boost_python-gcc41-mt']
50
51 # Specify whether or not to use VTK
52 # usevtk = 'yes'
53
54 # NetCDF
55 usenetcdf = 'yes'
56 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'
58 # netCDF_libs = ['netcdf_c++', 'netcdf']
59
60
61 # MKL
62 usemkl = 'yes'
63 #MKL for 10.1.0.015
64 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']
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)
74 useumfpack = 'yes'
75 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'
77 umf_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
78 umf_libs = ['umfpack']
79 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'
81 amd_libs = ['amd']
82 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'
84 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 #We will pull these in with MKL
93 #If you are not using MKL then switch off Lapack or use the lines above
94 lapack_path = ''
95 lapack_lib_path = ''
96 lapack_libs = []
97 lapack_type = 'mkl'
98
99
100 # ParMETIS (for use with MPI) (these setting my be overwritten depending on the mpi version used)
101 useparmetis = 'yes'
102 #parmetis_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/intelmpi/parmetis-3.1/include'
103 #parmetis_lib_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/intelmpi/parmetis-3.1/lib'
104 parmetis_path = '/sw/libs/parmetis/x86_64/icc-10.1.015/intelmpi/parmetis-3.1.1/include'
105 parmetis_lib_path = '/sw/libs/parmetis/x86_64/icc-10.1.015/intelmpi/parmetis-3.1.1/lib'
106 parmetis_libs = ['parmetis', 'metis']
107 # Silo
108 # usesilo = 'yes'
109 silo_path = '/sw/libs/silo/x86_64/gcc-4.1.2/silo-4.7.2/include'
110 silo_lib_path = '/sw/libs/silo/x86_64/gcc-4.1.2/silo-4.7.2/lib'
111 # silo_libs = ['siloh5', 'hdf5']
112
113
114 # OpenMP
115 useopenmp = 'yes'
116
117 usempi = 'yes'
118 # MPI MPT (no module load required)
119 #mpi_path = '/sw/sdev/mpt/1.24/include'
120 #mpi_lib_path = '/sw/sdev/mpt/1.24/lib'
121 #mpi_libs = ['mpi']
122 #mpi_flavour = "MPT"
123
124 # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
125 # mpi_path = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/include'
126 # mpi_lib_path = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/lib'
127 # mpi_libs = ['mpich', 'rt']
128 # mpi_flavour = 'MPICH2'
129
130 # Intel MPI (to run Escript use: module load intel-mpi/3.2.0.011
131 # (When use Intel MPI, compile with "useparmetis = yes")
132 mpi_path = '/sw/sdev/intel/mpi/3.2.0.011/x86_64/include64'
133 mpi_lib_path = '/sw/sdev/intel/mpi/3.2.0.011/x86_64/lib64'
134 mpi_libs = ['mpi']
135 mpi_flavour = 'INTELMPI'
136
137 # ParMETIS setting needs to be overwritten in intel-mpi is used
138 # parmetis_path = "/sw/libs/parmetis/x86_64/gcc-4.1.2/intelmpi/parmetis-3.1/include"
139 # parmetis_lib_path = "/sw/libs/parmetis/x86_64/gcc-4.1.2/intelmpi/parmetis-3.1/lib"
140
141 # mvapich (to run Escript use: module load mvapich/mvapich-1.0.1)
142 # mpi_path = '/usr/diags/mpi/mvapich/intel/include'
143 # mpi_lib_path = '/usr/diags/mpi/mvapich/intel/lib/shared'
144 # mpi_libs = ['mpich']
145 # mpi_flavour = 'MPICH'
146
147 # OpenMPI (to run Escript use: module load openmpi/gcc-4.1.2/openmpi-1.2.6) (This doesn't compile)
148 # mpi_path = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/include'
149 # mpi_lib_path = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/lib'
150 # mpi_libs = ['mpi']
151 # mpi_flavour = 'OPENMPI'
152
153 # PAPI
154 # usepapi = 'no'
155 # papi_path = '/usr/include'
156 # papi_lib_path = '/usr/lib64'
157 # papi_libs = ['papi']
158 # papi_instrument_solver = 'no'
159

  ViewVC Help
Powered by ViewVC 1.1.26