/[escript]/trunk-mpi-branch/SConstruct
ViewVC logotype

Contents of /trunk-mpi-branch/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1117 - (show annotations)
Tue Apr 24 05:23:21 2007 UTC (13 years, 6 months ago) by ksteube
File size: 21079 byte(s)



Added scons options omp_flags and omp_flags_debug which allow us to
automatically disable OpenMP when compiling for MPI (there is a
problem using them together on the Altix).  You should never have to
set these by hand.








1 # Copyright 2006 by ACcESS MNRF
2 #
3 # http://www.access.edu.au
4 # Primary Business: Queensland, Australia
5 # Licensed under the Open Software License version 3.0
6 # http://www.opensource.org/licenses/osl-3.0.php
7 #
8 #
9 #
10
11 # top-level Scons configuration file for all esys13 modules
12 # Begin initialisation Section
13 # all of this section just intialises default environments and helper
14 # scripts. You shouldn't need to modify this section.
15 EnsureSConsVersion(0,96,91)
16 EnsurePythonVersion(2,3)
17
18 # import tools:
19 import glob
20 import sys, os
21 import socket
22 # Add our extensions
23 if sys.path.count('scons')==0: sys.path.append('scons')
24 import scons_extensions
25
26 # check if UMFPACK is installed on the system:
27 if os.path.isdir('/opt/UMFPACK/Include') and os.path.isdir('/opt/UMFPACK/Lib'):
28 umf_path_default='/opt/UMFPACK/Include'
29 umf_lib_path_default='/opt/UMFPACK/Lib'
30 umf_libs_default=['umfpack']
31 else:
32 umf_path_default=None
33 umf_lib_path_default=None
34 umf_libs_default=[]
35
36 if os.path.isdir('/opt/AMD/Include') and os.path.isdir('/opt/AMD/Lib'):
37 amd_path_default='/opt/AMD/Include'
38 amd_lib_path_default='/opt/AMD/Lib'
39 amd_libs_default=['amd']
40 else:
41 amd_path_default=None
42 amd_lib_path_default=None
43 amd_libs_default=[]
44
45 if os.path.isdir('/opt/UFconfig'):
46 ufc_path_default='/opt/UFconfig'
47 else:
48 ufc_path_default=None
49
50 # Default options and options help text
51 # These are defaults and can be overridden using command line arguments or an options file.
52 # if the options_file or ARGUMENTS do not exist then the ones listed as default here are used
53 # DO NOT CHANGE THEM HERE
54 if ARGUMENTS.get('options_file',0):
55 options_file = ARGUMENTS.get('options_file',0)
56 else:
57 from string import ascii_letters,digits
58 hostname=""
59 for s in socket.gethostname().split('.')[0]:
60 if s in ascii_letters+digits:
61 hostname+=s
62 else:
63 hostname+="_"
64 options_file = "scons/"+hostname+"_options.py"
65
66 opts = Options(options_file, ARGUMENTS)
67 opts.AddOptions(
68 # Where to install esys stuff
69 ('incinstall', 'where the esys headers will be installed', Dir('#.').abspath+'/include'),
70 ('libinstall', 'where the esys libraries will be installed', Dir('#.').abspath+'/lib'),
71 ('pyinstall', 'where the esys python modules will be installed', Dir('#.').abspath),
72 ('src_zipfile', 'the source zip file will be installed.', Dir('#.').abspath+"/release/escript_src.zip"),
73 ('test_zipfile', 'the test zip file will be installed.', Dir('#.').abspath+"/release/escript_tests.zip"),
74 ('src_tarfile', 'the source tar file will be installed.', Dir('#.').abspath+"/release/escript_src.tar.gz"),
75 ('test_tarfile', 'the test tar file will be installed.', Dir('#.').abspath+"/release/escript_tests.tar.gz"),
76 ('examples_tarfile', 'the examples tar file will be installed.', Dir('#.').abspath+"/release/doc/escript_examples.tar.gz"),
77 ('examples_zipfile', 'the examples zip file will be installed.', Dir('#.').abspath+"/release/doc/escript_examples.zip"),
78 ('guide_pdf', 'name of the user guide in pdf format', Dir('#.').abspath+"/release/doc/user/guide.pdf"),
79 ('api_epydoc', 'name of the epydoc api docs directory',Dir('#.').abspath+"/release/doc/epydoc"),
80 ('guide_html', 'name of the directory for user guide in html format', Dir('#.').abspath+"/release/doc/user/html"),
81 # Compilation options
82 BoolOption('dodebug', 'Do you want a debug build?', 'no'),
83 ('options_file', "Optional file containing preferred options. Ignored if it doesn't exist (default: scons/hostname_options.py)", options_file),
84 ('cc_defines','C/C++ defines to use', None),
85 ('cc_flags','C compiler flags to use (Release build)', '-O3 -std=c99 -ffast-math -fPIC -Wno-unknown-pragmas'),
86 ('cc_flags_debug', 'C compiler flags to use (Debug build)', '-g -O0 -ffast-math -std=c99 -fPIC -Wno-unknown-pragmas'),
87 ('cxx_flags', 'C++ compiler flags to use (Release build)', '--no-warn -ansi'),
88 ('cxx_flags_debug', 'C++ compiler flags to use (Debug build)', '--no-warn -ansi -DDOASSERT -DDOPROF'),
89 ('omp_flags', 'OpenMP compiler flags to use (Release build)', ''),
90 ('omp_flags_debug', 'OpenMP compiler flags to use (Debug build)', ''),
91 ('ar_flags', 'Static library archiver flags to use', None),
92 ('sys_libs', 'System libraries to link with', [ 'pthread' , 'rt' ] ),
93 ('tar_flags','flags for zip files','-c -z'),
94 # MKL
95 PathOption('mkl_path', 'Path to MKL includes', None),
96 PathOption('mkl_lib_path', 'Path to MKL libs', None),
97 ('mkl_libs', 'MKL libraries to link with', None),
98 # TRILINOS
99 PathOption('trilinos_path', 'Path to TRILINOS includes', None),
100 PathOption('trilinos_lib_path', 'Path to TRILINOS libs', None),
101 ('trilinos_libs', 'TRILINOS libraries to link with', None),
102 # SCSL
103 PathOption('scsl_path', 'Path to SCSL includes', None),
104 PathOption('scsl_lib_path', 'Path to SCSL libs', None),
105 ('scsl_libs', 'SCSL libraries to link with', None),
106 # UMFPACK
107 PathOption('ufc_path', 'Path to UFconfig includes', ufc_path_default),
108 PathOption('umf_path', 'Path to UMFPACK includes', umf_path_default),
109 PathOption('umf_lib_path', 'Path to UMFPACK libs', umf_lib_path_default),
110 ('umf_libs', 'UMFPACK libraries to link with', umf_libs_default),
111 # AMD (used by UMFPACK)
112 PathOption('amd_path', 'Path to AMD includes', amd_path_default),
113 PathOption('amd_lib_path', 'Path to AMD libs', amd_lib_path_default),
114 ('amd_libs', 'AMD libraries to link with', amd_libs_default),
115 # BLAS
116 PathOption('blas_path', 'Path to BLAS includes', None),
117 PathOption('blas_lib_path', 'Path to BLAS libs', None),
118 ('blas_libs', 'BLAS libraries to link with', None),
119 # netCDF
120 PathOption('netCDF_path', 'Path to netCDF includes', '/usr/local/include'),
121 PathOption('netCDF_lib_path', 'Path to netCDF libs', '/usr/local/lib'),
122 ('netCDF_libs_cxx', 'netCDF C++ libraries to link with', [ 'netcdf_c++', 'netcdf'] ),
123 # Python
124 # locations of include files for python
125 PathOption('python_path', 'Path to Python includes', '/usr/include/python%s.%s'%(sys.version_info[0],sys.version_info[1])),
126 PathOption('python_lib_path', 'Path to Python libs', '/usr/lib'),
127 ('python_libs', 'Python libraries to link with', ["python%s.%s"%(sys.version_info[0],sys.version_info[1]),]),
128 # Boost
129 PathOption('boost_path', 'Path to Boost includes', '/usr/include'),
130 PathOption('boost_lib_path', 'Path to Boost libs', '/usr/lib'),
131 ('boost_libs', 'Boost libraries to link with', ['boost_python',]),
132 # Doc building
133 # PathOption('doxygen_path', 'Path to Doxygen executable', None),
134 # PathOption('epydoc_path', 'Path to Epydoc executable', None),
135 # PAPI
136 PathOption('papi_path', 'Path to PAPI includes', None),
137 PathOption('papi_lib_path', 'Path to PAPI libs', None),
138 ('papi_libs', 'PAPI libraries to link with', None),
139 # MPI
140 BoolOption('useMPI', 'Compile parallel version using MPI', 'no'),
141 ('MPICH_IGNORE_CXX_SEEK', 'name of macro to ignore MPI settings of C++ SEEK macro (for MPICH)' , 'MPICH_IGNORE_CXX_SEEK'),
142 PathOption('mpi_path', 'Path to MPI includes', '/usr/local/include'),
143 PathOption('mpi_lib_path', 'Path to MPI libs (needs to be added to the LD_LIBRARY_PATH)','/usr/local/lib'),
144 ('mpi_libs', 'MPI libraries to link with (needs to be shared!)', [ 'mpich' , 'pthread', 'rt' ]),
145 )
146
147 # Initialise Scons Build Environment
148 # check for user environment variables we are interested in
149 try:
150 python_path = os.environ['PYTHONPATH']
151 except KeyError:
152 python_path = ''
153 try:
154 path = os.environ['PATH']
155 except KeyError:
156 path = ''
157 try:
158 ld_library_path = os.environ['LD_LIBRARY_PATH']
159 except KeyError:
160 ld_library_path = ''
161
162 # Note: On the Altix the intel compilers are not automatically
163 # detected by scons intelc.py script. The Altix has a different directory
164 # path and in some locations the "modules" facility is used to support
165 # multiple compiler versions. This forces the need to import the users PATH
166 # environment which isn't the "scons way"
167 # This doesn't impact linux and windows which will use the default compiler (g++ or msvc, or the intel compiler if it is installed on both platforms)
168 # FIXME: Perhaps a modification to intelc.py will allow better support for ia64 on altix
169
170 if os.name != "nt" and os.uname()[4]=='ia64':
171 env = Environment(ENV = {'PATH':path}, tools = ['default', 'intelc'], options = opts)
172 env['ENV']['PATH'] = path
173 env['ENV']['LD_LIBRARY_PATH'] = ld_library_path
174 env['ENV']['PYTHONPATH'] = python_path
175 if env['CXX'] == 'icpc':
176 env['LINK'] = env['CXX'] # version >=9 of intel c++ compiler requires use of icpc to link in C++ runtimes (icc does not). FIXME: this behaviour could be directly incorporated into scons intelc.py
177 elif os.name == "nt":
178 env = Environment(tools = ['default', 'intelc'], options = opts)
179 env['ENV']['PYTHONPATH'] = python_path
180 else:
181 env = Environment(tools = ['default'], options = opts)
182 env['ENV']['PATH'] = path
183 env['ENV']['LD_LIBRARY_PATH'] = ld_library_path
184 env['ENV']['PYTHONPATH'] = python_path
185
186 # Setup help for options
187 Help(opts.GenerateHelpText(env))
188
189 # Add some customer builders
190 py_builder = Builder(action = scons_extensions.build_py, suffix = '.pyc', src_suffix = '.py', single_source=True)
191 env.Append(BUILDERS = {'PyCompile' : py_builder});
192
193 if env['PLATFORM'] == "win32":
194 runUnitTest_builder = Builder(action = scons_extensions.runUnitTest, suffix = '.passed', src_suffix='.exe', single_source=True)
195 else:
196 runUnitTest_builder = Builder(action = scons_extensions.runUnitTest, suffix = '.passed', single_source=True)
197 env.Append(BUILDERS = {'RunUnitTest' : runUnitTest_builder});
198
199 runPyUnitTest_builder = Builder(action = scons_extensions.runPyUnitTest, suffix = '.passed', src_suffic='.py', single_source=True)
200 env.Append(BUILDERS = {'RunPyUnitTest' : runPyUnitTest_builder});
201
202 # Convert the options which are held in environment variable into python variables for ease of handling and configure compilation options
203 try:
204 incinstall = env['incinstall']
205 env.Append(CPPPATH = [incinstall,])
206 except KeyError:
207 incinstall = None
208 try:
209 libinstall = env['libinstall']
210 env.Append(LIBPATH = [libinstall,])
211 env.PrependENVPath('LD_LIBRARY_PATH', libinstall)
212 if env['PLATFORM'] == "win32":
213 env.PrependENVPath('PATH', libinstall)
214 env.PrependENVPath('PATH', env['boost_lib_path'])
215 except KeyError:
216 libinstall = None
217 try:
218 pyinstall = env['pyinstall']+'/esys' # all targets will install into pyinstall/esys but PYTHONPATH points at straight pyinstall so you go import esys.escript etc
219 env.PrependENVPath('PYTHONPATH', env['pyinstall'])
220 except KeyError:
221 pyinstall = None
222 try:
223 dodebug = env['dodebug']
224 except KeyError:
225 dodebug = None
226 try:
227 useMPI = env['useMPI']
228 except KeyError:
229 useMPI = None
230 try:
231 cc_defines = env['cc_defines']
232 env.Append(CPPDEFINES = cc_defines)
233 except KeyError:
234 pass
235
236 # mpi?
237 if useMPI:
238 env.Append(CPPDEFINES=['PASO_MPI',])
239 env.Append(CDEFINES=['PASO_MPI',])
240
241 try:
242 omp_flags = env['omp_flags']
243 omp_flags_debug = env['omp_flags_debug']
244 except KeyError:
245 print "omp_flags = ''"
246 print "omp_flags_debug = ''"
247
248 # OpenMP and MPI conflict on the Altix, maybe can fix this for mixed mode programming
249 # This disables both OpenMP and MPI on all systems but is an OK fix for now
250 if useMPI:
251 omp_flags = ''
252 omp_flags_debug = ''
253
254 if dodebug:
255 try:
256 flags = env['cc_flags_debug'] + ' ' + omp_flags_debug
257 env.Append(CCFLAGS = flags)
258 except KeyError:
259 pass
260 else:
261 try:
262 flags = env['cc_flags'] + ' ' + omp_flags
263 env.Append(CCFLAGS = flags)
264 except KeyError:
265 pass
266 if dodebug:
267 try:
268 flags = env['cxx_flags_debug']
269 env.Append(CXXFLAGS = flags)
270 except KeyError:
271 pass
272 else:
273 try:
274 flags = env['cxx_flags']
275 env.Append(CXXFLAGS = flags)
276 except KeyError:
277 pass
278 try:
279 flags = env['ar_flags']
280 env.Append(ARFLAGS = flags)
281 except KeyError:
282 ar_flags = None
283 try:
284 sys_libs = env['sys_libs']
285 except KeyError:
286 sys_libs = []
287
288 try:
289 tar_flags = env['tar_flags']
290 env.Replace(TARFLAGS = tar_flags)
291 except KeyError:
292 pass
293
294
295 # ============= set mkl (but only of no MPI) =====================================
296 if not useMPI:
297 try:
298 includes = env['mkl_path']
299 env.Append(CPPPATH = [includes,])
300 except KeyError:
301 pass
302
303 try:
304 lib_path = env['mkl_lib_path']
305 env.Append(LIBPATH = [lib_path,])
306 except KeyError:
307 pass
308
309 try:
310 mkl_libs = env['mkl_libs']
311 except KeyError:
312 mkl_libs = []
313 else:
314 mkl_libs = []
315
316 # ============= set scsl (but only of no MPI) =====================================
317 if not useMPI:
318 try:
319 includes = env['scsl_path']
320 env.Append(CPPPATH = [includes,])
321 except KeyError:
322 pass
323
324 try:
325 lib_path = env['scsl_lib_path']
326 env.Append(LIBPATH = [lib_path,])
327 except KeyError:
328 pass
329
330 try:
331 scsl_libs = env['scsl_libs']
332 except KeyError:
333 scsl_libs = [ ]
334
335 else:
336 scsl_libs = []
337
338 # ============= set TRILINOS (but only with MPI) =====================================
339 if useMPI:
340 try:
341 includes = env['trilinos_path']
342 env.Append(CPPPATH = [includes,])
343 except KeyError:
344 pass
345
346 try:
347 lib_path = env['trilinos_lib_path']
348 env.Append(LIBPATH = [lib_path,])
349 except KeyError:
350 pass
351
352 try:
353 trilinos_libs = env['trilinos_libs']
354 except KeyError:
355 trilinos_libs = []
356 else:
357 trilinos_libs = []
358
359
360 # ============= set umfpack (but only without MPI) =====================================
361 umfpack_libs=[ ]
362 if not useMPI:
363 try:
364 includes = env['umf_path']
365 env.Append(CPPPATH = [includes,])
366 except KeyError:
367 pass
368
369 try:
370 lib_path = env['umf_lib_path']
371 env.Append(LIBPATH = [lib_path,])
372 except KeyError:
373 pass
374
375 try:
376 umf_libs = env['umf_libs']
377 umfpack_libs+=umf_libs
378 except KeyError:
379 pass
380
381 try:
382 includes = env['ufc_path']
383 env.Append(CPPPATH = [includes,])
384 except KeyError:
385 pass
386
387 try:
388 includes = env['amd_path']
389 env.Append(CPPPATH = [includes,])
390 except KeyError:
391 pass
392
393 try:
394 lib_path = env['amd_lib_path']
395 env.Append(LIBPATH = [lib_path,])
396 except KeyError:
397 pass
398
399 try:
400 amd_libs = env['amd_libs']
401 umfpack_libs+=amd_libs
402 except KeyError:
403 pass
404
405 # ============= set blas =====================================
406 try:
407 includes = env['blas_path']
408 env.Append(CPPPATH = [includes,])
409 except KeyError:
410 pass
411
412 try:
413 lib_path = env['blas_lib_path']
414 env.Append(LIBPATH = [lib_path,])
415 except KeyError:
416 pass
417
418 try:
419 blas_libs = env['blas_libs']
420 except KeyError:
421 blas_libs = [ ]
422
423 # ============= set netcdf =====================================
424 try:
425 includes = env['netCDF_path']
426 env.Append(CPPPATH = [includes,])
427 except KeyError:
428 pass
429
430 try:
431 lib_path = env['netCDF_lib_path']
432 env.Append(LIBPATH = [lib_path,])
433 except KeyError:
434 pass
435
436 try:
437 netCDF_libs_cxx = env['netCDF_libs_cxx']
438 except KeyError:
439 netCDF_lib_cxx = [ ]
440
441 # ============= set boost =====================================
442 try:
443 includes = env['boost_path']
444 env.Append(CPPPATH = [includes,])
445 except KeyError:
446 pass
447 try:
448 lib_path = env['boost_lib_path']
449 env.Append(LIBPATH = [lib_path,])
450 except KeyError:
451 pass
452 try:
453 boost_libs = env['boost_libs']
454 except KeyError:
455 boost_libs = [ ]
456 # ============= set python =====================================
457 try:
458 includes = env['python_path']
459 env.Append(CPPPATH = [includes,])
460 except KeyError:
461 pass
462 try:
463 lib_path = env['python_lib_path']
464 env.Append(LIBPATH = [lib_path,])
465 except KeyError:
466 pass
467 try:
468 python_libs = env['python_libs']
469 except KeyError:
470 python_libs = []
471
472 # ============= set mpi =====================================
473 if useMPI:
474 try:
475 includes = env['mpi_path']
476 env.Append(CPPPATH = [includes,])
477 except KeyError:
478 pass
479 try:
480 lib_path = env['mpi_lib_path']
481 env.Append(LIBPATH = [lib_path,])
482 except KeyError:
483 pass
484 try:
485 mpi_libs = env['mpi_libs']
486 except KeyError:
487 mpi_libs = []
488 try:
489 mpich_ignore_cxx_seek=env['MPICH_IGNORE_CXX_SEEK']
490 env.Append(CPPDEFINES = [ mpich_ignore_cxx_seek ] )
491 except KeyError:
492 pass
493
494 else:
495
496 mpi_libs=[]
497 # ============= set papi =====================================
498 try:
499 includes = env['papi_path']
500 env.Append(CPPPATH = [includes,])
501 except KeyError:
502 pass
503 try:
504 lib_path = env['papi_lib_path']
505 env.Append(LIBPATH = [lib_path,])
506 except KeyError:
507 pass
508 try:
509 papi_libs = env['papi_libs']
510 except KeyError:
511 papi_libs = None
512
513
514 # ============= and some helpers =====================================
515 try:
516 doxygen_path = env['doxygen_path']
517 except KeyError:
518 doxygen_path = None
519 try:
520 epydoc_path = env['epydoc_path']
521 except KeyError:
522 epydoc_path = None
523 try:
524 src_zipfile = env.File(env['src_zipfile'])
525 except KeyError:
526 src_zipfile = None
527 try:
528 test_zipfile = env.File(env['test_zipfile'])
529 except KeyError:
530 test_zipfile = None
531 try:
532 examples_zipfile = env.File(env['examples_zipfile'])
533 except KeyError:
534 examples_zipfile = None
535
536 try:
537 src_tarfile = env.File(env['src_tarfile'])
538 except KeyError:
539 src_tarfile = None
540 try:
541 test_tarfile = env.File(env['test_tarfile'])
542 except KeyError:
543 test_tarfile = None
544 try:
545 examples_tarfile = env.File(env['examples_tarfile'])
546 except KeyError:
547 examples_tarfile = None
548
549 try:
550 guide_pdf = env.File(env['guide_pdf'])
551 except KeyError:
552 guide_pdf = None
553
554 try:
555 guide_html_index = env.File('index.htm',env['guide_html'])
556 except KeyError:
557 guide_html_index = None
558
559 try:
560 api_epydoc = env.Dir(env['api_epydoc'])
561 except KeyError:
562 api_epydoc = None
563
564
565
566 # Zipgets
567
568 env.Default(libinstall)
569 env.Default(incinstall)
570 env.Default(pyinstall)
571 env.Alias('release_src',[ src_zipfile, src_tarfile ])
572 env.Alias('release_tests',[ test_zipfile, test_tarfile])
573 env.Alias('release_examples',[ examples_zipfile, examples_tarfile])
574 env.Alias('api_epydoc',api_epydoc)
575 env.Alias('guide_pdf', guide_pdf)
576 env.Alias('docs',[ 'release_examples', 'guide_pdf', guide_html_index, api_epydoc])
577 env.Alias('release', ['release_src', 'release_tests', 'docs'])
578 env.Alias('build_tests') # target to build all C++ tests
579 env.Alias('build_py_tests') # target to build all python tests
580 env.Alias('build_all_tests', [ 'build_tests', 'build_py_tests' ] ) # target to build all python tests
581 env.Alias('run_tests', 'build_tests') # target to run all C++ test
582 env.Alias('py_tests', 'build_py_tests') # taget to run all released python tests
583 env.Alias('all_tests', ['run_tests', 'py_tests']) # target to run all C++ and released python tests
584
585 # Python install - esys __init__.py
586 init_target = env.Command(pyinstall+'/__init__.py', None, Touch('$TARGET'))
587 env.Alias(init_target)
588
589 # Allow sconscripts to see the env
590 Export(["env", "incinstall", "libinstall", "pyinstall", "dodebug", "mkl_libs", "scsl_libs", "umfpack_libs",
591 "blas_libs", "netCDF_libs_cxx", "trilinos_libs", "mpi_libs",
592 "boost_libs", "python_libs", "doxygen_path", "epydoc_path", "papi_libs",
593 "sys_libs", "test_zipfile", "src_zipfile", "test_tarfile", "src_tarfile", "examples_tarfile", "examples_zipfile",
594 "guide_pdf", "guide_html_index", "api_epydoc", "useMPI"])
595
596 # End initialisation section
597 # Begin configuration section
598 # adds this file and the scons option directore to the source tar
599 release_srcfiles=[env.File('SConstruct'),]+[ env.File(x) for x in glob.glob('scons/*.py') ]
600 release_testfiles=[env.File('README_TESTS'),]
601 env.Zip(src_zipfile, release_srcfiles)
602 env.Zip(test_zipfile, release_testfiles)
603 env.Tar(src_tarfile, release_srcfiles)
604 env.Tar(test_tarfile, release_testfiles)
605
606 # Insert new components to be build here
607 # FIXME: might be nice to replace this verbosity with a list of targets and some
608 # FIXME: nifty python to create the lengthy but very similar env.Sconscript lines
609 # Third Party libraries
610 env.SConscript(dirs = ['tools/CppUnitTest/src'], build_dir='build/$PLATFORM/tools/CppUnitTest', duplicate=0)
611 # C/C++ Libraries
612 env.SConscript(dirs = ['paso/src'], build_dir='build/$PLATFORM/paso', duplicate=0)
613 # bruce is removed for now as it doesn't really do anything
614 # env.SConscript(dirs = ['bruce/src'], build_dir='build/$PLATFORM/bruce', duplicate=0)
615 env.SConscript(dirs = ['escript/src'], build_dir='build/$PLATFORM/escript', duplicate=0)
616 env.SConscript(dirs = ['esysUtils/src'], build_dir='build/$PLATFORM/esysUtils', duplicate=0)
617 env.SConscript(dirs = ['finley/src'], build_dir='build/$PLATFORM/finley', duplicate=0)
618 env.SConscript(dirs = ['modellib/py_src'], build_dir='build/$PLATFORM/modellib', duplicate=0)
619 env.SConscript(dirs = ['doc'], build_dir='build/$PLATFORM/doc', duplicate=0)
620 env.SConscript(dirs = ['pyvisi/py_src'], build_dir='build/$PLATFORM/pyvisi', duplicate=0)
621 env.SConscript(dirs = ['pycad/py_src'], build_dir='build/$PLATFORM/pycad', duplicate=0)
622
623 # added by Ben Cumming
624 env.SConscript(dirs = ['pythonMPI/src'], build_dir='build/$PLATFORM/pythonMPI', duplicate=0)
625 #env.SConscript(dirs = ['../test'], build_dir='../test/build', duplicate=0)

  ViewVC Help
Powered by ViewVC 1.1.26