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

Annotation of /trunk/scons/linux_options_example.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1705 - (hide annotations)
Thu Aug 14 05:56:40 2008 UTC (11 years, 1 month ago) by ksteube
Original Path: trunk/scons/shake63_options.py
File MIME type: text/x-python
File size: 2999 byte(s)
Branch scons-dev is hereby closed.
Some parts of scons scripts have been re-written.

1 jfenwick 1690
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 1705 # Configuration for shake63 (32-bit Intel running Fedora Linux)
11 jfenwick 1690
12 ksteube 1705 # If you cannot use the default compiler flags set in SConstruct, then change them here
13     # C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug)
14     # cc_flags = '-ansi'
15     # cc_optim = '-O2'
16     # cc_debug = '-g'
17     # omp_optim = '-openmp'
18     # omp_debug = '-openmp'
19     # omp_libs = []
20    
21     # Use the default C/C++ flags but add something only for this host:
22     # cc_extra = ''
23    
24     # Be picky about errors
25     # usepedantic = 'no'
26    
27     # Extra libraries
28     # sys_libs = ['guide', 'pthread', 'stdc++']
29    
30     # Python libraries
31 jfenwick 1690 python_path = '/usr/include/python2.5'
32     python_lib_path = '/usr/lib'
33 ksteube 1705 python_libs = 'python2.5'
34     # python_cmd = 'python'
35 jfenwick 1690
36 ksteube 1705 # Boost libraries
37     boost_path = '/usr/include/'
38     boost_lib_path = '/usr/lib'
39     boost_libs = ['boost_python']
40 jfenwick 1690
41 ksteube 1705 # Specify whether or not to use VTK
42     # usevtk = 'yes'
43    
44 jfenwick 1690 # NetCDF
45 ksteube 1705 # usenetcdf = 'yes'
46 jfenwick 1690 netCDF_path = '/usr/include/netcdf-3'
47     netCDF_lib_path = '/usr/lib'
48 ksteube 1705 # netCDF_libs = ['netcdf_c++', 'netcdf']
49 jfenwick 1690
50 ksteube 1705 # MKL
51     # usemkl = 'yes'
52     # mkl_path = '/sw/sdev/cmkl/10.0.2.18/include'
53     # mkl_lib_path = '/sw/sdev/cmkl/10.0.2.18/lib/em64t'
54     # mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
55    
56     # UMFPACK (requires AMD and BLAS)
57     # useumfpack = 'yes'
58     # ufc_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
59     # umf_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
60     # umf_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
61     # umf_libs = ['umfpack']
62     # amd_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
63     # amd_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
64     # amd_libs = ['amd']
65     # blas_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
66     # blas_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
67     # blas_libs = ['blas']
68    
69     # OpenMP
70     # useopenmp = 'yes'
71    
72     # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
73     # mpi_path = '/home/Work/InstallArea/mpich2-1.0.7/include'
74     # mpi_lib_path = '/home/Work/InstallArea/mpich2-1.0.7/lib'
75 jfenwick 1690 # mpi_libs = ['mpich', 'rt']
76 ksteube 1705 # mpi_run = 'mpirun -np 1'
77 jfenwick 1690
78 ksteube 1705 # MPICH2 for jumpshot (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
79     # mpi_path = '/home/Work/InstallArea/mpich2-1.0.7/include'
80     # mpi_lib_path = '/home/Work/InstallArea/mpich2-1.0.7/lib'
81     # mpi_libs = ['lmpe', 'mpe', 'mpich', 'rt']
82     # mpi_run = 'mpirun -np 1'
83 jfenwick 1690
84 ksteube 1705 # ParMETIS (for use with MPI)
85     # useparmetis = 'yes'
86     # parmetis_path = '/home/Work/InstallArea/parmetis-3.1/include'
87     # parmetis_lib_path = '/home/Work/InstallArea/parmetis-3.1/lib'
88     # parmetis_libs = ['parmetis', 'metis']
89    
90     # PAPI
91     # usepapi = 'no'
92     # papi_path = '/usr/include'
93     # papi_lib_path = '/usr/lib'
94     # papi_libs = ['papi']
95     # papi_instrument_solver = 'no'
96    

  ViewVC Help
Powered by ViewVC 1.1.26