/[escript]/branches/stage3.1/scons/service0_options.py
ViewVC logotype

Contents of /branches/stage3.1/scons/service0_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2945 - (show annotations)
Wed Feb 24 00:17:46 2010 UTC (9 years ago) by jfenwick
File MIME type: text/x-python
File size: 5466 byte(s)
Bringing release stage up to trunk version 2944

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

  ViewVC Help
Powered by ViewVC 1.1.26