experiments

package
v0.0.0-...-502a5ff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2021 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMPIImplemFromExperiments

func GetMPIImplemFromExperiments(experiments []ContainerConfig) (*implem.Info, error)

GetImplemFromExperiments returns the MPI implementation that is associated to the experiments

func GetOutputFilename

func GetOutputFilename(mpiImplem string, sysCfg *sys.Config) error

GetOutputFilename returns the name of the file that is associated to the experiments to run

func Run

func Run(exp ContainerConfig, sysCfg *sys.Config, syConfig *sy.MPIToolConfig) (bool, results.Result, advexec.Result)

Run configure, install and execute a given experiment

Types

type ContainerConfig

type ContainerConfig struct {
	// HostMPI gathers all the data about the MPI to use on the host
	HostMPI implem.Info

	// ContainerMPI gathers all the data about the MPI to use in the container
	ContainerMPI implem.Info

	// Container gathers all the data about the container
	Container container.Config

	// HostBuildEnv gathers all the data about the environment to use to build the software for the host
	HostBuildEnv buildenv.Info

	// ContainerBuildEnv gathers all the data about the environment to use to build the software for the container
	ContainerBuildEnv buildenv.Info

	// App gathers all the data about the application to include in the container
	App app.Info

	// Result gathers all the data related to the result of an experiment
	Result results.Result
}

ContainerConfig is a structure that represents the configuration of an experiment

func Pruning

func Pruning(experiments []ContainerConfig, existingResults []results.Result) []ContainerConfig

Pruning removes the experiments for which we already have results

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL