/[escript]/trunk/doc/SConscript
ViewVC logotype

Diff of /trunk/doc/SConscript

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2537 by jfenwick, Fri Jul 17 05:50:35 2009 UTC revision 2636 by jfenwick, Thu Aug 27 05:26:42 2009 UTC
# Line 1  Line 1 
1    
2  ########################################################  ########################################################
3  #  #
4  # Copyright (c) 2003-2008 by University of Queensland  # Copyright (c) 2003-2009 by University of Queensland
5  # Earth Systems Science Computational Center (ESSCC)  # Earth Systems Science Computational Center (ESSCC)
6  # http://www.uq.edu.au/esscc  # http://www.uq.edu.au/esscc
7  #  #
# Line 25  example_files_allow_mpi = [ Line 25  example_files_allow_mpi = [
25   'geotutorial/backward_euler.py',   'geotutorial/backward_euler.py',
26   'usersguide/lit_driven_cavity.py',   'usersguide/lit_driven_cavity.py',
27   'usersguide/mount.py',   'usersguide/mount.py',
  'usersguide/wave.py',  
28   'usersguide/heatedblock.py',   'usersguide/heatedblock.py',
29   'usersguide/helmholtz.py',   'usersguide/helmholtz.py',
30   'usersguide/fluid.py',   'usersguide/fluid.py',
31   'usersguide/poisson.py',   'usersguide/poisson.py',
32   'usersguide/diffusion.py',   'usersguide/diffusion.py',
33     'usersguide/poisson_vtk.py'
34  ]  ]
35    
36  example_files_no_mpi = []  example_files_no_mpi = [
37    ]
38    
39    #Now we add tests which depend on matplotlib
40    try:
41       import matplotlib
42       example_files_no_mpi.append('usersguide/poisson_matplotlib.py')
43       example_files_allow_mpi.append('usersguide/wave.py')
44       #example_files_no_mpi.append('cookbook/heatrefraction_mesher001.py')
45       #example_files_no_mpi.append('cookbook/heatrefraction_mesher002.py')
46       #example_files_no_mpi.append('cookbook/heatrefraction001.py')
47       #example_files_no_mpi.append('cookbook/heatrefraction002.py')
48       #example_files_no_mpi.append('cookbook/onedheatdiff001.py')
49       #example_files_no_mpi.append('cookbook/onedheatdiff002.py')
50       #example_files_no_mpi.append('cookbook/twodheatdiff.py')
51    except ImportError:
52       print "matplotlib not found - skipping example"
53    
54  example_files= example_files_allow_mpi + example_files_no_mpi  example_files= example_files_allow_mpi + example_files_no_mpi
55    

Legend:
Removed from v.2537  
changed lines
  Added in v.2636

  ViewVC Help
Powered by ViewVC 1.1.26