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

Contents of /trunk/scons/xeuser_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2881 - (show annotations)
Thu Jan 28 02:03:15 2010 UTC (9 years, 5 months ago) by jfenwick
File MIME type: text/x-python
File size: 3763 byte(s)
Don't panic.
Updating copyright stamps

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 PKG_ROOT=""
15
16 # Custom config for xe.ivec.org
17 # Contact: David Schibeci [dschibeci@ccg.murdoch.edu.au]
18 # Date: 20/10/2009
19 # Notes:
20 # * Trouble building with intel MKL 10.0
21 # * HardCoded icc bits into Sconstruct as couldnt work out overrides in here.
22 # Extras: nothing to add.
23
24
25 # If you cannot use the default compiler flags set in SConstruct, then change them here
26 # C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug)
27 # cc_flags = '-ansi'
28 # cc_optim = '-O2'
29 # cc_debug = '-g'
30 omp_optim = '-fopenmp'
31 omp_debug = '-fopenmp'
32 #omp_libs = ['gomp']
33 omp_libs = []
34 #Do not link gomp unless you are sure you need to
35
36 # Use the default C/C++ flags but add something only for this host:
37 #cc_extra = '-Wall -pedantic -isystem /usr/include/boost/ -isystem /usr/include/python2.5/ -Wno-sign-compare -Wno-long-long'
38 #cc_extra = '-fopenmp'
39 ld_extra = '-shared-intel'
40
41 # Be picky about errors
42 # usepedantic = 'no'
43
44 # Extra libraries
45 # sys_libs = ['guide', 'pthread', 'stdc++']
46
47 # Python libraries
48 python_path = "/opt/python/2.6.3-intel/include/python2.6"
49 python_lib_path = "/opt/python/2.6.3-intel/lib"
50 python_libs = 'python2.6'
51 # python_cmd = 'python'
52
53 # Boost libraries
54 boost_path = "/opt/boost/1.39.0/include/boost-1_39"
55 boost_lib_path = "/opt/boost/1.39.0/lib"
56 boost_libs = ['boost_python-il-mt-1_39']
57
58 # Specify whether or not to use VTK
59 usevtk = 'yes'
60
61 # NetCDF
62 usenetcdf = 'yes'
63 netCDF_path = '/opt/netcdf/4.0.1-intel/include'
64 netCDF_lib_path = '/opt/netcdf/4.0.1-intel/lib'
65 netCDF_libs = ['netcdf_c++', 'netcdf']
66
67 # MKL
68 usemkl = 'yes'
69 mkl_path = '/opt/intel_mkl/10.1.3.027/include'
70 mkl_lib_path = '/opt/intel_mkl/10.1.3.027/lib/em64t'
71 mkl_libs = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_lapack', 'mkl_core', 'guide', 'pthread']
72
73 # UMFPACK (requires AMD and BLAS)
74 # useumfpack = 'yes'
75 # ufc_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
76 # umf_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
77 # umf_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
78 # umf_libs = ['umfpack']
79 # amd_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
80 # amd_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
81 # amd_libs = ['amd']
82 # blas_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
83 # blas_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
84 # blas_libs = ['blas']
85
86 # OpenMP
87 #useopenmp = 'yes'
88
89 # OpenMPI
90 usempi = 'yes'
91 mpi_path = '/opt/openmpi-intel/1.3.3/include'
92 mpi_lib_path = '/opt/openmpi-intel/1.3.3/lib'
93 mpi_libs = ['mpi', 'open-rte', 'mpi_cxx']
94 mpi_flavour = 'OPENMPI'
95
96 # MPICH2 for jumpshot (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
97 # mpi_path = '/home/Work/InstallArea/mpich2-1.0.7/include'
98 # mpi_lib_path = '/home/Work/InstallArea/mpich2-1.0.7/lib'
99 # mpi_libs = ['lmpe', 'mpe', 'mpich', 'rt']
100 # mpi_flavour = 'MPICH'
101
102 # ParMETIS (for use with MPI)
103 useparmetis = 'yes'
104 parmetis_path = '/opt/parmetis/3.1.1-intel/include'
105 parmetis_lib_path = '/opt/parmetis/3.1.1-intel/lib'
106 parmetis_libs = ['parmetis', 'metis']
107
108 # PAPI
109 # usepapi = 'no'
110 # papi_path = '/usr/include'
111 # papi_lib_path = '/usr/lib'
112 # papi_libs = ['papi']
113 # papi_instrument_solver = 'no'
114

  ViewVC Help
Powered by ViewVC 1.1.26