/[escript]/trunk/doc/examples/cookbook/example10m.py
ViewVC logotype

Diff of /trunk/doc/examples/cookbook/example10m.py

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

revision 4575 by jfenwick, Tue Jan 22 09:30:23 2013 UTC revision 4576 by sshaw, Mon Dec 9 23:35:30 2013 UTC
# Line 41  import os Line 41  import os
41  import subprocess as sp  import subprocess as sp
42  ########################################################MPI WORLD CHECK  ########################################################MPI WORLD CHECK
43  if getMPISizeWorld() > 1:  if getMPISizeWorld() > 1:
44      import sys          import sys
45      print("This example will not run in an MPI world.")          print("This example will not run in an MPI world.")
46      sys.exit(0)          sys.exit(0)
47    
48  # make sure path exists  # make sure path exists
49  save_path= os.path.join("data","example10m")  save_path= os.path.join("data","example10m")

Legend:
Removed from v.4575  
changed lines
  Added in v.4576

  ViewVC Help
Powered by ViewVC 1.1.26