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

Annotation of /trunk/scons/savanna_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3096 - (hide annotations)
Thu Aug 19 01:40:52 2010 UTC (10 years, 3 months ago) by caltinay
File MIME type: text/x-python
File size: 5747 byte(s)
-New VisIt simulation control interface in weipa (uses VisIt's simv2)
-Rewrote restarts.py to be a more generic data manager for restarts and exports
-Removed weipa python file since the functionality is now handled by restarts.py

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 jfenwick 3076 tools_names=['intelc']
22    
23 jfenwick 3024 # 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 lgao 3052 usemkl = 'yes'
66 lgao 3040 #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 jfenwick 3024 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 lgao 3052 useumfpack = 'yes'
74 jfenwick 3024 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 lgao 3052 uselapack = 'yes'
88 jfenwick 3024 #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 lgao 3052 useparmetis = 'yes'
101 jfenwick 3024 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 caltinay 3096
105 jfenwick 3024 # Silo
106     # usesilo = 'yes'
107 lgao 3030 silo_path = '/sw/libs/silo/x86_64/gcc-4.3.2/silo-4.7.2/include'
108     silo_lib_path = '/sw/libs/silo/x86_64/gcc-4.3.2/silo-4.7.2/lib'
109 jfenwick 3024 # silo_libs = ['siloh5', 'hdf5']
110    
111 caltinay 3096 # VisIt
112     usevisit = 'no'
113     visit_path = '/sw/apps/visit/x86_64/gcc-4.3.2/visit-2.0.2/2.0.2/linux-x86_64/libsim/V2/include'
114     visit_lib_path = '/sw/apps/visit/x86_64/gcc-4.3.2/visit-2.0.2/2.0.2/linux-x86_64/libsim/V2/lib'
115 jfenwick 3024
116 caltinay 3096
117 jfenwick 3024 # OpenMP
118     useopenmp = 'yes'
119    
120     usempi = 'yes'
121     # MPI MPT (no module load required)
122     #mpi_path = '/sw/sdev/mpt/1.24/include'
123     #mpi_lib_path = '/sw/sdev/mpt/1.24/lib'
124     #mpi_libs = ['mpi']
125     #mpi_flavour = "MPT"
126    
127     # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
128     # mpi_path = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/include'
129     # mpi_lib_path = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/lib'
130     # mpi_libs = ['mpich', 'rt']
131     # mpi_flavour = 'MPICH2'
132    
133 lgao 3038 # Intel MPI (to run Escript use: module load intel-mpi/4.0.0.027
134 jfenwick 3024 # (When use Intel MPI, compile with "useparmetis = yes")
135 lgao 3038 mpi_path = '/sw/sdev/intel/impi/4.0.0.027/include64'
136     mpi_lib_path = '/sw/sdev/intel/impi/4.0.0.027/lib64'
137 jfenwick 3024 mpi_libs = ['mpi']
138     mpi_flavour = 'INTELMPI'
139    
140     # ParMETIS setting needs to be overwritten in intel-mpi is used
141     # parmetis_path = "/sw/libs/parmetis/x86_64/gcc-4.1.2/intelmpi/parmetis-3.1/include"
142     # parmetis_lib_path = "/sw/libs/parmetis/x86_64/gcc-4.1.2/intelmpi/parmetis-3.1/lib"
143    
144     # mvapich (to run Escript use: module load mvapich/mvapich-1.0.1)
145     # mpi_path = '/usr/diags/mpi/mvapich/intel/include'
146     # mpi_lib_path = '/usr/diags/mpi/mvapich/intel/lib/shared'
147     # mpi_libs = ['mpich']
148     # mpi_flavour = 'MPICH'
149    
150     # OpenMPI (to run Escript use: module load openmpi/gcc-4.1.2/openmpi-1.2.6) (This doesn't compile)
151     # mpi_path = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/include'
152     # mpi_lib_path = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/lib'
153     # mpi_libs = ['mpi']
154     # mpi_flavour = 'OPENMPI'
155    
156     # PAPI
157     # usepapi = 'no'
158     # papi_path = '/usr/include'
159     # papi_lib_path = '/usr/lib64'
160     # papi_libs = ['papi']
161     # papi_instrument_solver = 'no'
162    

  ViewVC Help
Powered by ViewVC 1.1.26