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

Annotation of /trunk/scons/cognac_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1731 - (hide annotations)
Wed Aug 27 03:11:24 2008 UTC (11 years, 4 months ago) by ksteube
File MIME type: text/x-python
File size: 3429 byte(s)
Updated "assumed modules" in scons/cognac_options.py

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

  ViewVC Help
Powered by ViewVC 1.1.26