experiments

package
v0.0.0-...-90d879c Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2019 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMPIImplemFromExperiments

func GetMPIImplemFromExperiments(experiments []Config) (*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 Config, sysCfg *sys.Config, syConfig *sy.MPIToolConfig) (bool, results.Result, syexec.Result)

Run configure, install and execute a given experiment

Types

type Config

type Config 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
}

Config is a structure that represents the configuration of an experiment

func Pruning

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

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