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

Annotation of /trunk/scons/service0_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1620 - (hide annotations)
Fri Jun 27 02:30:18 2008 UTC (11 years, 2 months ago) by ksteube
File MIME type: text/x-python
File size: 3489 byte(s)
Included more MPI configuration options on Savanna

1 ksteube 1559
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 ksteube 1579 # Configuration for Savanna (SGI ICE 8200)
11 ksteube 1559
12 ksteube 1560 # ParMETIS
13     # parmetis_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/include'
14     # parmetis_lib_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/lib'
15     # parmetis_lib = ['parmetis', 'metis']
16 ksteube 1559
17 ksteube 1560 # Python
18     python_path = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/include/python2.4'
19     python_lib_path = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/lib'
20     python_lib = 'python2.4'
21 ksteube 1559
22 ksteube 1560 # Boost
23 ksteube 1567 boost_path = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.4.4/boost_1_33/include/boost-1_33'
24     boost_lib_path = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.4.4/boost_1_33/lib'
25     boost_lib = 'boost_python-gcc'
26 ksteube 1559
27 ksteube 1560 # Documentation
28     # doxygen_path = '/sw/apps/.../bin'
29     # epydoc_path = '/sw/apps/.../bin'
30 ksteube 1559
31 ksteube 1560 # NetCDF
32     useNetCDF = 'yes'
33     netCDF_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/include'
34     netCDF_lib_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/lib'
35     netCDF_libs = ['netcdf_c++', 'netcdf']
36 ksteube 1559
37 ksteube 1620 # MPI MPT (no module load required)
38     # mpi_path = '/usr/include'
39     # mpi_lib_path = '/usr/lib64'
40     # mpi_libs = ['mpi']
41     # mpi_run = 'mpirun -np 1'
42 ksteube 1559
43 ksteube 1620 # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
44     # mpi_path = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/include'
45     # mpi_lib_path = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/lib'
46     # mpi_libs = ['mpich', 'rt']
47     # mpi_run = 'mpirun -np 1'
48    
49     # MPICH2 for jumpshot (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
50     # mpi_path = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/include'
51     # mpi_lib_path = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/lib'
52     # mpi_libs = ['lmpe', 'mpe', 'mpich', 'rt']
53     # mpi_run = 'mpirun -np 1'
54    
55     # Intel MPI (to run Escript use: module load intel-mpi/3.1.038)
56     # mpi_path = '/sw/sdev/intel/mpi/3.1.038/x86_64/include64'
57     # mpi_lib_path = '/sw/sdev/intel/mpi/3.1.038/x86_64/lib64'
58     # mpi_libs = ['mpi']
59     # mpi_run = 'mpirun -np 1'
60    
61     # mvapich (to run Escript use: module load mvapich/mvapich-1.0.1)
62     # mpi_path = '/usr/diags/mpi/mvapich/intel/include'
63     # mpi_lib_path = '/usr/diags/mpi/mvapich/intel/lib/shared'
64     # mpi_libs = ['mpich']
65     # mpi_run = 'mpirun -np 1'
66    
67     # OpenMPI (to run Escript use: module load openmpi/gcc-4.1.2/openmpi-1.2.6) (This doesn't compile)
68     # mpi_path = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/include'
69     # mpi_lib_path = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/lib'
70     # mpi_libs = ['mpi']
71     # mpi_run = 'mpirun -np 1'
72    
73 ksteube 1579 # PAPI
74     papi_instrument_solver = 0
75     # papi_path = '/sw/.../include'
76     # papi_lib_path = '/sw/.../lib'
77     # papi_libs = ['papi']
78    
79     # MKL
80     # mkl_path = '/sw/sdev/cmkl/10.0.2.18/include'
81     # mkl_lib_path = '/sw/sdev/cmkl/10.0.2.18/lib/em64t'
82     # mkl_libs = ['mkl_solver', 'mkl_lapack']
83    
84 ksteube 1560 # OpenMP (comment out to disable OpenMP)
85 ksteube 1579 omp_flags = '-openmp -openmp_report0'
86     omp_flags_debug = '-openmp -openmp_report0'
87 ksteube 1559
88 ksteube 1560 # C flags (also used by C++)
89 ksteube 1620 cc_flags = '-O3 -ansi -fPIC -vec-report0 -ftz -IPF-fltacc- -IPF-fma -fno-alias -DBLOCKTIMER -UPASO_DYNAMIC_SCHEDULING_MVM -DCORE_ID1'
90 ksteube 1560 cc_flags_debug = '-g -ansi -fPIC'
91 ksteube 1559
92 ksteube 1560 # C++ flags
93     cxx_flags = ''
94 ksteube 1567 cxx_flags_debug = '-DDOASSERT -DDOPROF' # -D... here is not recognized by scons as dependencies
95 ksteube 1559
96 ksteube 1560 # System-specific libraries to link with
97 ksteube 1579 sys_libs = ['guide', 'pthread', 'stdc++']
98 ksteube 1559

  ViewVC Help
Powered by ViewVC 1.1.26