/[escript]/branches/domexper/scons/savanna_options.py
ViewVC logotype

Contents of /branches/domexper/scons/savanna_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3079 - (show annotations)
Tue Aug 3 04:04:51 2010 UTC (8 years, 8 months ago) by jfenwick
File MIME type: text/x-python
File size: 5527 byte(s)
Some experiments on finley

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 tools_names=['intelc']
22
23 # If you cannot use the default compiler flags set in SConstruct, then change them here
24 # C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug)
25 # cc_flags = '-ansi'
26 # cc_optim = '-O2'
27 # cc_debug = '-g'
28 omp_optim = '-openmp -openmp-report2'
29 # omp_debug = '-openmp'
30 # omp_libs = ['guide']
31
32 # Use the default C/C++ flags but add something only for this host:
33 cc_extra = '-sox' # Embed compiler version and options in binaries
34 cxx_extra = '-sox' # Embed compiler version and options in binaries
35 ld_extra = '-shared-intel' # Fix warning about feupdate in icc v10
36
37 # Be picky about errors
38 # usepedantic = 'no'
39
40 # Extra libraries
41 # sys_libs = []
42
43 # Python libraries
44 python_path = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.6.2/include/python2.6'
45 python_lib_path = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.6.2/lib'
46 # python_libs = ['python2.4']
47 # python_cmd = 'python'
48
49 # Boost libraries
50 boost_path = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.6.2/boost_1_39_0/include/boost-1_39'
51 boost_lib_path = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.6.2/boost_1_39_0/lib'
52 boost_libs = ['boost_python-gcc41-mt']
53
54 # Specify whether or not to use VTK
55 # usevtk = 'yes'
56
57 # NetCDF
58 usenetcdf = 'yes'
59 netCDF_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/include'
60 netCDF_lib_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/lib'
61 # netCDF_libs = ['netcdf_c++', 'netcdf']
62
63
64 # MKL
65 usemkl = 'yes'
66 #MKL for 10.2.5.035
67 mkl_path = '/sw/sdev/intel/mkl/10.2.5.035/include'
68 mkl_lib_path = '/sw/sdev/intel/mkl/10.2.5.035/lib/em64t'
69 mkl_libs = [ "mkl_core", "mkl_intel_lp64", "mkl_intel_thread", "mkl_lapack", 'guide', 'pthread' , "mkl_mc", "mkl_def"]
70
71
72 # UMFPACK (requires AMD and BLAS)
73 useumfpack = 'yes'
74 ufc_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
75 umf_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
76 umf_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
77 umf_libs = ['umfpack']
78 amd_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
79 amd_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
80 amd_libs = ['amd']
81 blas_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
82 blas_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
83 blas_libs = ['blas']
84
85
86 #Lapack
87 uselapack = 'yes'
88 #lapack_path = '/sw/sdev/intel/cmkl/10.1.0.015/include'
89 #lapack_lib_path = '/sw/sdev/intel/cmkl/10.1.0.015/lib/em64t'
90 #lapack_libs = ['mkl_lapack','mkl','guide','pthread']
91 #We will pull these in with MKL
92 #If you are not using MKL then switch off Lapack or use the lines above
93 lapack_path = ''
94 lapack_lib_path = ''
95 lapack_libs = []
96 lapack_type = 'mkl'
97
98
99 # ParMETIS (for use with MPI) (these setting my be overwritten depending on the mpi version used)
100 useparmetis = 'yes'
101 parmetis_path = '/sw/libs/parmetis/x86_64/icc-10.1.015/intelmpi/parmetis-3.1.1/include'
102 parmetis_lib_path = '/sw/libs/parmetis/x86_64/icc-10.1.015/intelmpi/parmetis-3.1.1/lib'
103 parmetis_libs = ['parmetis', 'metis']
104 # Silo
105 # usesilo = 'yes'
106 silo_path = '/sw/libs/silo/x86_64/gcc-4.3.2/silo-4.7.2/include'
107 silo_lib_path = '/sw/libs/silo/x86_64/gcc-4.3.2/silo-4.7.2/lib'
108 # silo_libs = ['siloh5', 'hdf5']
109
110
111 # OpenMP
112 useopenmp = 'yes'
113
114 usempi = 'yes'
115 # MPI MPT (no module load required)
116 #mpi_path = '/sw/sdev/mpt/1.24/include'
117 #mpi_lib_path = '/sw/sdev/mpt/1.24/lib'
118 #mpi_libs = ['mpi']
119 #mpi_flavour = "MPT"
120
121 # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
122 # mpi_path = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/include'
123 # mpi_lib_path = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/lib'
124 # mpi_libs = ['mpich', 'rt']
125 # mpi_flavour = 'MPICH2'
126
127 # Intel MPI (to run Escript use: module load intel-mpi/4.0.0.027
128 # (When use Intel MPI, compile with "useparmetis = yes")
129 mpi_path = '/sw/sdev/intel/impi/4.0.0.027/include64'
130 mpi_lib_path = '/sw/sdev/intel/impi/4.0.0.027/lib64'
131 mpi_libs = ['mpi']
132 mpi_flavour = 'INTELMPI'
133
134 # ParMETIS setting needs to be overwritten in intel-mpi is used
135 # parmetis_path = "/sw/libs/parmetis/x86_64/gcc-4.1.2/intelmpi/parmetis-3.1/include"
136 # parmetis_lib_path = "/sw/libs/parmetis/x86_64/gcc-4.1.2/intelmpi/parmetis-3.1/lib"
137
138 # mvapich (to run Escript use: module load mvapich/mvapich-1.0.1)
139 # mpi_path = '/usr/diags/mpi/mvapich/intel/include'
140 # mpi_lib_path = '/usr/diags/mpi/mvapich/intel/lib/shared'
141 # mpi_libs = ['mpich']
142 # mpi_flavour = 'MPICH'
143
144 # OpenMPI (to run Escript use: module load openmpi/gcc-4.1.2/openmpi-1.2.6) (This doesn't compile)
145 # mpi_path = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/include'
146 # mpi_lib_path = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/lib'
147 # mpi_libs = ['mpi']
148 # mpi_flavour = 'OPENMPI'
149
150 # PAPI
151 # usepapi = 'no'
152 # papi_path = '/usr/include'
153 # papi_lib_path = '/usr/lib64'
154 # papi_libs = ['papi']
155 # papi_instrument_solver = 'no'
156

  ViewVC Help
Powered by ViewVC 1.1.26