impi

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// IntelInstallPathPrefix is the prefix to use when referring to the installation directory for Intel MPI
	IntelInstallPathPrefix = "compilers_and_libraries/linux/mpi/intel64"

	// VersionTag is the tag used to refer to the MPI version in the IMPI template(s)
	VersionTag = "IMpiVersion"
	// TarballTag is the tag used to refer to the tarball of IMPI in the IMPI template(s)
	TarballTag = "IMPITARBALL"
	// DirTag is the tag used to refer to the directory where IMPI is installed
	DirTag = "IMPIDIR" // todo: Should be removed
	// InstallConffileTag is the tag used to refer to the path for the script to use to install IMPI
	InstallConffileTag = "IMPIINSTALLCONFFILE"
	// UninstallConffileTag is the tag used to refer to the path for the script to use to uninstall IMPI
	UninstallConffileTag = "IMPIUNINSTALLCONFFILE"
	// IfnetTag is the tag used to refer to the network interface in the IMPI template(s)
	IfnetTag = "NETWORKINTERFACE"
)

Constants related to Intel MPI

Variables

This section is empty.

Functions

func GetDeffileTemplateTags

func GetDeffileTemplateTags() deffile.TemplateTags

GetDeffileTemplateTags returns all the tags used in IMPI template files

func GetPathToMpirun

func GetPathToMpirun(env *buildenv.Info) string

GetPathToMpirun returns the path to mpirun when using IMPI

func IntelGetConfigureExtraArgs

func IntelGetConfigureExtraArgs() []string

IntelGetConfigureExtraArgs returns the extra arguments required to configure IMPI

func IntelGetExtraMpirunArgs

func IntelGetExtraMpirunArgs(mpiCfg *Config, sys *sys.Config) []string

GetExtraMpirunArgs returns all the required additional arguments required to use mpirun for a given configuration of MPI

func RunScript

func RunScript(env *buildenv.Info, sysCfg *sys.Config, phase string) syexec.Result

RunScript executes a install/uninstall script

func SetupInstallScript

func SetupInstallScript(env *buildenv.Info, sysCfg *sys.Config) error

SetupIntelInstallScript creates the install script for Intel MPI

Types

type Config

type Config struct {
	// DefFile is the path to the definition file for a IMPI based container
	DefFile string
	// Info gathers all the information about the version of IMPI to use
	Info implem.Info
}

Config represents a configuration of Intel MPI

Jump to

Keyboard shortcuts

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