Skip to content

INI Section MPI Get

Jeff Squyres edited this page Sep 3, 2014 · 1 revision

MPI Get Section

This section is used for obtaining MPI imeplemtations that will be tested. It has both fields and plugin modules.

Fields

module

This field is the name of the MPI Get module to be used to get the MPI implementation. Multiple built-in modules exist and have several sub-fields of their own.

mpi_details

This field takes on the name of the corresponding MPI Details section that should be used to run tests of this MPI implementation.

Modules

Copytree module

The copytree module is a simplistic module used to copy an entire directory tree.

copytree_directory

The absolute path to the top-level directory that will be copied.

copytree_post_copy

Shell commands to execute after copying.

copytree_pre_copy

Shell commands to execute before copying.

copytree_version

The copytree method, unlike other "get" methods, does not have a way to dynamically obtain the version of the MPI implementation that it is procuring. This field must be filled in with an appropriate version number for the MPI implementation, to be used in tracking test results, etc.

OMPI_Snapshot module

The OMPI_Snapshot module is for downloading regular periodic snapshots of the Open MPI source base. It is likely only to be useful with Open MPI, but provides a good base for constructing other similar modules. This module only takes one field.

ompi_snapshot_url

This field takes in the URL (suitable for LWP) that is used as a base for finding the most recent version of OMPI and downloading it. It assumes an Open MPI-website-like layout, with latest_snapshot.txt, md5sums.txt, and sha1sums.txt files.

SVN module

The SVN module is used to get an SVN export of a particular subversion URL. Subversion "exports" are used (instead of "checkouts") in an attempt to both reduce disk space usage and provide a single snapshot (that is not meant to change over time).

svn_password

If set, this password will be used for the export.

svn_password_cache

If set to 0, an option will be passed to the SVN command line client telling it not to cache the SVN password.

svn_post_export

Shell commands to execute after exporting.

svn_pre_export

Shell commands to execute before exporting.

svn_r

If set, this specific r number will be exported. If unset, the HEAD will be exported.

svn_url

The URL that is exported. It is assumed that the user invoking MTT will have appropriate permissions to export from this URL. If multiple exports for this SVN URL already exist, intelligent probing of the SVN URL will occur to see if a new export is required (i.e., compare the r number of the HEAD vs. the r number of the last export).

svn_username

If set, this username will be used for the export.

svn_version

Use this as the version of the tarball, in case MTT isn't smart enough to figure out a version number on its own.

Tarball module

The tarball module is a simplistic module to copy and expand a tarball on an accessible filesystem.

tarball_filename

Absolute path to the tarball. Tarballs are expected to end in ".gz" or ".bz2", indicating which extraction scheme should be used.

tarball_post_extract

Shell commands to execute after extracting.

tarball_pre_extract

Shell commands to execute before extracting.

tarball_version

Use this as the version of the tarball, in case MTT isn't smart enough to figure out a version number on its own.