Skip to content

dongahn/ReMPI

 
 

Repository files navigation

Introduction

  • ReMPI is a record-and-replay tool for MPI applications.
  • (Optional) ReMPI implements Clock Delta Compression (CDC) for compressing records

Quick Start

1. Get source code

From git repogitory

-
$ git clone --recursive ssh://git@cz-stash.llnl.gov:7999/prun/rempi.git
OR
$ git clone ssh://git@cz-stash.llnl.gov:7999/prun/rempi.git
$ git submodule update --init
-
$ cd <rempi directory>
$ ./autogen.sh

From tarball

$ tar zxvf ./rempi_xxxxx.tar.bz
$ cd <rempi directory>

2. Build ReMPI

Build (General)

./configure --prefix=<path to installation directory> 
make 
make install

Build (BG/Q)

./configure --prefix=<path to installation directory> --with-bluegene --with-zlib-static=/usr/local/tools/zlib-1.2.6/ MPICC=/usr/local/tools/compilers/ibm/mpicxx-fastmpi-mpich-312 MPIFC=/usr/local/tools/compilers/ibm/mpif90-fastmpi-mpich-312
make 
make install

3. Run examples

Assuming SLURM

 cd example
 sh ./example_x86.sh 16
 ls -ltr .rempi # lists record files

Configuration Option

For more details, run ./configure -h

  • --enable-cdc: (Optional) enables CDC (clock delta compression), and output librempix.a and .so. When CDC is enabled, ReMPI requires MPI3 and below two software *--with-stack-pmpi: (Required when --enable-cdc is specified) path to stack_pmpi directory (STACKP) *--with-clmpi: (Required when --enable-cdc is specified) path to CLMPI directory
  • --with-bluegene: (Required in BG/Q) build codes with static library for BG/Q system
  • --with-zlib-static: (Required in BG/Q) path to installation directory for libz.a

When the --enable-cdc option is specified, ReMPI require dependent software below:

Environmental valiables

  • REMPI_MODE: Record mode OR Replay mode
    • 0: Record mode
    • 1: Replay mode
  • REMPI_DIR: Directory path for record files
  • REMPI_ENCODE: Encoding mode
    • 0: Simple recording
    • 1: 0 + record format optimization
    • 2 and 3: (Experimental encoding)
    • 4: Clock Delta Compression (only when built with --enable-cdc option)
    • 5: Same as 4 (only when built with --enable-cdc option)
  • REMPI_GZIP: Enable gzip compression
    • 0: Disable zlib
    • 1: Enable zlib
  • REMPI_TEST_ID: Enable Matching Function (MF) Identification
    • 0: Disable MF Identification
    • 1: Enable MF Identification

References

  • Kento Sato, Dong H. Ahn, Ignacio Laguna, Gregory L. Lee, and Martin Schulz. 2015. Clock delta compression for scalable order-replay of non-deterministic parallel applications. In Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis (SC '15). ACM, New York, NY, USA, , Article 62 , 12 pages. DOI=http://dx.doi.org/10.1145/2807591.2807642

About

ReMPI (MPI Record-and-Replay)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 80.6%
  • C 12.2%
  • Shell 4.3%
  • M4 1.1%
  • Python 0.8%
  • Makefile 0.7%
  • Fortran 0.3%