/[escript]/trunk/site_scons/site_init.py
ViewVC logotype

Diff of /trunk/site_scons/site_init.py

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

revision 2416 by gross, Wed May 13 06:03:59 2009 UTC revision 2423 by gross, Thu May 14 05:02:20 2009 UTC
# Line 37  def runUnitTest(target, source, env): Line 37  def runUnitTest(target, source, env):
37    else:    else:
38        if env['usempi']:        if env['usempi']:
39            app = "mpiexec -np %s -genvlist PYTHONPATH,OMP_NUM_THREADS,"\            app = "mpiexec -np %s -genvlist PYTHONPATH,OMP_NUM_THREADS,"\
40              "FINLEY_TEST_DATA,PYVISI_TEST_DATA_ROOT,PYVISI_WORKDIR %s"\              "FINLEY_TEST_DATA,PYVISI_TEST_DATA_ROOT,PYVISI_WORKDIR,PATH %s"\
41              %(env['ENV']['ESCRIPT_NUM_NODES'], app)              %(env['ENV']['ESCRIPT_NUM_NODES'], app)
42    print "Executing test: " + app    print "Executing test: " + app
43    if not env.Execute(app):    if not env.Execute(app):
# Line 53  def runPyUnitTest(target, source, env): Line 53  def runPyUnitTest(target, source, env):
53     if os.name== "nt":     if os.name== "nt":
54         if env['usempi']:         if env['usempi']:
55             app = "mpiexec -np %s -genvlist PYTHONPATH,OMP_NUM_THREADS,"\             app = "mpiexec -np %s -genvlist PYTHONPATH,OMP_NUM_THREADS,"\
56                "FINLEY_TEST_DATA,PYVISI_TEST_DATA_ROOT,PYVISI_WORKDIR %s\pythonMPIredirect.exe %s"\                "FINLEY_TEST_DATA,PYVISI_TEST_DATA_ROOT,PYVISI_WORKDIR,PATH %s\pythonMPIredirect.exe %s"\
57                %(env['ENV']['ESCRIPT_NUM_NODES'],env['libinstall'],app)                %(env['ENV']['ESCRIPT_NUM_NODES'],env['libinstall'],app)
58         else:         else:
59             app = sys.executable + " " + app             app = sys.executable + " " + app

Legend:
Removed from v.2416  
changed lines
  Added in v.2423

  ViewVC Help
Powered by ViewVC 1.1.26