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

Diff of /trunk/doc/examples/cookbook/example09n.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 39  import os Line 39  import os
39  import math  import math
40  ########################################################MPI WORLD CHECK  ########################################################MPI WORLD CHECK
41  if getMPISizeWorld() > 1:  if getMPISizeWorld() > 1:
42      import sys          import sys
43      print("This example will not run in an MPI world.")          print("This example will not run in an MPI world.")
44      sys.exit(0)          sys.exit(0)
45    
46  # make sure path exists  # make sure path exists
47  save_path= os.path.join("data","example09c")  save_path= os.path.join("data","example09c")

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

  ViewVC Help
Powered by ViewVC 1.1.26