/[escript]/branches/diaplayground/SConstruct
ViewVC logotype

Diff of /branches/diaplayground/SConstruct

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

revision 3560 by gross, Mon Aug 29 01:10:42 2011 UTC revision 3585 by caltinay, Wed Sep 7 06:16:08 2011 UTC
# Line 598  if env['parmetis']: Line 598  if env['parmetis']:
598    
599  try:  try:
600      import subprocess      import subprocess
601      p=subprocess.Popen(['gmsh', '-version'], stderr=subprocess.PIPE)      p=subprocess.Popen(['gmsh', '-info'], stderr=subprocess.PIPE)
602      p.poll()      _,e=p.communicate()
603      env['gmsh']=True      if e.split().count("MPI"):
604            env['gmsh']='m'
605        else:
606            env['gmsh']='s'
607  except OSError:  except OSError:
608      env['gmsh']=False      env['gmsh']=False
609    
# Line 649  for i in e_list: Line 652  for i in e_list:
652      print("%16s:  YES"%i)      print("%16s:  YES"%i)
653  for i in d_list:  for i in d_list:
654      print("%16s:  DISABLED"%i)      print("%16s:  DISABLED"%i)
655  if env['gmsh']:  if env['gmsh']=='m':
656        print("            gmsh:  FOUND, MPI-ENABLED")
657    elif env['gmsh']=='s':
658      print("            gmsh:  FOUND")      print("            gmsh:  FOUND")
659  else:  else:
660      print("            gmsh:  NOT FOUND")      print("            gmsh:  NOT FOUND")

Legend:
Removed from v.3560  
changed lines
  Added in v.3585

  ViewVC Help
Powered by ViewVC 1.1.26