Example #1
0
def osu_benchmark(core, hosts, mpi, mode, util=None):

    osu_test = tests.MpiTestOSU(jobname=jbname, buildno=bno, \
               testname="osu-benchmarks",core_prov=core, fabric=fab, mpitype=mpi, \
               hosts=hosts, ofi_build_mode=mode, util_prov=util)

    if (osu_test.execute_condn == True and osu_test.mpi_gen_execute_condn == True):
        print("running osu-test for {}-{}-{}-{}".format(core, util, fab, mpi))
        osu_test.execute_cmd()
    else:
        print("skipping {} as execute condition fails" \
                .format(osu_test.testname))
    print("----------------------------------------------------------------------------------------\n")
Example #2
0
def osu_benchmark(core, hosts, mpi, mode, util):

    osu_test = tests.MpiTestOSU(jobname=jbname,
                                buildno=bno,
                                testname='osu-benchmarks',
                                core_prov=core,
                                fabric=fab,
                                mpitype=mpi,
                                hosts=hosts,
                                ofi_build_mode=mode,
                                util_prov=util)

    print(
        "-------------------------------------------------------------------")
    if (osu_test.execute_condn == True):
        print("Running OSU-Test for {}-{}-{}-{}".format(core, util, fab, mpi))
        osu_test.execute_cmd()
    else:
        print("Skipping {} {} as execute condition fails" \
              .format(mpi.upper(), osu_test.testname))
    print(
        "-------------------------------------------------------------------")