/[escript]/branches/scons-dev/scons/cognac_options.py
ViewVC logotype

Contents of /branches/scons-dev/scons/cognac_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1689 - (show annotations)
Tue Aug 5 03:54:26 2008 UTC (13 years, 2 months ago) by ksteube
File MIME type: text/x-python
File size: 3224 byte(s)
Updated scons file for cognac

1
2 # Copyright 2006 by ACcESS MNRF
3 #
4 # http://www.access.edu.au
5 # Primary Business: Queensland, Australia
6 # Licensed under the Open Software License version 3.0
7 # http://www.opensource.org/licenses/osl-3.0.php
8 #
9
10 # Configuration for Cognac (SGI Altix)
11
12 # Assumed modules:
13 #
14 # module load scons/0.96.91
15 # module load intel-cc/10.0.023
16 # module load python/2.4.4/icc10.0.023
17 # module load numarray/1.5.2/python2.4.4_icc10.0.023/icc10.0.023
18 # module load boost/1.33.1/python2.4.4_icc10.0.023/numarray1.5.2_icc10.0.023/icc10.0.023
19 # module load netcdf/3.6.2
20 # module load intel-mkl/9.1.018
21 # module load scsl/1.6.1.0
22 #
23
24 python_version="2.4"
25 python_installation="2.4.4/icc10.0.023"
26 boost_version="1_33_1"
27 boost_installation="1.33.1/python2.4.4_icc10.0.023/numarray1.5.2_icc10.0.023/icc10.0.023"
28
29 # If you cannot use the default compiler flags set in SConstruct, then change them here
30 # C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug)
31 # cc_flags = '-ansi'
32 # cc_optim = '-O2'
33 # cc_debug = '-g'
34 # omp_optim = '-openmp'
35 # omp_debug = '-openmp'
36 # omp_libs = ['guide']
37
38 # Be picky about errors
39 # usepedantic = 'no'
40
41 # Extra libraries
42 # sys_libs = []
43
44 # Python libraries
45 python_path = '/opt/python/'+python_installation+'/include/python'+python_version
46 python_lib_path = '/opt/python/'+python_installation+'/lib'
47 python_libs = ['python'+python_version]
48 # python_cmd = 'python'
49
50 # Boost libraries
51 boost_path = '/opt/boost/'+boost_installation+'/include/boost-'+boost_version
52 boost_lib_path = '/opt/boost/'+boost_installation+'/lib'
53 boost_libs = ['boost_python-il-mt-1_33_1']
54
55 # Specify whether or not to use VTK
56 # usevtk = 'yes'
57
58 # NetCDF
59 usenetcdf = 'yes'
60 netCDF_path = '/opt/netcdf/3.6.2/include'
61 netCDF_lib_path = '/opt/netcdf/3.6.2/lib'
62 # netCDF_libs = ['netcdf_c++', 'netcdf']
63
64 # MKL
65 usemkl = 'yes'
66 mkl_path = '/opt/intel_mkl/9.1.018/include'
67 mkl_lib_path = '/opt/intel_mkl/9.1.018/lib/64'
68 mkl_libs = ['mkl_solver', 'mkl_lapack', 'mkl_ipf']
69
70 # UMFPACK (requires AMD and BLAS)
71 # useumfpack = 'yes'
72 # ufc_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
73 # umf_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
74 # umf_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
75 # umf_libs = ['umfpack']
76 # amd_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
77 # amd_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
78 # amd_libs = ['amd']
79 # blas_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
80 # blas_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
81 # blas_libs = ['blas']
82
83 # OpenMP
84 # useopenmp = 'yes'
85
86 # MPI MPT (no module load required)
87 usempi = 'no'
88 mpi_path = '/usr/include'
89 mpi_lib_path = '/usr/lib'
90 mpi_libs = ['mpi']
91 mpi_run = 'mpirun -np 1'
92
93 # ParMETIS (for use with MPI)
94 # useparmetis = 'yes'
95 # parmetis_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/include'
96 # parmetis_lib_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/lib'
97 # parmetis_libs = ['parmetis', 'metis']
98
99 # PAPI
100 # usepapi = 'no'
101 # papi_path = '/usr/include'
102 # papi_lib_path = '/usr/lib64'
103 # papi_libs = ['papi']
104 # papi_instrument_solver = 'no'
105

  ViewVC Help
Powered by ViewVC 1.1.26