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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3161 - (show annotations)
Tue Sep 7 04:17:03 2010 UTC (9 years ago) by jfenwick
File MIME type: text/x-python
File size: 3975 byte(s)
Switch to repository versions of required packages.
Fix some OpenMP problems

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

  ViewVC Help
Powered by ViewVC 1.1.26