/[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 2548 - (hide annotations)
Mon Jul 20 06:20:06 2009 UTC (10 years, 2 months ago) by jfenwick
File MIME type: text/x-python
File size: 3370 byte(s)
Updating copyright notices
1 jfenwick 1690
2 ksteube 1810 ########################################################
3 jfenwick 1690 #
4 jfenwick 2548 # Copyright (c) 2003-2009 by University of Queensland
5 ksteube 1810 # Earth Systems Science Computational Center (ESSCC)
6     # http://www.uq.edu.au/esscc
7 jfenwick 1690 #
8 ksteube 1810 # Primary Business: Queensland, Australia
9     # Licensed under the Open Software License version 3.0
10     # http://www.opensource.org/licenses/osl-3.0.php
11     #
12     ########################################################
13 jfenwick 1690
14 ksteube 1810
15 jfenwick 2512 # Example configuration for linux running gcc
16 jfenwick 1690
17 ksteube 1705 # If you cannot use the default compiler flags set in SConstruct, then change them here
18     # C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug)
19     # cc_flags = '-ansi'
20     # cc_optim = '-O2'
21     # cc_debug = '-g'
22 jfenwick 2286 omp_optim = '-fopenmp'
23     omp_debug = '-fopenmp'
24 jfenwick 2512 #omp_libs = ['gomp']
25     omp_libs = []
26     #Do not link gomp unless you are sure you need to
27 ksteube 1705
28     # Use the default C/C++ flags but add something only for this host:
29 jfenwick 2026 #cc_extra = '-Wall -pedantic -isystem /usr/include/boost/ -isystem /usr/include/python2.5/ -Wno-sign-compare -Wno-long-long'
30 jfenwick 2286 #cc_extra = '-fopenmp'
31 ksteube 1771 # ld_extra = ''
32 ksteube 1705
33     # Be picky about errors
34     # usepedantic = 'no'
35    
36     # Extra libraries
37     # sys_libs = ['guide', 'pthread', 'stdc++']
38    
39     # Python libraries
40 jfenwick 1690 python_path = '/usr/include/python2.5'
41     python_lib_path = '/usr/lib'
42 ksteube 1705 python_libs = 'python2.5'
43     # python_cmd = 'python'
44 jfenwick 1690
45 ksteube 1705 # Boost libraries
46     boost_path = '/usr/include/'
47     boost_lib_path = '/usr/lib'
48     boost_libs = ['boost_python']
49 jfenwick 1690
50 ksteube 1705 # Specify whether or not to use VTK
51     # usevtk = 'yes'
52    
53 jfenwick 1690 # NetCDF
54 ksteube 1705 # usenetcdf = 'yes'
55 jfenwick 1690 netCDF_path = '/usr/include/netcdf-3'
56     netCDF_lib_path = '/usr/lib'
57 ksteube 1705 # netCDF_libs = ['netcdf_c++', 'netcdf']
58 jfenwick 1690
59 ksteube 1705 # MKL
60     # usemkl = 'yes'
61     # mkl_path = '/sw/sdev/cmkl/10.0.2.18/include'
62     # mkl_lib_path = '/sw/sdev/cmkl/10.0.2.18/lib/em64t'
63     # mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
64    
65     # UMFPACK (requires AMD and BLAS)
66     # useumfpack = 'yes'
67     # ufc_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
68     # umf_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
69     # umf_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
70     # umf_libs = ['umfpack']
71     # amd_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
72     # amd_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
73     # amd_libs = ['amd']
74     # blas_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
75     # blas_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
76     # blas_libs = ['blas']
77    
78     # OpenMP
79 jfenwick 2286 #useopenmp = 'yes'
80 ksteube 1705
81     # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
82 ksteube 1771 # usempi = 'no'
83 ksteube 1705 # mpi_path = '/home/Work/InstallArea/mpich2-1.0.7/include'
84     # mpi_lib_path = '/home/Work/InstallArea/mpich2-1.0.7/lib'
85 jfenwick 1690 # mpi_libs = ['mpich', 'rt']
86 gross 2363 # mpi_flavour = 'MPICH'
87 jfenwick 1690
88 ksteube 1705 # MPICH2 for jumpshot (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
89     # mpi_path = '/home/Work/InstallArea/mpich2-1.0.7/include'
90     # mpi_lib_path = '/home/Work/InstallArea/mpich2-1.0.7/lib'
91     # mpi_libs = ['lmpe', 'mpe', 'mpich', 'rt']
92 gross 2363 # mpi_flavour = 'MPICH'
93 jfenwick 1690
94 ksteube 1705 # ParMETIS (for use with MPI)
95     # useparmetis = 'yes'
96     # parmetis_path = '/home/Work/InstallArea/parmetis-3.1/include'
97     # parmetis_lib_path = '/home/Work/InstallArea/parmetis-3.1/lib'
98     # parmetis_libs = ['parmetis', 'metis']
99    
100     # PAPI
101     # usepapi = 'no'
102     # papi_path = '/usr/include'
103     # papi_lib_path = '/usr/lib'
104     # papi_libs = ['papi']
105     # papi_instrument_solver = 'no'
106    

Properties

Name Value
svn:mergeinfo

  ViewVC Help
Powered by ViewVC 1.1.26