mpi

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2019 License: BSD-3-Clause Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIntegrity

func CheckIntegrity(basedir string) error

CheckIntegrity checks if a given installation of MPI has been compromised

func GetMPIConfigFile

func GetMPIConfigFile(id string, sysCfg *sys.Config) string

GetMPIConfigFile returns the path to the configuration file for a given MPI implementation

func GetMpirunArgs

func GetMpirunArgs(myHostMPICfg *implem.Info, hostBuildEnv *buildenv.Info, app *app.Info, syContainer *container.Config, sysCfg *sys.Config) ([]string, error)

GetMpirunArgs returns the arguments required by a mpirun

func GetPathToMpirun

func GetPathToMpirun(mpiCfg *implem.Info, env *buildenv.Info) (string, error)

GetPathToMpirun returns the path to mpirun based a configuration of MPI

Types

type Config

type Config struct {
	// Implem gathers information about the MPI implementation to use
	Implem implem.Info

	// Buildenv gathers all the information regarding the build environment used to setup MPI
	Buildenv buildenv.Info

	// Container associated to the MPI configuration
	Container container.Config
}

Config represents a configuration of MPI for a target platform todo: revisit this, i do not think we actually need it, i think it would make everything easier if we were dealing with the different elements separately

Jump to

Keyboard shortcuts

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