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

Annotation of /trunk/scons/guineapig_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2729 - (hide annotations)
Thu Oct 22 01:45:28 2009 UTC (10 years, 7 months ago) by jfenwick
File MIME type: text/x-python
File size: 3352 byte(s)
UMFPack and MPI added to guineapig options.
Defaults for omp and mpi removed from SConstruct.

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     cc_extra = ''
31    
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     usenetcdf = 'yes'
54     netCDF_path = '/usr/local/py2.6.2/netcdf4.0'
55     netCDF_lib_path = '/usr/local/py2.6.2/netcdf4.0/lib'
56     netCDF_libs = ['netcdf_c++', 'netcdf']
57    
58     # MKL
59     # usemkl = 'yes'
60     # mkl_path = '/sw/sdev/cmkl/10.0.2.18/include'
61     # mkl_lib_path = '/sw/sdev/cmkl/10.0.2.18/lib/em64t'
62     # mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
63    
64     # UMFPACK (requires AMD and BLAS)
65 jfenwick 2729 useumfpack = 'yes'
66     ufc_path = '/usr/include/suitesparse'
67     umf_path = '/usr/include/suitesparse'
68     umf_lib_path = '/usr/lib'
69     umf_libs = ['umfpack']
70     amd_path = '/usr/include/suitesparse'
71     amd_lib_path = '/usr/lib'
72     amd_libs = ['amd']
73     blas_path = '/usr/include'
74     blas_lib_path = '/usr/lib'
75     blas_libs = ['blas']
76 jfenwick 2727
77     # OpenMP
78 jfenwick 2729 useopenmp = 'yes'
79 jfenwick 2727
80 jfenwick 2729 usempi = 'yes'
81     mpi_flavour = 'OPENMPI'
82     mpi_path = '/usr/include/openmpi/'
83     mpi_lib_path = '/usr/lib/openmpi/lib/'
84     mpi_libs = ['libmpi','libmpi_cxx']
85    
86 jfenwick 2727 # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
87     # usempi = 'no'
88     # mpi_path = '/home/Work/InstallArea/mpich2-1.0.7/include'
89     # mpi_lib_path = '/home/Work/InstallArea/mpich2-1.0.7/lib'
90     # mpi_libs = ['mpich', 'rt']
91     # mpi_flavour = "MPICH"
92    
93     # MPICH2 for jumpshot (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
94     # mpi_path = '/home/Work/InstallArea/mpich2-1.0.7/include'
95     # mpi_lib_path = '/home/Work/InstallArea/mpich2-1.0.7/lib'
96     # mpi_libs = ['lmpe', 'mpe', 'mpich', 'rt']
97     # mpi_flavour = "MPICH"
98    
99     # ParMETIS (for use with MPI)
100     # useparmetis = 'yes'
101     # parmetis_path = '/home/Work/InstallArea/parmetis-3.1/include'
102     # parmetis_lib_path = '/home/Work/InstallArea/parmetis-3.1/lib'
103     # parmetis_libs = ['parmetis', 'metis']
104    
105     # PAPI
106     # usepapi = 'no'
107     # papi_path = '/usr/include'
108     # papi_lib_path = '/usr/lib'
109     # papi_libs = ['papi']
110     # papi_instrument_solver = 'no'
111    

  ViewVC Help
Powered by ViewVC 1.1.26