Ejemplo n.º 1
0
# but jenkins only creates a valid path on
# the primary host (server/test node)

os.chdir('/tmp/')

if (args_core):
    for host in ci_site_config.node_map[node]:
        hosts.append(host)

    if (args_util == None):
        run.fi_info_test(args_core, hosts, ofi_build_mode)
        run.fabtests(args_core, hosts, ofi_build_mode)
        run.shmemtest(args_core, hosts, ofi_build_mode)
        for mpi in mpilist:
            run.intel_mpi_benchmark(args_core, hosts, mpi, ofi_build_mode)
            run.mpistress_benchmark(args_core, hosts, mpi, ofi_build_mode)
            run.osu_benchmark(args_core, hosts, mpi, ofi_build_mode)
    else:
        run.fi_info_test(args_core, hosts, ofi_build_mode, util=args_util)
        run.fabtests(args_core, hosts, ofi_build_mode, util=args_util)
        run.shmemtest(args_core, hosts, ofi_build_mode, util=args_util)
        for mpi in mpilist:
            run.intel_mpi_benchmark(args_core, hosts, mpi, ofi_build_mode, \
                                        util=args_util,)
            run.mpistress_benchmark(args_core, hosts, mpi, ofi_build_mode, \
                                            util=args_util)
            run.osu_benchmark(args_core, hosts, mpi, ofi_build_mode, \
                                             util=args_util)
else:
    print("Error : Specify a core provider to run tests")
Ejemplo n.º 2
0
os.chdir('/tmp/')

if (args_prov):
    for host in ci_site_config.node_map[node]:
        hosts.append(host)

    for prov in common.prov_list:
        if (prov.core == args_prov):
            if (prov.util == None):
                run.fi_info_test(prov.core, hosts, ofi_build_mode)
                run.fabtests(prov.core, hosts, ofi_build_mode)
                for mpi in mpilist:
                    run.intel_mpi_benchmark(prov.core, hosts, mpi,
                                            ofi_build_mode)
                    run.mpistress_benchmark(prov.core, hosts, mpi,
                                            ofi_build_mode)
                    run.osu_benchmark(prov.core, hosts, mpi, ofi_build_mode)
            else:
                run.fi_info_test(prov.core,
                                 hosts,
                                 ofi_build_mode,
                                 util=prov.util)
                run.fabtests(prov.core, hosts, ofi_build_mode, util=prov.util)
                for mpi in mpilist:
                    run.intel_mpi_benchmark(prov.core, hosts, mpi, ofi_build_mode, \
                                           util=prov.util,)
                    run.mpistress_benchmark(prov.core, hosts, mpi, ofi_build_mode, \
                                            util=prov.util)
                    run.osu_benchmark(prov.core, hosts, mpi, ofi_build_mode, \
                                             util=prov.util)
else: