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

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

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

revision 3891 by gross, Fri Jan 14 00:04:01 2011 UTC revision 3892 by jfenwick, Tue Apr 10 08:57:23 2012 UTC
# Line 39  import os, sys #This package is necessar Line 39  import os, sys #This package is necessar
39  ########################################################MPI WORLD CHECK  ########################################################MPI WORLD CHECK
40  if getMPISizeWorld() > 1:  if getMPISizeWorld() > 1:
41      import sys      import sys
42      print "This example will not run in an MPI world."      print("This example will not run in an MPI world.")
43      sys.exit(0)      sys.exit(0)
44    
45  #################################################ESTABLISHING VARIABLES  #################################################ESTABLISHING VARIABLES

Legend:
Removed from v.3891  
changed lines
  Added in v.3892

  ViewVC Help
Powered by ViewVC 1.1.26