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

Contents of /trunk/scons/cognac_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1771 - (show annotations)
Mon Sep 8 22:47:55 2008 UTC (10 years, 11 months ago) by ksteube
File MIME type: text/x-python
File size: 3446 byte(s)
Removed failing test until we fix a bug.
Fixed several compiler warnings.

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

  ViewVC Help
Powered by ViewVC 1.1.26