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

Annotation of /trunk/scons/cognac_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1728 - (hide annotations)
Tue Aug 26 05:15:32 2008 UTC (10 years, 11 months ago) by ksteube
File MIME type: text/x-python
File size: 3355 byte(s)
Minor update to configuration for cognac

1 ksteube 1705
2 poulet 1356 # 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 ksteube 1705
10     # Configuration for Cognac (SGI Altix)
11    
12     # Assumed modules:
13 gross 1380 #
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 phornby 1383 # module load boost/1.33.1/python2.4.4_icc10.0.023/numarray1.5.2_icc10.0.023/icc10.0.023
19 gross 1380 # module load netcdf/3.6.2
20     # module load intel-mkl/9.1.018
21     # module load scsl/1.6.1.0
22     #
23 poulet 1356
24 gross 1374 python_version="2.4"
25     python_installation="2.4.4/icc10.0.023"
26     boost_version="1_33_1"
27 phornby 1383 boost_installation="1.33.1/python2.4.4_icc10.0.023/numarray1.5.2_icc10.0.023/icc10.0.023"
28 gross 1374
29 ksteube 1705 # 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 ksteube 1728 cc_flags = '-fPIC -ansi -wd161 -w1 -DBLOCKTIMER -DCORE_ID1'
32 ksteube 1705 # cc_optim = '-O2'
33     # cc_debug = '-g'
34     # omp_optim = '-openmp'
35     # omp_debug = '-openmp'
36     # omp_libs = ['guide']
37 poulet 1356
38 ksteube 1705 # Use the default C/C++ flags but add something only for this host:
39     # cc_extra = ''
40 poulet 1356
41 ksteube 1705 # Be picky about errors
42     # usepedantic = 'no'
43 poulet 1356
44 ksteube 1705 # Extra libraries
45     # sys_libs = []
46 poulet 1356
47 ksteube 1705 # 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 poulet 1356
53 ksteube 1705 # 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 poulet 1356
58 ksteube 1705 # Specify whether or not to use VTK
59     # usevtk = 'yes'
60 poulet 1356
61 ksteube 1705 # 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 poulet 1356
67 ksteube 1705 # MKL
68 ksteube 1728 # usemkl = 'no'
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 poulet 1356
73 ksteube 1705 # 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 poulet 1356
86 ksteube 1705 # OpenMP
87     # useopenmp = 'yes'
88 poulet 1356
89 ksteube 1705 # 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 poulet 1356
96 ksteube 1705 # 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 poulet 1356
102 ksteube 1705 # 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 poulet 1356

  ViewVC Help
Powered by ViewVC 1.1.26