# -*- rd -*-

= DataReplay::README.en

DataReplay is a debug tool for MPI programs.

This logs contents of the events, makes it possible to run and stop

each process independently.

There are two debug parts, these are Logging part and Replay part.

== Author

Shinya Abe <midmind@mail.goo.ne.jp>

== License

LGPL

== Requirement

* mpich-1.2.*

== Get

  % svn co https://www.kono.cis.iwate-u.ac.jp/svn/ashin/datareplay/trunk datareplay

== Install

  % ./configure
  % make
  % make install

== Usage

=== Log

(1) Build

  % mpicc -L{InstDir}/lib -ldatalog {srcfile} -o {execfile}

(2) Generate log files

  % mpirun -np n {EXEC}

=== Replay

(1) Build

  % mpicc -L{InstDir}/lib -ldatareplay {srcfile} {execfile}

(2) Replay by a log file

  % mpirun -np 1 {execfile} {logfile}
