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

Contents of /trunk/scons/mac_standalone_options_example.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2567 - (show annotations)
Fri Jul 31 01:17:37 2009 UTC (10 years, 4 months ago) by jfenwick
File MIME type: text/x-python
File size: 3454 byte(s)
Added example options file for Mac

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

  ViewVC Help
Powered by ViewVC 1.1.26