/[escript]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

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

revision 3511 by lgao, Tue May 17 23:56:13 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")
# Line 734  buildvars.write("mpi_inc_path=%s\n"%mpi_ Line 739  buildvars.write("mpi_inc_path=%s\n"%mpi_
739  buildvars.write("mpi_lib_path=%s\n"%mpi_lib_path)  buildvars.write("mpi_lib_path=%s\n"%mpi_lib_path)
740  buildvars.write("lapack=%s\n"%env['lapack'])  buildvars.write("lapack=%s\n"%env['lapack'])
741  buildvars.write("pyvisi=%d\n"%env['pyvisi'])  buildvars.write("pyvisi=%d\n"%env['pyvisi'])
742  buildvars.write("vsl_random=%d"%int(env['vsl_random']))  buildvars.write("vsl_random=%d\n"%int(env['vsl_random']))
743  for i in 'netcdf','parmetis','papi','mkl','umfpack','boomeramg','silo','visit':  for i in 'netcdf','parmetis','papi','mkl','umfpack','boomeramg','silo','visit':
744      buildvars.write("%s=%d\n"%(i, int(env[i])))      buildvars.write("%s=%d\n"%(i, int(env[i])))
745      if env[i]:      if env[i]:

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

  ViewVC Help
Powered by ViewVC 1.1.26