Ejemplo n.º 1
0
#  1) The "folder name" must be the same as input file without the extension.
#  2) If the processors is > 1.0 then an mpirun command will be used
#  3) Performance_tests are not run on a debug build.
#______________________________________________________________________
NIGHTLYTESTS = [   ("poissonGPU1",       "poissonGPU1.ups",         1, "Linux", ["gpu"]),
                   ("gpuSchedulerTest",  "gpuSchedulerTest.ups",  1.1, "Linux", ["gpu", "no_restart", "no_uda_comparison", "vaango_options=-nthreads 4 -gpu"]),
               ]

# Tests that are run during local regression testing
LOCALTESTS = NIGHTLYTESTS


#__________________________________

def getNightlyTests() :
  return NIGHTLYTESTS

def getLocalTests() :
  return LOCALTESTS

#__________________________________

if __name__ == "__main__":
  if environ['WHICH_TESTS'] == "local":
    TESTS = LOCALTESTS
  else:
    TESTS = NIGHTLYTESTS
  print("Running GPU tests")
  result = runVaangoTests(argv, TESTS, "GPU")
  exit( result )
Ejemplo n.º 2
0
NIGHTLYTESTS = [   ("regressionFMPM", "regressionFMPM.ups", 4, "Linux",  ["no_restart"]), \
                   ("regressionFMPM", "regressionFMPM.ups", 4, "Darwin", ["doesTestRun","no_restart"]) \
             ]

# Tests that are run during local regression testing
LOCALTESTS = [  #  ("regressionFMPM", "regressionFMPM.ups", 4, "Linux",  ["no_restart"]) 
]

#__________________________________


def getNightlyTests():
    return NIGHTLYTESTS


def getLocalTests():
    return LOCALTESTS


#__________________________________

if __name__ == "__main__":

    if environ['WHICH_TESTS'] == "local":
        TESTS = LOCALTESTS
    else:
        TESTS = NIGHTLYTESTS

    result = runVaangoTests(argv, TESTS, "MPMF")
    exit(result)
Ejemplo n.º 3
0
#  3) Performance_tests are not run on a debug build.
#______________________________________________________________________

NIGHTLYTESTS = [   ("regressionFMPM", "regressionFMPM.ups", 4, "Linux",  ["no_restart"]), \
                   ("regressionFMPM", "regressionFMPM.ups", 4, "Darwin", ["doesTestRun","no_restart"]) \
    	        ]
               
# Tests that are run during local regression testing               
LOCALTESTS =   [ #  ("regressionFMPM", "regressionFMPM.ups", 4, "Linux",  ["no_restart"]) 
               ]

#__________________________________

def getNightlyTests() :
  return NIGHTLYTESTS

def getLocalTests() :
  return LOCALTESTS

#__________________________________

if __name__ == "__main__":

  if environ['WHICH_TESTS'] == "local":
    TESTS = LOCALTESTS
  else:
    TESTS = NIGHTLYTESTS

  result = runVaangoTests(argv, TESTS, "MPMF")
  exit( result )
Ejemplo n.º 4
0
               ]

LOCALTESTS = [ #("switchExample_impm_mpm", "Switcher/switchExample_impm_mpm.ups",1, "Linux", ["no_memoryTest"]), \
               #("switchExample3",         "Switcher/switchExample3.ups",        1, "Linux", ["no_restart","no_memoryTest"]), \
               #("ice_perf_test",          "icePerformanceTest.ups",             1, "Linux", ["do_performance_test"]),  \
               #("mpmice_perf_test",       "mpmicePerformanceTest.ups",          1, "Linux", ["do_performance_test"]), \
               #("LBwoRegrid",             "LBwoRegrid.ups",                     2, "Linux", ["exactComparison"])
             ]

#__________________________________

def getNightlyTests() :
  return NIGHTLYTESTS

def getLocalTests() :
  return LOCALTESTS

#__________________________________

if __name__ == "__main__":

  print "starting UCF tests"
  if environ['WHICH_TESTS'] == "local":
    TESTS = LOCALTESTS
  else:
    TESTS = NIGHTLYTESTS

  result = runVaangoTests(argv, TESTS, "UCF")
  exit( result )
  
Ejemplo n.º 5
0
    #   ("JP8_Radiation", "JP8_Radiation.ups", 4, "Linux",  ["exactComparison"])
]

# Tests that are run during local regression testing
LOCALTESTS = [  #   ("HePlume",       "HePlume.ups",       4, "Linux",  ["exactComparison"]), \
    #   ("JP8_Radiation", "JP8_Radiation.ups", 4, "Linux",  ["exactComparison"])
]

#__________________________________


def getNightlyTests():
    return NIGHTLYTESTS


def getLocalTests():
    return LOCALTESTS


#__________________________________

