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

Contents of /trunk/scons/service0_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2742 - (show annotations)
Thu Nov 12 06:03:37 2009 UTC (10 years, 4 months ago) by jfenwick
File MIME type: text/x-python
File size: 5288 byte(s)
Merging changes from the lapack branch.

The inverse() operation has been moved into c++. [No lazy support for this operation yet.]
Optional Lapack support has been added for matrices larger than 3x3. 
service0 is set to use mkl_lapack.



1
2 ########################################################
3 #
4 # Copyright (c) 2003-2009 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_path = '/sw/sdev/intel/cmkl/10.1.0.015/include'
64 mkl_lib_path = '/sw/sdev/intel/cmkl/10.1.0.015/lib/em64t'
65 mkl_libs = [ "mkl_core", "mkl_intel_lp64", "mkl_intel_thread", "mkl_lapack", 'guide', 'pthread' , " mkl_mc", "mkl_def"]
66 # mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
67
68 # UMFPACK (requires AMD and BLAS)
69 useumfpack = 'yes'
70 ufc_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
71 umf_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
72 umf_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
73 umf_libs = ['umfpack']
74 amd_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
75 amd_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
76 amd_libs = ['amd']
77 blas_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
78 blas_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
79 blas_libs = ['blas']
80
81
82 #Lapack
83 uselapack = 'yes'
84 lapack_path = '/sw/sdev/intel/cmkl/10.1.0.015/include'
85 lapack_lib_path = '/sw/sdev/intel/cmkl/10.1.0.015/lib/em64t'
86 lapack_libs = ['mkl_lapack','mkl','guide','pthread']
87 lapack_type = 'mkl'
88
89
90 # ParMETIS (for use with MPI) (these setting my be overwritten depending on the mpi version used)
91 useparmetis = 'yes'
92 parmetis_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/intelmpi/parmetis-3.1/include'
93 parmetis_lib_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/intelmpi/parmetis-3.1/lib'
94 parmetis_libs = ['parmetis', 'metis']
95 # Silo
96 # usesilo = 'yes'
97 silo_path = '/sw/libs/silo/x86_64/gcc-4.1.2/silo-4.7/include'
98 silo_lib_path = '/sw/libs/silo/x86_64/gcc-4.1.2/silo-4.7/lib'
99 # silo_libs = ['siloh5', 'hdf5']
100
101
102 # OpenMP
103 useopenmp = 'yes'
104
105 usempi = 'yes'
106 # MPI MPT (no module load required)
107 #mpi_path = '/sw/sdev/mpt/1.24/include'
108 #mpi_lib_path = '/sw/sdev/mpt/1.24/lib'
109 #mpi_libs = ['mpi']
110 #mpi_flavour = "MPT"
111
112 # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
113 # mpi_path = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/include'
114 # mpi_lib_path = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/lib'
115 # mpi_libs = ['mpich', 'rt']
116 # mpi_flavour = 'MPICH2'
117
118 # Intel MPI (to run Escript use: module load intel-mpi/3.2.0.011
119 # (When use Intel MPI, compile with "useparmetis = yes")
120 mpi_path = '/sw/sdev/intel/mpi/3.2.0.011/x86_64/include64'
121 mpi_lib_path = '/sw/sdev/intel/mpi/3.2.0.011/x86_64/lib64'
122 mpi_libs = ['mpi']
123 mpi_flavour = 'INTELMPI'
124
125 # ParMETIS setting needs to be overwritten in intel-mpi is used
126 # parmetis_path = "/sw/libs/parmetis/x86_64/gcc-4.1.2/intelmpi/parmetis-3.1/include"
127 # parmetis_lib_path = "/sw/libs/parmetis/x86_64/gcc-4.1.2/intelmpi/parmetis-3.1/lib"
128
129 # mvapich (to run Escript use: module load mvapich/mvapich-1.0.1)
130 # mpi_path = '/usr/diags/mpi/mvapich/intel/include'
131 # mpi_lib_path = '/usr/diags/mpi/mvapich/intel/lib/shared'
132 # mpi_libs = ['mpich']
133 # mpi_flavour = 'MPICH'
134
135 # OpenMPI (to run Escript use: module load openmpi/gcc-4.1.2/openmpi-1.2.6) (This doesn't compile)
136 # mpi_path = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/include'
137 # mpi_lib_path = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/lib'
138 # mpi_libs = ['mpi']
139 # mpi_flavour = 'OPENMPI'
140
141 # PAPI
142 # usepapi = 'no'
143 # papi_path = '/usr/include'
144 # papi_lib_path = '/usr/lib64'
145 # papi_libs = ['papi']
146 # papi_instrument_solver = 'no'
147

  ViewVC Help
Powered by ViewVC 1.1.26