#!/usr/bin/env python3 from os import symlink,environ, system from sys import argv,exit,platform from helpers.runSusTests import runSusTests, ignorePerformanceTests, getInputsDir from helpers.modUPS import modUPS the_dir = "%s/%s" % ( getInputsDir(),"ARCHES" ) BrownSoot_spectral_orthog_ups = modUPS( the_dir, "Coal/BrownSoot_spectral.ups" , ["<addOrthogonalDirs> true </addOrthogonalDirs>"]) #______________________________________________________________________ # Test syntax: ( "folder name", "input file", # processors, "OS", ["flags1","flag2"]) # # OS: Linux, Darwin, or ALL # # 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 # no_cuda: - skip test if this is a cuda enable build # 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
#!/usr/bin/env python3 from sys import argv,exit from os import environ, system from helpers.runSusTests import runSusTests, ignorePerformanceTests, getInputsDir from helpers.modUPS import modUPS,modUPS2 from os import system the_dir = "%s/%s" % ( getInputsDir(),"Examples" ) # convert RMCRT:double -> RMCRT:float system("cd %s ; ./RMCRT_doubleToFloat RMCRT_bm1_1L.ups RMCRT_FLT_bm1_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 ) # Modify base files RMCRT_isoScat_LHC_ups = modUPS( the_dir, \ "RMCRT_isoScat.ups", \ ["<rayDirSampleAlgo>LatinHyperCube</rayDirSampleAlgo>"]) # Modify base files RMCRT_1L_perf_GPU_ups = modUPS( the_dir, \ "RMCRT_1L_perf.ups", \ ["<resolution> [64,64,64] </resolution>", "<patches> [2,2,2] </patches>", "<nDivQRays> 100 </nDivQRays>" ] ) RMCRT_DO_perf_GPU_ups = modUPS2( the_dir, \ "RMCRT_DO_perf.ups", \
#!/usr/bin/env python3 from sys import argv, exit from os import environ, system, path from subprocess import getoutput from helpers.runSusTests import runSusTests, ignorePerformanceTests, build_root, getInputsDir from helpers.modUPS import modUPS the_dir = "%s/%s" % ( getInputsDir(),"Wasatch" ) bc_gpu_x_ups = modUPS( the_dir, \ "bc-test-svol-xdir.ups", \ ["<patches>[1,1,1]</patches>"]) bc_gpu_y_ups = modUPS( the_dir, \ "bc-test-svol-ydir.ups", \ ["<patches>[1,1,1]</patches>"]) bc_gpu_z_ups = modUPS( the_dir, \ "bc-test-svol-zdir.ups", \ ["<patches>[1,1,1]</patches>"]) bc_gpu_xyz_ups = modUPS( the_dir, \ "bc-test-mixed.ups", \ ["<patches>[1,1,1]</patches>"]) gpu_compressible_1d_ups = modUPS( the_dir, \ "compressible-flow-test-1d.ups", \ ["<patches>[1,1,1]</patches>"]) gpu_compressible_2d_ups = modUPS( the_dir, \ "compressible-flow-test-2d.ups", \ ["<outputTimestepInterval>1</outputTimestepInterval>", "<patches>[1,1,1]</patches>"])
#!/usr/bin/env python3 from os import environ from sys import argv, exit from helpers.runSusTests import getInputsDir, runSusTests from helpers.modUPS import modUPS, modUPS2 the_dir = "%s/%s" % (getInputsDir(), "PhaseField") #______________________________________________________________________ #Performance and other UCF related tests # 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 # no_cuda: - skip test if this is a cuda enable build # 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 # postProcessRun - start test from an existing uda in the checkpoints directory. Compute new quantities and save them in a new uda # startFromCheckpoint - start test from checkpoint. (/home/rt/CheckPoints/..../testname.uda.000) # sus_options="string" - Additional command line options for sus command #
#!/usr/bin/env python3 from sys import argv, exit from os import environ, system from helpers.runSusTests import runSusTests, ignorePerformanceTests, getInputsDir from helpers.modUPS import modUPS, modUPS2 inputs = "%s/%s" % (getInputsDir(), "MPMICE") advectSlipExchOn_ups = modUPS( inputs, \ "advectSlipExch.ups", \ ["<useSlipCoeffs> true </useSlipCoeffs>"] ) #______________________________________________________________________ # Test syntax: ( "folder name", "input file", # processors, "OS", ["flags1","flag2",...]) # # OS: Linux, Darwin, or ALL # # 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 # no_cuda: - skip test if this is a cuda enable build # 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
#!/usr/bin/env python3 from sys import argv, exit from os import environ, system from helpers.runSusTests import runSusTests, ignorePerformanceTests, getInputsDir from helpers.modUPS import modUPS, modUPS2 the_dir = "%s/%s" % ( getInputsDir(),"ICE" ) riemann_1L_ups = modUPS( the_dir, \ "riemann_sm.ups" , \ ["<maxTime> 0.0001 </maxTime>", \ "<outputInterval> 0.000025 </outputInterval>"]) advectAMR_perf_ups = modUPS2( the_dir, \ "advectAMR.ups", \ [("delete", "/Uintah_specification/DataAnalysis")] ) riemann_AMR_3L_ups = modUPS( the_dir, \ "riemann_AMR.ups" , \ ["<maxTime> 0.0001 </maxTime>", \ "<outputInterval> 0.000025 </outputInterval>"]) hotBlob_AMR_3L_ups = modUPS( the_dir, \ "hotBlob_AMR.ups", \ ["<max_levels>3</max_levels>", \ "<filebase>AMR_HotBlob_3L.uda</filebase>"]) #______________________________________________________________________