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

Contents of /trunk/scons/service0_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1559 - (show annotations)
Wed May 21 04:27:15 2008 UTC (11 years, 4 months ago) by ksteube
File MIME type: text/x-python
File size: 3156 byte(s)
Compiles and runs on Savanna (hostname service0)

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 Savanna
11
12 # flag the MPI settings
13 # useMPI = 'yes'
14
15 # TODO: Variables named *_path should be *_include
16
17 # locations of libs etc used by mkl
18 ### mkl_path = '/sw/sdev/cmkl/10.0.2.18/include'
19 ### mkl_lib_path = '/sw/sdev/cmkl/10.0.2.18/lib/em64t'
20 ### mkl_libs = ['mkl_solver', 'mkl_lapack']
21 ### mkl_libs = ['mkl_solver', 'mkl_lapack', 'mkl_ipf'] # Library mkl_ipf does not exist anymore
22
23 # locations of libs etc used by SCSL
24 ### scsl_path = '/usr/include'
25 ### scsl_lib_path = '/usr/lib'
26 ### scsl_libs = ['scs_mp']
27 ### scsl_libs_MPI = [ 'scs', 'mpi' ]
28
29 # Location of ParMETIS library
30 ### parmetis_path = '/data/raid2/toolspp4/parmetis/include'
31 ### parmetis_lib_path = '/data/raid2/toolspp4/parmetis/lib'
32 ### parmetis_lib = ['parmetis', 'metis']
33
34 # locations of include files for python
35 python_path = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/include/python2.4'
36 python_lib_path = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/lib'
37 python_lib = 'python2.4'
38
39 # locations of libraries for boost
40 boost_path = '/usr/include/boost'
41 boost_lib_path = '/usr/lib64'
42 boost_lib = 'boost_python'
43
44 # locations of doc building executables
45 ### doxygen_path = '/data/raid2/toolspp4/doxygen/1.4.6/gcc-3.3.6/bin'
46 ### epydoc_path = '/raid2/tools/epydoc/2.1/python-2.3.4/bin'
47
48 # locations of netcdf
49 useNetCDF = 'yes'
50 netCDF_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/include'
51 netCDF_lib_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/lib'
52 netCDF_libs = [ 'netcdf_c++', 'netcdf']
53
54 # locations of PAPI
55 papi_instrument_solver = 0
56 # papi_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/include'
57 # papi_lib_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/lib'
58 # papi_libs = [ 'papi' ]
59
60 mpi_path = '/usr/include'
61 mpi_lib_path = '/usr/lib64'
62 mpi_libs = [ 'mpi' ]
63 mpi_run = 'mpirun -np 1'
64
65 # Change -fno-alias to -fargument-noalias???
66 # -ivdep-parallel is i64 only, not Savanna
67 # Use -ax for vectorization?
68 # -axN and -axW are identical?
69 # -axK not for SSE2
70
71 # Which manual has information about the compiler options?
72
73 omp_flags = '-openmp -openmp_report2 '
74 omp_flags_debug = '-openmp -openmp_report0'
75
76 # c flags to use
77 cc_flags = '-O3 -ftz -IPF-ftlacc- -IPF-fma -fno-alias -wd161 -fPIC -DBLOCKTIMER'
78 cc_flags_debug = '-g -O0 -wd161 -fPIC -DBLOCKTIMER'
79
80 # c++ flags to use
81 cxx_flags = '-ansi -wd161 -DMPI_NO_CPPBIND -DBLOCKTIMER'
82 cxx_flags_debug = '-g -ansi -wd161 -DDOASSERT -DDOPROF -DMPI_NO_CPPBIND -fPIC -DBLOCKTIMER'
83
84 # c and c++ flags for MPI compilation
85 # c flags to use
86 cc_flags_MPI = '-O3 -ftz -IPF-ftlacc- -IPF-fma -fno-alias -wd161 -fPIC -DPASO_MPI -DBLOCKTIMER'
87 cc_flags_debug_MPI = '-g -O0 -wd161 -fPIC -DPASO_MPI -DBLOCKTIMER'
88
89 # c++ flags to use
90 cxx_flags_MPI = '-ansi -wd1563 -wd161 -DMPI_NO_CPPBIND -DBLOCKTIMER'
91 cxx_flags_debug_MPI = '-ansi -DDOASSERT -DDOPROF -wd1563 -wd161 -DMPI_NO_CPPBIND -DBLOCKTIMER'
92
93 # system specific libraries to link with
94 sys_libs = ['stdc++']
95

  ViewVC Help
Powered by ViewVC 1.1.26