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

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

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

  ViewVC Help
Powered by ViewVC 1.1.26