/[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 1699 - (show annotations)
Thu Aug 14 02:38:23 2008 UTC (14 years, 7 months ago) by ksteube
File MIME type: text/x-python
File size: 3310 byte(s)
Fixed InstallAs target for Windows (removed escriptcpp.pyd since this
file is not created).
Added new config variable cc_extra to add some C/C++ options without
having to change everything.

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 # Use the default C/C++ flags but add something only for this host:
39 # cc_extra = ''
40
41 # Be picky about errors
42 # usepedantic = 'no'
43
44 # Extra libraries
45 # sys_libs = []
46
47 # Python libraries
48 python_path = '/opt/python/'+python_installation+'/include/python'+python_version
49 python_lib_path = '/opt/python/'+python_installation+'/lib'
50 python_libs = ['python'+python_version]
51 # python_cmd = 'python'
52
53 # Boost libraries
54 boost_path = '/opt/boost/'+boost_installation+'/include/boost-'+boost_version
55 boost_lib_path = '/opt/boost/'+boost_installation+'/lib'
56 boost_libs = ['boost_python-il-mt-1_33_1']
57
58 # Specify whether or not to use VTK
59 # usevtk = 'yes'
60
61 # NetCDF
62 usenetcdf = 'yes'
63 netCDF_path = '/opt/netcdf/3.6.2/include'
64 netCDF_lib_path = '/opt/netcdf/3.6.2/lib'
65 # netCDF_libs = ['netcdf_c++', 'netcdf']
66
67 # MKL
68 usemkl = 'yes'
69 mkl_path = '/opt/intel_mkl/9.1.018/include'
70 mkl_lib_path = '/opt/intel_mkl/9.1.018/lib/64'
71 mkl_libs = ['mkl_solver', 'mkl_lapack', 'mkl_ipf']
72
73 # UMFPACK (requires AMD and BLAS)
74 # useumfpack = 'yes'
75 # ufc_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
76 # umf_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
77 # umf_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
78 # umf_libs = ['umfpack']
79 # amd_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
80 # amd_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
81 # amd_libs = ['amd']
82 # blas_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
83 # blas_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
84 # blas_libs = ['blas']
85
86 # OpenMP
87 # useopenmp = 'yes'
88
89 # MPI MPT (no module load required)
90 usempi = 'no'
91 mpi_path = '/usr/include'
92 mpi_lib_path = '/usr/lib'
93 mpi_libs = ['mpi']
94 mpi_run = 'mpirun -np 1'
95
96 # ParMETIS (for use with MPI)
97 # useparmetis = 'yes'
98 # parmetis_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/include'
99 # parmetis_lib_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/lib'
100 # parmetis_libs = ['parmetis', 'metis']
101
102 # PAPI
103 # usepapi = 'no'
104 # papi_path = '/usr/include'
105 # papi_lib_path = '/usr/lib64'
106 # papi_libs = ['papi']
107 # papi_instrument_solver = 'no'
108

  ViewVC Help
Powered by ViewVC 1.1.26