app

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2019 License: BSD-3-Clause Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	// Name is the name of the application
	Name string

	// BinName is the name of the binary to start executing the application
	BinName string

	// BinPath is the path to the binary to start executing the application
	BinPath string

	// Source is the URL to get the source. It can be a single file or a URI to a file to download
	Source string

	// InstallCmd is the command to use to install the application
	InstallCmd string

	// ExpectedRankOutput specifies what is the expected output from EACH rank
	// A few keyword can be used for runtime-specific parameters
	// Use '#NP' to specify the job size
	// Use '#RANK' to specify the rank number
	ExpectedRankOutput string

	// ExpectedNote specifies what is the expected note from an application
	//
	// A note is the result of an application-specific parsing/analysis of the
	// application's output that is specific to this framework. For instance,
	// for netpipe, the expected note is something like 'max bandwidth: 44.773 Gbps; latency: 50.609 nsecs'
	// todo: should support regexp here
	ExpectedNote string
}

Info gathers information about a given application

func GetHelloworld

func GetHelloworld(sysCfg *sys.Config) Info

GetHelloworld returns the app.Info structure with all the details for our helloworld test

func GetIMB

func GetIMB(sysCfg *sys.Config) Info

GetIMB returns the app.Info structure with all the details for the IMB test

func GetNetpipe

func GetNetpipe(sysCfg *sys.Config) Info

GetNetpipe returns the app.Info structure with all the details for the netpipe test

Jump to

Keyboard shortcuts

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