sympi

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: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCleanedUpMPIEnvVars

func GetCleanedUpMPIEnvVars() ([]string, []string)

GetCleanedUpMPIEnvVars parses the current environment and cleans up to ensure that is not interference between the currently loaded installation of MPI and what was previously used.

func GetCleanedUpSyEnvVars

func GetCleanedUpSyEnvVars() ([]string, []string)

GetCleanedUpSyEnvVars parses the current environment and cleans up to ensure that is not interference between the currently loaded installation of Singularity and what was previously used.

func GetDefaultSysConfig

func GetDefaultSysConfig() sys.Config

GetDefaultSysConfig loads the default system configuration

func GetEnvFile

func GetEnvFile() (string, error)

GetEnvFile returns the absolute path to the file that is automatically sources while using SyMPI.

func GetHostMPIInstalls

func GetHostMPIInstalls(entries []os.FileInfo) ([]string, error)

GetHostMPIInstalls returns all the MPI implementations installed in the current workspace

func GetMPIDetails

func GetMPIDetails(desc string) (string, string)

GetMPIDetails extract the details of a specific MPI implementation from its description

func InstallMPIonHost

func InstallMPIonHost(mpiDesc string, sysCfg *sys.Config) error

InstallMPIonHost installs a specific implementation of MPI on the host

func LoadMPI

func LoadMPI(id string) error

LoadMPI loads a specific implementation of MPI in the current environment.

func RunContainer

func RunContainer(containerDesc string, args []string, sysCfg *sys.Config) error

RunContainer is a high-level function to execute a container that was created with the SyMPI framework (it relies on metadata)

func UpdateEnvFile

func UpdateEnvFile(file string, pathEnv string, ldlibEnv string) error

UpdateEnvFile updates the file that is automatically sources while using SyMPI and setting the environment.

Types

This section is empty.

Jump to

Keyboard shortcuts

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