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

Annotation of /trunk/scons/guineapig_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2844 - (hide annotations)
Fri Jan 15 00:23:39 2010 UTC (9 years, 6 months ago) by jfenwick
File MIME type: text/x-python
File size: 3646 byte(s)
Fixed some options to deal with silo errors.

1 jfenwick 2727
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 guineapig (64-bit Intel running Debian)
16    
17     # If you cannot use the default compiler flags set in SConstruct, then change them here
18     # C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug)
19     # cc_flags = '-ansi'
20     # cc_optim = '-O2'
21     # cc_debug = '-g'
22     omp_optim = '-fopenmp'
23     omp_debug = '-fopenmp'
24     omp_libs = []
25    
26     # Use the default C/C++ flags but add something only for this host:
27     #cc_extra = '-Wall -pedantic -isystem /usr/include/boost/ -isystem /usr/include/python2.5/ -Wno-sign-compare -Wno-long-long'
28     #cc_extra = '-fopenmp'
29     ld_extra = '-fopenmp'
30 jfenwick 2844 cc_extra = '-isystem /usr/local/py2.6.2/silo4.7.2/include'
31 jfenwick 2727
32     # Be picky about errors
33     # usepedantic = 'no'
34    
35     # Extra libraries
36     # sys_libs = ['guide', 'pthread', 'stdc++']
37    
38     # Python libraries
39     python_path = '/usr/local/python2.6.2/include/python2.6'
40     python_lib_path = '/usr/local/python2.6.2/lib'
41     python_libs = 'python2.6'
42     # python_cmd = 'python'
43    
44     # Boost libraries
45     boost_path = '/usr/local/py2.6.2/boost1.39.0/include/boost-1_39'
46     boost_lib_path = '/usr/local/py2.6.2/boost1.39.0/lib'
47     boost_libs = ['libboost_python-gcc44-mt']
48    
49     # Specify whether or not to use VTK
50     # usevtk = 'yes'
51    
52     # NetCDF
53 caltinay 2798 #usenetcdf = 'yes'
54     #netCDF_path = '/usr/local/py2.6.2/netcdf4.0/include'
55     #netCDF_lib_path = '/usr/local/py2.6.2/netcdf4.0/lib'
56     #netCDF_libs = ['netcdf_c++', 'netcdf']
57 jfenwick 2727
58 caltinay 2840 # Silo
59     usesilo = 'yes'
60 jfenwick 2844 #silo_path = '/usr/local/py2.6.2/silo4.7.2/include'
61 caltinay 2840 silo_path = '/usr/local/py2.6.2/silo4.7.2/include'
62     silo_lib_path = '/usr/local/py2.6.2/silo4.7.2/lib'
63     silo_libs = ['siloh5', 'hdf5']
64    
65 jfenwick 2727 # MKL
66     # usemkl = 'yes'
67     # mkl_path = '/sw/sdev/cmkl/10.0.2.18/include'
68     # mkl_lib_path = '/sw/sdev/cmkl/10.0.2.18/lib/em64t'
69     # mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
70    
71     # UMFPACK (requires AMD and BLAS)
72 jfenwick 2729 useumfpack = 'yes'
73     ufc_path = '/usr/include/suitesparse'
74     umf_path = '/usr/include/suitesparse'
75     umf_lib_path = '/usr/lib'
76     umf_libs = ['umfpack']
77     amd_path = '/usr/include/suitesparse'
78     amd_lib_path = '/usr/lib'
79     amd_libs = ['amd']
80     blas_path = '/usr/include'
81     blas_lib_path = '/usr/lib'
82     blas_libs = ['blas']
83 jfenwick 2727
84     # OpenMP
85 jfenwick 2729 useopenmp = 'yes'
86 jfenwick 2727
87 jfenwick 2729 usempi = 'yes'
88     mpi_flavour = 'OPENMPI'
89     mpi_path = '/usr/include/openmpi/'
90     mpi_lib_path = '/usr/lib/openmpi/lib/'
91     mpi_libs = ['libmpi','libmpi_cxx']
92    
93 jfenwick 2727 # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
94     # usempi = 'no'
95     # mpi_path = '/home/Work/InstallArea/mpich2-1.0.7/include'
96     # mpi_lib_path = '/home/Work/InstallArea/mpich2-1.0.7/lib'
97     # mpi_libs = ['mpich', 'rt']
98     # mpi_flavour = "MPICH"
99    
100     # MPICH2 for jumpshot (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
101     # mpi_path = '/home/Work/InstallArea/mpich2-1.0.7/include'
102     # mpi_lib_path = '/home/Work/InstallArea/mpich2-1.0.7/lib'
103     # mpi_libs = ['lmpe', 'mpe', 'mpich', 'rt']
104     # mpi_flavour = "MPICH"
105    
106     # ParMETIS (for use with MPI)
107     # useparmetis = 'yes'
108     # parmetis_path = '/home/Work/InstallArea/parmetis-3.1/include'
109     # parmetis_lib_path = '/home/Work/InstallArea/parmetis-3.1/lib'
110     # parmetis_libs = ['parmetis', 'metis']
111    
112     # PAPI
113     # usepapi = 'no'
114     # papi_path = '/usr/include'
115     # papi_lib_path = '/usr/lib'
116     # papi_libs = ['papi']
117     # papi_instrument_solver = 'no'
118    

  ViewVC Help
Powered by ViewVC 1.1.26