#!/usr/bin/env python from sys import argv, exit from os import environ from helpers.runSusTests import runSusTests, inputs_root, generatingGoldStandards from helpers.modUPS import modUPS the_dir = generatingGoldStandards() if the_dir == "" : the_dir = "%s/Wasatch" % inputs_root() else : the_dir = the_dir + "/Wasatch" liddrivencavity3DRe1000rk3_ups = modUPS( the_dir, \ "lid-driven-cavity-3D-Re1000.ups", \ ["<TimeIntegrator> RK3SSP </TimeIntegrator>", \ "<filebase>liddrivencavity3DRe1000rk3.uda</filebase>"]) #______________________________________________________________________ # Test syntax: ( "folder name", "input file", # processors, "OS", ["flags1","flag2"]) # flags: # gpu: - run test if machine is gpu enabled # no_uda_comparison: - skip the uda comparisons # no_memoryTest: - skip all memory checks # no_restart: - skip the restart tests # no_dbg: - skip all debug compilation tests # no_opt: - skip all optimized compilation tests # do_performance_test: - Run the performance test, log and plot simulation runtime. # (You cannot perform uda comparsions with this flag set) # doesTestRun: - Checks if a test successfully runs
#!/usr/bin/env python from sys import argv, exit from os import environ from helpers.runSusTests import runSusTests, inputs_root, generatingGoldStandards from helpers.modUPS import modUPS from os import system the_dir = generatingGoldStandards() if the_dir == "": the_dir = "%s/Examples" % inputs_root() else: the_dir = the_dir + "/Examples" # convert RMCRT:double -> RMCRT:float system( "cd %s ; ./RMCRT_doubleToFloat RMCRT_test_1L.ups RMCRT_FLT_test_1L.ups" % the_dir) system("cd %s ; ./RMCRT_doubleToFloat RMCRT_ML.ups RMCRT_FLT_ML.ups" % the_dir) system( "cd %s ; ./RMCRT_doubleToFloat RMCRT_bm1_DO.ups RMCRT_FLT_bm1_DO.ups" % the_dir) #______________________________________________________________________ # Test syntax: ( "folder name", "input file", # processors, "OS",["flags1","flag2"]) # flags: # gpu: - run test if machine is gpu enabled # no_uda_comparison: - skip the uda comparisons
#!/usr/bin/env python from os import symlink,environ from sys import argv,exit,platform from helpers.runSusTests import runSusTests, inputs_root, generatingGoldStandards from helpers.modUPS import modUPS the_dir = generatingGoldStandards() if the_dir == "" : the_dir = "%s/ARCHES" % inputs_root() else : the_dir = the_dir + "/ARCHES" #______________________________________________________________________ # Test syntax: ( "folder name", "input file", # processors, "OS", ["flags1","flag2"]) # flags: # gpu: - run test if machine is gpu enabled # no_uda_comparison: - skip the uda comparisons # no_memoryTest: - skip all memory checks # no_restart: - skip the restart tests # no_dbg: - skip all debug compilation tests # no_opt: - skip all optimized compilation tests # do_performance_test: - Run the performance test, log and plot simulation runtime. # (You cannot perform uda comparsions with this flag set) # doesTestRun: - Checks if a test successfully runs # abs_tolerance=[double] - absolute tolerance used in comparisons # rel_tolerance=[double] - relative tolerance used in comparisons # exactComparison - set absolute/relative tolerance = 0 for uda comparisons # startFromCheckpoint - start test from checkpoint. (/home/csafe-tester/CheckPoints/..../testname.uda.000) # sus_options="string" - Additional command line options for sus command
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # IN THE SOFTWARE. # #!/usr/bin/env python from sys import argv, exit from os import environ from helpers.runSusTests import runSusTests, inputs_root, generatingGoldStandards from helpers.modUPS import modUPS the_dir = generatingGoldStandards() if the_dir == "": the_dir = "%s/ICE" % inputs_root() else: the_dir = the_dir + "/ICE" hotBlob_AMR_3L_ups = modUPS( the_dir, \ "hotBlob_AMR.ups", \ ["<max_levels>3</max_levels>", \ "<lattice_refinement_ratio> [[5,5,1],[2,2,1]] </lattice_refinement_ratio>", \ "<filebase>AMR_HotBlob_3L.uda</filebase>"]) #______________________________________________________________________ # Test syntax: ( "folder name", "input file", # processors, "OS",["flags1","flag2"]) # flags: # gpu: - run test if machine is gpu enabled # no_uda_comparison: - skip the uda comparisons
#!/usr/bin/env python from os import symlink, environ from sys import argv, exit, platform from helpers.runSusTests import runSusTests, inputs_root, generatingGoldStandards from helpers.modUPS import modUPS the_dir = generatingGoldStandards() if the_dir == "": the_dir = "%s/ARCHES" % inputs_root() else: the_dir = the_dir + "/ARCHES" #______________________________________________________________________ # Test syntax: ( "folder name", "input file", # processors, "OS", ["flags1","flag2"]) # flags: # gpu: - run test if machine is gpu enabled # no_uda_comparison: - skip the uda comparisons # no_memoryTest: - skip all memory checks # no_restart: - skip the restart tests # no_dbg: - skip all debug compilation tests # no_opt: - skip all optimized compilation tests # do_performance_test: - Run the performance test, log and plot simulation runtime. # (You cannot perform uda comparsions with this flag set) # doesTestRun: - Checks if a test successfully runs # abs_tolerance=[double] - absolute tolerance used in comparisons # rel_tolerance=[double] - relative tolerance used in comparisons # exactComparison - set absolute/relative tolerance = 0 for uda comparisons # startFromCheckpoint - start test from checkpoint. (/home/csafe-tester/CheckPoints/..../testname.uda.000) # sus_options="string" - Additional command line options for sus command
#!/usr/bin/env python from sys import argv, exit from os import environ from helpers.runSusTests import runSusTests, inputs_root, generatingGoldStandards from helpers.modUPS import modUPS the_dir = generatingGoldStandards() if the_dir == "" : the_dir = "%s/ICE" % inputs_root() else : the_dir = the_dir + "/ICE" hotBlob_AMR_3L_ups = modUPS( the_dir, \ "hotBlob_AMR.ups", \ ["<max_levels>3</max_levels>", \ "<lattice_refinement_ratio> [[5,5,1],[2,2,1]] </lattice_refinement_ratio>", \ "<filebase>AMR_HotBlob_3L.uda</filebase>"]) #______________________________________________________________________ # Test syntax: ( "folder name", "input file", # processors, "OS",["flags1","flag2"]) # flags: # gpu: - run test if machine is gpu enabled # no_uda_comparison: - skip the uda comparisons # no_memoryTest: - skip all memory checks # no_restart: - skip the restart tests # no_dbg: - skip all debug compilation tests # no_opt: - skip all optimized compilation tests # do_performance_test: - Run the performance test, log and plot simulation runtime.
#!/usr/bin/env python from sys import argv,exit from os import environ from helpers.runSusTests import runSusTests, inputs_root, generatingGoldStandards from helpers.modUPS import modUPS from os import system the_dir = generatingGoldStandards() if the_dir == "" : the_dir = "%s/Examples" % inputs_root() else : the_dir = the_dir + "/Examples" # convert RMCRT:double -> RMCRT:float system("cd %s ; ./RMCRT_doubleToFloat RMCRT_test_1L.ups RMCRT_FLT_test_1L.ups" % the_dir ) system("cd %s ; ./RMCRT_doubleToFloat RMCRT_ML.ups RMCRT_FLT_ML.ups" % the_dir ) system("cd %s ; ./RMCRT_doubleToFloat RMCRT_bm1_DO.ups RMCRT_FLT_bm1_DO.ups" % the_dir ) #______________________________________________________________________ # Test syntax: ( "folder name", "input file", # processors, "OS",["flags1","flag2"]) # flags: # gpu: - run test if machine is gpu enabled # no_uda_comparison: - skip the uda comparisons # no_memoryTest: - skip all memory checks # no_restart: - skip the restart tests # no_dbg: - skip all debug compilation tests # no_opt: - skip all optimized compilation tests # do_performance_test: - Run the performance test, log and plot simulation runtime.
#!/usr/bin/env python from sys import argv, exit from os import environ from helpers.runSusTests import runSusTests, inputs_root, generatingGoldStandards from helpers.modUPS import modUPS the_dir = generatingGoldStandards() if the_dir == "": the_dir = "%s/Wasatch" % inputs_root() else: the_dir = the_dir + "/Wasatch" scalarequationperf_ups = modUPS( the_dir, \ "ScalarTransportEquation.ups", \ ["<max_Timesteps> 40 </max_Timesteps>","<resolution>[400,400,400]</resolution>","<patches>[1,1,1]</patches>"]) liddrivencavityXYRe1000adaptive_ups = modUPS( the_dir, "lid-driven-cavity-xy-Re1000.ups", [ "<delt_min>0.0001</delt_min>", "<delt_max>0.1</delt_max>", "<timestep_multiplier>0.5</timestep_multiplier>", "<filebase>liddrivencavityXYRe1000adaptive.uda</filebase>" ]) liddrivencavity3DRe1000rk3_ups = modUPS( the_dir, \ "lid-driven-cavity-3D-Re1000.ups", \ ["<TimeIntegrator> RK3SSP </TimeIntegrator>", \ "<filebase>liddrivencavity3DRe1000rk3.uda</filebase>"]) lid_driven_cavity_3D_Re1000_rk2_ups = modUPS( the_dir, \
#!/usr/bin/env python from sys import argv, exit from os import environ from helpers.runSusTests import runSusTests, inputs_root, generatingGoldStandards from helpers.modUPS import modUPS the_dir = generatingGoldStandards() if the_dir == "" : the_dir = "%s/Warches" % inputs_root() else : the_dir = the_dir + "/Warches" # liddrivencavity3DRe1000rk3_ups = modUPS( the_dir, \ # "lid-driven-cavity-3D-Re1000.ups", \ # ["<TimeIntegrator> RK3SSP </TimeIntegrator>", \ # "<filebase>liddrivencavity3DRe1000rk3.uda</filebase>"]) # liddrivencavity3Dlaminarperf_ups = modUPS( the_dir, \ # "lid-driven-cavity-3D-Re1000.ups", \ # ["<max_Timesteps> 50 </max_Timesteps>","<resolution>[100,100,100]</resolution>","<patches>[1,1,1]</patches>"]) # liddrivencavity3Dvremanperf_ups = modUPS( the_dir, \ # "turb-lid-driven-cavity-3D-VREMAN.ups", \ # ["<max_Timesteps> 50 </max_Timesteps>","<resolution>[100,100,100]</resolution>","<patches>[1,1,1]</patches>"]) # liddrivencavity3Dsmagorinskyperf_ups = modUPS( the_dir, \ # "turb-lid-driven-cavity-3D-SMAGORINSKY.ups", \ # ["<max_Timesteps> 50 </max_Timesteps>","<resolution>[100,100,100]</resolution>","<patches>[1,1,1]</patches>"]) # liddrivencavity3Dwaleperf_ups = modUPS( the_dir, \ # "turb-lid-driven-cavity-3D-WALE.ups", \ # ["<max_Timesteps> 50 </max_Timesteps>","<resolution>[100,100,100]</resolution>","<patches>[1,1,1]</patches>"]) # scalabilitytestperf_ups = modUPS( the_dir, \