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

Annotation of /trunk/scons/service0_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2715 - (hide annotations)
Sun Oct 11 23:29:56 2009 UTC (10 years, 1 month 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 ksteube 1559
2 ksteube 1810 ########################################################
3 ksteube 1559 #
4 jfenwick 2548 # Copyright (c) 2003-2009 by University of Queensland
5 ksteube 1810 # 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 jfenwick 2603 # Append environment variables which need to be passed through scons to
18     # other tools
19     env_export=['INTEL_LICENSE_FILE']
20    
21 ksteube 1705 # 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 gross 2357 omp_optim = '-openmp -openmp-report2'
27 ksteube 1705 # omp_debug = '-openmp'
28     # omp_libs = ['guide']
29 ksteube 1559
30 ksteube 1705 # Use the default C/C++ flags but add something only for this host:
31     # cc_extra = ''
32 ksteube 1771 ld_extra = '-shared-intel' # Fix warning about feupdate in icc v10
33 ksteube 1705
34     # Be picky about errors
35     # usepedantic = 'no'
36    
37     # Extra libraries
38     # sys_libs = []
39    
40     # Python libraries
41 jfenwick 2456 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 ksteube 1705 # python_libs = ['python2.4']
44     # python_cmd = 'python'
45 ksteube 1559
46 ksteube 1705 # Boost libraries
47 jfenwick 2456 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 ksteube 1559
51 ksteube 1705 # Specify whether or not to use VTK
52     # usevtk = 'yes'
53 ksteube 1559
54 ksteube 1560 # NetCDF
55 gross 2357 usenetcdf = 'yes'
56 ksteube 1785 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 ksteube 1705 # netCDF_libs = ['netcdf_c++', 'netcdf']
59 ksteube 1559
60 ksteube 1705 # MKL
61 gross 2357 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 ksteube 1705 # mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
66    
67     # UMFPACK (requires AMD and BLAS)
68 artak 2702 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 ksteube 1705
80 gross 2357 # ParMETIS (for use with MPI) (these setting my be overwritten depending on the mpi version used)
81 lgao 2715 useparmetis = 'yes'
82 gross 2368 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 gross 2357 parmetis_libs = ['parmetis', 'metis']
85 caltinay 2185 # Silo
86     # usesilo = 'yes'
87 caltinay 2680 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 caltinay 2185 # silo_libs = ['siloh5', 'hdf5']
90    
91    
92 ksteube 1705 # OpenMP
93 jfenwick 2292 useopenmp = 'yes'
94 ksteube 1705
95 gross 2368 usempi = 'yes'
96 ksteube 1620 # MPI MPT (no module load required)
97 lgao 2715 #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 ksteube 1559
102 ksteube 1620 # 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 gross 2554 # mpi_flavour = 'MPICH2'
107 ksteube 1620
108 gross 2554 # Intel MPI (to run Escript use: module load intel-mpi/3.2.0.011
109 lgao 2696 # (When use Intel MPI, compile with "useparmetis = yes")
110 lgao 2715 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 ksteube 1620
115 gross 2357 # 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 ksteube 1620 # 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 gross 2366 # mpi_flavour = 'MPICH'
124 ksteube 1620
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 gross 2366 # mpi_flavour = 'OPENMPI'
130 ksteube 1620
131 ksteube 1579 # PAPI
132 ksteube 1705 # usepapi = 'no'
133     # papi_path = '/usr/include'
134     # papi_lib_path = '/usr/lib64'
135 ksteube 1579 # papi_libs = ['papi']
136 ksteube 1705 # papi_instrument_solver = 'no'
137 ksteube 1579

  ViewVC Help
Powered by ViewVC 1.1.26