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

Annotation of /trunk/scons/service0_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2363 - (hide annotations)
Fri Apr 3 03:56:19 2009 UTC (10 years, 6 months ago) by gross
File MIME type: text/x-python
File size: 5096 byte(s)
scons should now be able to run tests under MPI and OpenMP
1 ksteube 1559
2 ksteube 1810 ########################################################
3 ksteube 1559 #
4 ksteube 1810 # Copyright (c) 2003-2008 by University of Queensland
5     # Earth Systems Science Computational Center (ESSCC)
6     # http://www.uq.edu.au/esscc
7 ksteube 1559 #
8 ksteube 1810 # 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 ksteube 1559
14 ksteube 1810
15 ksteube 1705 # Configuration for Savanna (SGI ICE 8200 running SUSE Linux)
16 ksteube 1559
17 ksteube 1705 # 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 gross 2357 omp_optim = '-openmp -openmp-report2'
23 ksteube 1705 # omp_debug = '-openmp'
24     # omp_libs = ['guide']
25 ksteube 1559
26 ksteube 1705 # Use the default C/C++ flags but add something only for this host:
27     # cc_extra = ''
28 ksteube 1771 ld_extra = '-shared-intel' # Fix warning about feupdate in icc v10
29 ksteube 1705
30     # Be picky about errors
31     # usepedantic = 'no'
32    
33     # Extra libraries
34     # sys_libs = []
35    
36     # Python libraries
37 ksteube 1560 python_path = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/include/python2.4'
38     python_lib_path = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/lib'
39 ksteube 1705 # python_libs = ['python2.4']
40     # python_cmd = 'python'
41 ksteube 1559
42 ksteube 1705 # Boost libraries
43 jfenwick 2195 boost_path = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.4.4/boost_1_33/include/boost-1_33/'
44 ksteube 1567 boost_lib_path = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.4.4/boost_1_33/lib'
45 ksteube 1705 # boost_libs = ['boost_python-gcc']
46 ksteube 1559
47 ksteube 1705 # Specify whether or not to use VTK
48     # usevtk = 'yes'
49 ksteube 1559
50 ksteube 1560 # NetCDF
51 gross 2357 usenetcdf = 'yes'
52 ksteube 1785 netCDF_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/include'
53     netCDF_lib_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/lib'
54 ksteube 1705 # netCDF_libs = ['netcdf_c++', 'netcdf']
55 ksteube 1559
56 ksteube 1705 # MKL
57 gross 2357 usemkl = 'yes'
58     mkl_path = '/sw/sdev/intel/cmkl/10.1.0.015/include'
59     mkl_lib_path = '/sw/sdev/intel/cmkl/10.1.0.015/lib/em64t'
60     mkl_libs = [ "mkl_core", "mkl_intel_lp64", "mkl_intel_thread", "mkl_lapack", 'guide', 'pthread' , " mkl_mc", "mkl_def"]
61 ksteube 1705 # mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
62    
63     # UMFPACK (requires AMD and BLAS)
64     # useumfpack = 'yes'
65 ksteube 1785 # ufc_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
66     # umf_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
67     # umf_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
68 ksteube 1705 # umf_libs = ['umfpack']
69     # amd_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
70     # amd_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
71     # amd_libs = ['amd']
72     # blas_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
73     # blas_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
74     # blas_libs = ['blas']
75    
76 gross 2357 # ParMETIS (for use with MPI) (these setting my be overwritten depending on the mpi version used)
77     useparmetis = 'yes'
78     parmetis_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/include'
79     parmetis_lib_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/lib'
80     parmetis_libs = ['parmetis', 'metis']
81 caltinay 2185 # Silo
82     # usesilo = 'yes'
83     silo_path = '/sw/libs/silo/x86_64/gcc-4.1.2/silo-4.6.1/include'
84     silo_lib_path = '/sw/libs/silo/x86_64/gcc-4.1.2/silo-4.6.1/lib'
85     # silo_libs = ['siloh5', 'hdf5']
86    
87    
88 ksteube 1705 # OpenMP
89 jfenwick 2292 useopenmp = 'yes'
90 ksteube 1705
91 gross 2358 usempi = 'no'
92 ksteube 1620 # MPI MPT (no module load required)
93 gross 2357 mpi_path = '/usr/include'
94     mpi_lib_path = '/usr/lib64'
95 ksteube 1705 mpi_libs = ['mpi']
96 gross 2357 mpi_flavour = "MPT"
97 ksteube 1559
98 ksteube 1620 # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
99     # mpi_path = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/include'
100     # mpi_lib_path = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/lib'
101     # mpi_libs = ['mpich', 'rt']
102 gross 2363 # mpi_falvour = 'MPICH'
103 ksteube 1620
104     # MPICH2 for jumpshot (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
105     # mpi_path = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/include'
106     # mpi_lib_path = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/lib'
107     # mpi_libs = ['lmpe', 'mpe', 'mpich', 'rt']
108 gross 2363 # mpi_falvour = 'MPICH'
109 ksteube 1620
110     # Intel MPI (to run Escript use: module load intel-mpi/3.1.038)
111     # mpi_path = '/sw/sdev/intel/mpi/3.1.038/x86_64/include64'
112     # mpi_lib_path = '/sw/sdev/intel/mpi/3.1.038/x86_64/lib64'
113     # mpi_libs = ['mpi']
114 gross 2363 # mpi_falvour = 'INTELMPI'
115 ksteube 1620
116 gross 2357 # ParMETIS setting needs to be overwritten in intel-mpi is used
117     # parmetis_path = "/sw/libs/parmetis/x86_64/gcc-4.1.2/intelmpi/parmetis-3.1/include"
118     # parmetis_lib_path = "/sw/libs/parmetis/x86_64/gcc-4.1.2/intelmpi/parmetis-3.1/lib"
119    
120 ksteube 1620 # mvapich (to run Escript use: module load mvapich/mvapich-1.0.1)
121     # mpi_path = '/usr/diags/mpi/mvapich/intel/include'
122     # mpi_lib_path = '/usr/diags/mpi/mvapich/intel/lib/shared'
123     # mpi_libs = ['mpich']
124 gross 2363 # mpi_falvour = 'MPICH'
125 ksteube 1620
126     # OpenMPI (to run Escript use: module load openmpi/gcc-4.1.2/openmpi-1.2.6) (This doesn't compile)
127     # mpi_path = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/include'
128     # mpi_lib_path = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/lib'
129     # mpi_libs = ['mpi']
130 gross 2363 # mpi_falvour = 'OPENMPI'
131 ksteube 1620
132 ksteube 1579 # PAPI
133 ksteube 1705 # usepapi = 'no'
134     # papi_path = '/usr/include'
135     # papi_lib_path = '/usr/lib64'
136 ksteube 1579 # papi_libs = ['papi']
137 ksteube 1705 # papi_instrument_solver = 'no'
138 ksteube 1579

  ViewVC Help
Powered by ViewVC 1.1.26