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

Annotation of /trunk/scons/badger_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2286 - (hide annotations)
Mon Feb 23 02:50:06 2009 UTC (10 years, 4 months ago) by jfenwick
File MIME type: text/x-python
File size: 3328 byte(s)
Added build_full target. This will build escript, the unit test binaries 
and compile all the python files.
This should be called before using utest.sh.

Added gcc openmp params for badger

1 jfenwick 1690
2 ksteube 1810 ########################################################
3 jfenwick 1690 #
4 ksteube 1810 # Copyright (c) 2003-2008 by University of Queensland
5     # 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 ksteube 1705 # Configuration for shake63 (32-bit Intel running Fedora Linux)
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     omp_libs = ['gomp']
25 ksteube 1705
26     # Use the default C/C++ flags but add something only for this host:
27 jfenwick 2026 #cc_extra = '-Wall -pedantic -isystem /usr/include/boost/ -isystem /usr/include/python2.5/ -Wno-sign-compare -Wno-long-long'
28 jfenwick 2286 #cc_extra = '-fopenmp'
29 ksteube 1771 # ld_extra = ''
30 ksteube 1705
31     # Be picky about errors
32     # usepedantic = 'no'
33    
34     # Extra libraries
35     # sys_libs = ['guide', 'pthread', 'stdc++']
36    
37     # Python libraries
38 jfenwick 1690 python_path = '/usr/include/python2.5'
39     python_lib_path = '/usr/lib'
40 ksteube 1705 python_libs = 'python2.5'
41     # python_cmd = 'python'
42 jfenwick 1690
43 ksteube 1705 # Boost libraries
44     boost_path = '/usr/include/'
45     boost_lib_path = '/usr/lib'
46     boost_libs = ['boost_python']
47 jfenwick 1690
48 ksteube 1705 # Specify whether or not to use VTK
49     # usevtk = 'yes'
50    
51 jfenwick 1690 # NetCDF
52 ksteube 1705 # usenetcdf = 'yes'
53 jfenwick 1690 netCDF_path = '/usr/include/netcdf-3'
54     netCDF_lib_path = '/usr/lib'
55 ksteube 1705 # netCDF_libs = ['netcdf_c++', 'netcdf']
56 jfenwick 1690
57 ksteube 1705 # MKL
58     # usemkl = 'yes'
59     # mkl_path = '/sw/sdev/cmkl/10.0.2.18/include'
60     # mkl_lib_path = '/sw/sdev/cmkl/10.0.2.18/lib/em64t'
61     # mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
62    
63     # UMFPACK (requires AMD and BLAS)
64     # useumfpack = 'yes'
65     # ufc_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
66     # umf_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
67     # umf_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
68     # umf_libs = ['umfpack']
69     # amd_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
70     # amd_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
71     # amd_libs = ['amd']
72     # blas_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
73     # blas_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
74     # blas_libs = ['blas']
75    
76     # OpenMP
77 jfenwick 2286 #useopenmp = 'yes'
78 ksteube 1705
79     # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
80 ksteube 1771 # usempi = 'no'
81 ksteube 1705 # mpi_path = '/home/Work/InstallArea/mpich2-1.0.7/include'
82     # mpi_lib_path = '/home/Work/InstallArea/mpich2-1.0.7/lib'
83 jfenwick 1690 # mpi_libs = ['mpich', 'rt']
84 ksteube 1705 # mpi_run = 'mpirun -np 1'
85 jfenwick 1690
86 ksteube 1705 # MPICH2 for jumpshot (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
87     # mpi_path = '/home/Work/InstallArea/mpich2-1.0.7/include'
88     # mpi_lib_path = '/home/Work/InstallArea/mpich2-1.0.7/lib'
89     # mpi_libs = ['lmpe', 'mpe', 'mpich', 'rt']
90     # mpi_run = 'mpirun -np 1'
91 jfenwick 1690
92 ksteube 1705 # ParMETIS (for use with MPI)
93     # useparmetis = 'yes'
94     # parmetis_path = '/home/Work/InstallArea/parmetis-3.1/include'
95     # parmetis_lib_path = '/home/Work/InstallArea/parmetis-3.1/lib'
96     # parmetis_libs = ['parmetis', 'metis']
97    
98     # PAPI
99     # usepapi = 'no'
100     # papi_path = '/usr/include'
101     # papi_lib_path = '/usr/lib'
102     # papi_libs = ['papi']
103     # papi_instrument_solver = 'no'
104    

Properties

Name Value
svn:mergeinfo

  ViewVC Help
Powered by ViewVC 1.1.26