head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 98.08.26.17.19.03; author dbc; state dead; branches; next 1.1; 1.1 date 98.08.25.18.56.06; author zgs; state Exp; branches; next ; desc @@ 1.2 log @Removed Files: index.html @ text @
This directory contain the following sub-directores of test codes...
To run all the tests on one machine, you need to run the perl script
NTrunall.pl.
This file is a very basic perl script that
cd's into each of
the tests sub-directories and runs another basic perl script,
see for example NTrunit.pl.
This perl script runs each test code in the sub-directory. For each code
it copies a version of the JNI interface to WMPI to the approriate name,
compiles the Java test code, creates a configuration file ($$.pg)
and then runs the test. The output from the tests will appear in a DOS
Console windows. It should be a fairly easy matter to adapt NTrunit.pl
to run codes on two or more machines.
Running PingPong
Here is an examples of how to run PingPong...
open a DOS console
cd mpiJava/tests/PingPong
javac *.java
copy mpiJava/src/WMPI_JNI/Release/WMPI.exe
PingPong.exe
create a configuration file - PingPong.pg - it should contain somehing like the following...
mymachine 0 c:\...\mpiJava\tests\PingPong\PingPong.exe
anothermachine 0 c:\...\mpiJava\tests\PingPong\PingPong.exe
to run PingPong
PingPong.exe -p4pg PingPong.pg
or using the dialog box...
PingPong.exe -dialog
Created by Mark Baker on 10th August 1998 @ 1.1 log @Added Files: Ntrunall.pl index.html @ text @@