Exemplo n.º 1
0
def intel_mpi_benchmark(core, hosts, mpi, mode, util=None):

    imb_test = tests.MpiTestIMB(jobname=jbname,buildno=bno,\
               testname="IntelMPIbenchmark",core_prov=core, fabric=fab,\
               hosts=hosts, mpitype=mpi, ofi_build_mode=mode, util_prov=util)

    if (imb_test.execute_condn == True  and imb_test.mpi_gen_execute_condn == True):
        print("running imb-tests for {}-{}-{}-{}".format(core, util, fab, mpi))
        imb_test.execute_cmd()
    else:
        print("skipping {} as execute condition fails"\
                    .format(imb_test.testname))
    print("----------------------------------------------------------------------------------------\n")
Exemplo n.º 2
0
def intel_mpi_benchmark(core, hosts, mpi, mode, group, util):

    imb_test = tests.MpiTestIMB(jobname=jbname,
                                buildno=bno,
                                testname='IntelMPIbenchmark',
                                core_prov=core,
                                fabric=fab,
                                hosts=hosts,
                                mpitype=mpi,
                                ofi_build_mode=mode,
                                test_group=group,
                                util_prov=util)

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