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

Annotation of /trunk/scons/cognac_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2363 - (hide annotations)
Fri Apr 3 03:56:19 2009 UTC (10 years, 4 months ago) by gross
File MIME type: text/x-python
File size: 3601 byte(s)
scons should now be able to run tests under MPI and OpenMP
1 ksteube 1705
2 ksteube 1810 ########################################################
3 poulet 1356 #
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 poulet 1356 #
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 1705
14 ksteube 1810
15 ksteube 1705 # Configuration for Cognac (SGI Altix)
16    
17     # Assumed modules:
18 gross 1380 #
19 ksteube 1731 # module load intel-cc/10.0.023
20     # module load python/2.4.4/icc10.0.023
21     # module load numarray/1.5.2/python2.4.4_icc10.0.023/icc10.0.023
22     # module load Mesa/7.0.2
23     # module load VTK/5.0.3_mesa
24     # module load boost/1.33.1/python2.4.4_icc10.0.023/numarray1.5.2_icc10.0.023/icc10.0.023
25     # module load netcdf/3.6.2
26     # module load intel-mkl/9.1.018
27     # module load scsl/1.6.1.0
28     # module load scons/0.97
29     # module load subversion/1.4.6
30 gross 1380 #
31 poulet 1356
32 gross 1374 python_version="2.4"
33     python_installation="2.4.4/icc10.0.023"
34     boost_version="1_33_1"
35 phornby 1383 boost_installation="1.33.1/python2.4.4_icc10.0.023/numarray1.5.2_icc10.0.023/icc10.0.023"
36 gross 1374
37 ksteube 1705 # If you cannot use the default compiler flags set in SConstruct, then change them here
38     # C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug)
39 ksteube 1728 cc_flags = '-fPIC -ansi -wd161 -w1 -DBLOCKTIMER -DCORE_ID1'
40 ksteube 1705 # cc_optim = '-O2'
41     # cc_debug = '-g'
42     # omp_optim = '-openmp'
43     # omp_debug = '-openmp'
44     # omp_libs = ['guide']
45 poulet 1356
46 ksteube 1705 # Use the default C/C++ flags but add something only for this host:
47     # cc_extra = ''
48 ksteube 1771 # ld_extra = ''
49 poulet 1356
50 ksteube 1705 # Be picky about errors
51     # usepedantic = 'no'
52 poulet 1356
53 ksteube 1705 # Extra libraries
54     # sys_libs = []
55 poulet 1356
56 ksteube 1705 # Python libraries
57     python_path = '/opt/python/'+python_installation+'/include/python'+python_version
58     python_lib_path = '/opt/python/'+python_installation+'/lib'
59     python_libs = ['python'+python_version]
60     # python_cmd = 'python'
61 poulet 1356
62 ksteube 1705 # Boost libraries
63     boost_path = '/opt/boost/'+boost_installation+'/include/boost-'+boost_version
64     boost_lib_path = '/opt/boost/'+boost_installation+'/lib'
65     boost_libs = ['boost_python-il-mt-1_33_1']
66 poulet 1356
67 ksteube 1705 # Specify whether or not to use VTK
68     # usevtk = 'yes'
69 poulet 1356
70 ksteube 1705 # NetCDF
71     usenetcdf = 'yes'
72     netCDF_path = '/opt/netcdf/3.6.2/include'
73     netCDF_lib_path = '/opt/netcdf/3.6.2/lib'
74     # netCDF_libs = ['netcdf_c++', 'netcdf']
75 poulet 1356
76 ksteube 1705 # MKL
77 ksteube 1728 # usemkl = 'no'
78     # mkl_path = '/opt/intel_mkl/9.1.018/include'
79     # mkl_lib_path = '/opt/intel_mkl/9.1.018/lib/64'
80     # mkl_libs = ['mkl_solver', 'mkl_lapack', 'mkl_ipf']
81 poulet 1356
82 ksteube 1705 # UMFPACK (requires AMD and BLAS)
83     # useumfpack = 'yes'
84     # ufc_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
85     # umf_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
86     # umf_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
87     # umf_libs = ['umfpack']
88     # amd_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
89     # amd_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
90     # amd_libs = ['amd']
91     # blas_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
92     # blas_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
93     # blas_libs = ['blas']
94 poulet 1356
95 ksteube 1705 # OpenMP
96     # useopenmp = 'yes'
97 poulet 1356
98 ksteube 1705 # MPI MPT (no module load required)
99     usempi = 'no'
100     mpi_path = '/usr/include'
101     mpi_lib_path = '/usr/lib'
102     mpi_libs = ['mpi']
103 gross 2363 mpi_flavour = 'MPT'
104 poulet 1356
105 ksteube 1705 # ParMETIS (for use with MPI)
106     # useparmetis = 'yes'
107     # parmetis_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/include'
108     # parmetis_lib_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/lib'
109     # parmetis_libs = ['parmetis', 'metis']
110 poulet 1356
111 ksteube 1705 # PAPI
112     # usepapi = 'no'
113     # papi_path = '/usr/include'
114     # papi_lib_path = '/usr/lib64'
115     # papi_libs = ['papi']
116     # papi_instrument_solver = 'no'
117 poulet 1356

  ViewVC Help
Powered by ViewVC 1.1.26