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

Contents of /trunk/scons/service0_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2715 - (show annotations)
Sun Oct 11 23:29:56 2009 UTC (9 years, 8 months ago) by lgao
File MIME type: text/x-python
File size: 5003 byte(s)
change back to use Intel MPI (avoid the MPT+MKL problem).


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
15 # Configuration for Savanna (SGI ICE 8200 running SUSE Linux)
16
17 # Append environment variables which need to be passed through scons to
18 # other tools
19 env_export=['INTEL_LICENSE_FILE']
20
21 # If you cannot use the default compiler flags set in SConstruct, then change them here
22 # C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug)
23 # cc_flags = '-ansi'
24 # cc_optim = '-O2'
25 # cc_debug = '-g'
26 omp_optim = '-openmp -openmp-report2'
27 # omp_debug = '-openmp'
28 # omp_libs = ['guide']
29
30 # Use the default C/C++ flags but add something only for this host:
31 # cc_extra = ''
32 ld_extra = '-shared-intel' # Fix warning about feupdate in icc v10
33
34 # Be picky about errors
35 # usepedantic = 'no'
36
37 # Extra libraries
38 # sys_libs = []
39
40 # Python libraries
41 python_path = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.6.2/include/python2.6'
42 python_lib_path = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.6.2/lib'
43 # python_libs = ['python2.4']
44 # python_cmd = 'python'
45
46 # Boost libraries
47 boost_path = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.6.2/boost_1_39_0/include/boost-1_39'
48 boost_lib_path = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.6.2/boost_1_39_0/lib'
49 boost_libs = ['boost_python-gcc41-mt']
50
51 # Specify whether or not to use VTK
52 # usevtk = 'yes'
53
54 # NetCDF
55 usenetcdf = 'yes'
56 netCDF_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/include'
57 netCDF_lib_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/lib'
58 # netCDF_libs = ['netcdf_c++', 'netcdf']
59
60 # MKL
61 usemkl = 'yes'
62 mkl_path = '/sw/sdev/intel/cmkl/10.1.0.015/include'
63 mkl_lib_path = '/sw/sdev/intel/cmkl/10.1.0.015/lib/em64t'
64 mkl_libs = [ "mkl_core", "mkl_intel_lp64", "mkl_intel_thread", "mkl_lapack", 'guide', 'pthread' , " mkl_mc", "mkl_def"]
65 # mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
66
67 # UMFPACK (requires AMD and BLAS)
68 useumfpack = 'yes'
69 ufc_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
70 umf_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
71 umf_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
72 umf_libs = ['umfpack']
73 amd_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
74 amd_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
75 amd_libs = ['amd']
76 blas_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
77 blas_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
78 blas_libs = ['blas']
79
80 # ParMETIS (for use with MPI) (these setting my be overwritten depending on the mpi version used)
81 useparmetis = 'yes'
82 parmetis_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/intelmpi/parmetis-3.1/include'
83 parmetis_lib_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/intelmpi/parmetis-3.1/lib'
84 parmetis_libs = ['parmetis', 'metis']
85 # Silo
86 # usesilo = 'yes'
87 silo_path = '/sw/libs/silo/x86_64/gcc-4.1.2/silo-4.7/include'
88 silo_lib_path = '/sw/libs/silo/x86_64/gcc-4.1.2/silo-4.7/lib'
89 # silo_libs = ['siloh5', 'hdf5']
90
91
92 # OpenMP
93 useopenmp = 'yes'
94
95 usempi = 'yes'
96 # MPI MPT (no module load required)
97 #mpi_path = '/sw/sdev/mpt/1.24/include'
98 #mpi_lib_path = '/sw/sdev/mpt/1.24/lib'
99 #mpi_libs = ['mpi']
100 #mpi_flavour = "MPT"
101
102 # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
103 # mpi_path = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/include'
104 # mpi_lib_path = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/lib'
105 # mpi_libs = ['mpich', 'rt']
106 # mpi_flavour = 'MPICH2'
107
108 # Intel MPI (to run Escript use: module load intel-mpi/3.2.0.011
109 # (When use Intel MPI, compile with "useparmetis = yes")
110 mpi_path = '/sw/sdev/intel/mpi/3.2.0.011/x86_64/include64'
111 mpi_lib_path = '/sw/sdev/intel/mpi/3.2.0.011/x86_64/lib64'
112 mpi_libs = ['mpi']
113 mpi_flavour = 'INTELMPI'
114
115 # ParMETIS setting needs to be overwritten in intel-mpi is used
116 # parmetis_path = "/sw/libs/parmetis/x86_64/gcc-4.1.2/intelmpi/parmetis-3.1/include"
117 # parmetis_lib_path = "/sw/libs/parmetis/x86_64/gcc-4.1.2/intelmpi/parmetis-3.1/lib"
118
119 # mvapich (to run Escript use: module load mvapich/mvapich-1.0.1)
120 # mpi_path = '/usr/diags/mpi/mvapich/intel/include'
121 # mpi_lib_path = '/usr/diags/mpi/mvapich/intel/lib/shared'
122 # mpi_libs = ['mpich']
123 # mpi_flavour = 'MPICH'
124
125 # OpenMPI (to run Escript use: module load openmpi/gcc-4.1.2/openmpi-1.2.6) (This doesn't compile)
126 # mpi_path = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/include'
127 # mpi_lib_path = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/lib'
128 # mpi_libs = ['mpi']
129 # mpi_flavour = 'OPENMPI'
130
131 # PAPI
132 # usepapi = 'no'
133 # papi_path = '/usr/include'
134 # papi_lib_path = '/usr/lib64'
135 # papi_libs = ['papi']
136 # papi_instrument_solver = 'no'
137

  ViewVC Help
Powered by ViewVC 1.1.26