if __name__ == "__main__":

    if environ['WHICH_TESTS'] == "local":
        TESTS = LOCALTESTS
    else:
        TESTS = NIGHTLYTESTS

    result = runVaangoTests(argv, TESTS, "Models")
    exit(result)
Ejemplo n.º 6
0
#	           ("adiCuSCG01s296K",  "adiCuSCG01s296K.ups",1.1, "ALL"), \
#	           ("adiCuZA01s296K",   "adiCuZA01s296K.ups", 1.1, "ALL")






            ]

#__________________________________


def getNightlyTests():
    return NIGHTLYTESTS


def getLocalTests():
    return LOCALTESTS


if __name__ == "__main__":

    if environ['WHICH_TESTS'] == "local":
        TESTS = LOCALTESTS
    else:
        TESTS = NIGHTLYTESTS

    result = runVaangoTests(argv, TESTS, "IMPM")
    exit(result)
Ejemplo n.º 7
0
    	         ]
                
# Tests that are run during local regression testing       
LOCALTESTS = [    ("4disks_2d.1mat",   "4disks_2d.1mat.ups", 1,   "None"), \
#	           ("billet.static",    "billet.static.ups",  2,   "ALL"), \
#	           ("adiCuJC01s296K",   "adiCuJC01s296K.ups", 1.1, "ALL"), \
#	           ("adiCuMTS01s296K",  "adiCuMTS01s296K.ups",1.1, "ALL"), \
#	           ("adiCuPTW01s296K",  "adiCuPTW01s296K.ups",1.1, "ALL"), \
#	           ("adiCuSCG01s296K",  "adiCuSCG01s296K.ups",1.1, "ALL"), \
#	           ("adiCuZA01s296K",   "adiCuZA01s296K.ups", 1.1, "ALL")
    	       ]       

#__________________________________

def getNightlyTests() :
  return NIGHTLYTESTS

def getLocalTests() :
  return LOCALTESTS

if __name__ == "__main__":

  if environ['WHICH_TESTS'] == "local":
    TESTS = LOCALTESTS
  else:
    TESTS = NIGHTLYTESTS

  result = runVaangoTests(argv, TESTS, "IMPM")
  exit( result )

Ejemplo n.º 8
0
]

# Tests that are run during local regression testing
LOCALTESTS = NIGHTLYTESTS

#LOCALTESTS = [   ("advect",           "advect.ups",           1, "ALL", ["exactComparison"]),    \
#                 ("riemann_sm",       "riemann_sm.ups",       1, "All", ["exactComparison"])
#              ]
#__________________________________


def getNightlyTests():
    return NIGHTLYTESTS


def getLocalTests():
    return LOCALTESTS


#__________________________________

if __name__ == "__main__":

    if environ['WHICH_TESTS'] == "local":
        TESTS = LOCALTESTS
    else:
        TESTS = NIGHTLYTESTS

    result = runVaangoTests(argv, TESTS, "ICE")
    exit(result)
Ejemplo n.º 9
0
NIGHTLYTESTS = [#   ("HePlume",       "HePlume.ups",       4, "Linux",  ["exactComparison"]), \
                #   ("JP8_Radiation", "JP8_Radiation.ups", 4, "Linux",  ["exactComparison"])
    	        ]
               
               
# Tests that are run during local regression testing               
LOCALTESTS   = [#   ("HePlume",       "HePlume.ups",       4, "Linux",  ["exactComparison"]), \
                #   ("JP8_Radiation", "JP8_Radiation.ups", 4, "Linux",  ["exactComparison"])
    	        ]

#__________________________________

def getNightlyTests() :
  return NIGHTLYTESTS

def getLocalTests() :
  return LOCALTESTS

#__________________________________

if __name__ == "__main__":

  if environ['WHICH_TESTS'] == "local":
    TESTS = LOCALTESTS
  else:
    TESTS = NIGHTLYTESTS

  result = runVaangoTests(argv, TESTS, "Models")
  exit( result )
Ejemplo n.º 10
0
#       startFromCheckpoint     - start test from checkpoint. (/home/csafe-tester/CheckPoints/..../testname.uda.000)
#       vaango_options="string"    - Additional command line options for vaango command
#
#  Notes: 
#  1) The "folder name" must be the same as input file without the extension.
#  2) If the processors is > 1.0 then an mpirun command will be used
#  3) Performance_tests are not run on a debug build.
#______________________________________________________________________
NIGHTLYTESTS = [   ("poisson1",         "poisson1.ups",         1, "ALL"),
               ]

LOCALTESTS = NIGHTLYTESTS

#__________________________________

def getNightlyTests() :
  return NIGHTLYTESTS

def getLocalTests() :
  return LOCALTESTS

#__________________________________

if __name__ == "__main__":
  if environ['WHICH_TESTS'] == "local":
    TESTS = LOCALTESTS
  else:
    TESTS = NIGHTLYTESTS
  result = runVaangoTests(argv, TESTS, "Examples")
  exit( result )