Skip to content

INI Section Test Get

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

Test Get Section

This section is used for obtaining tests that will be built and run against successful MPI installation. It has both fields and plugin modules.

This section is extremely similar to the MPI Get Section.

Fields

module

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

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.

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.

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.

Trivial module

This module creates 10 programs (they are self-contained; no need to download them from anywhere):

  • MPI "hello world" in C and C++, and in Fortran using the mpif.h, "use mpi", and "use mpi_f08" modules
  • MPI "ring" in C and C++, and in Fortran using the mpif.h, "use mpi", and "use mpi_f08" modules

This module does not accept any parameters through module fields.