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

Annotation of /trunk/scons/savanna_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3052 - (hide annotations)
Tue Jun 29 00:57:45 2010 UTC (9 years, 4 months ago) by lgao
File MIME type: text/x-python
File size: 5503 byte(s)
Revert the commit of this options file made by my last commit for Gauss-Seidel. 


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

  ViewVC Help
Powered by ViewVC 1.1.26