NAS Parallel Benchmarks 2.1
MPI2PVM Library


The MPI2PVM library is supplied to run the NPB 2.1 MPI codes
using the PVM message passing interfacve.
It is not a full MPI implementation and  
sufficient only for the NPB 2.1 benchmarks as delivered.



Because the dummy library is just an extra goody, and since we don't
have an infinite amount of time, it may be a bit trickier to configure
than the rest of the benchmarks. You need to:

1. Find out how C and Fortran interact on your machine. On most machines, 
the fortran functon foo(x) is declared in C as foo_(xp) where xp is 
a pointer, not a value. On IBMs, it's just foo(xp). On Cray C90s, its
FOO(xp). You can define CRAY or IBM to get these, or you need to
edit wtime.c if you've got something else. 

2. Edit the Makefile to compile mpi_dummy.f and wtime.c correctly
for your machine (including -DCRAY or -DIBM if necessary). 

3. The substitute MPI timer gives wall clock time, not CPU time. 
If you're running on a timeshared machine, you may want to 
use a CPU timer. Edit the function mpi_wtime() in mpi_dummy.f
to change this timer. (NOTE: for official benchmark results, 
ONLY wall clock times are valid. Using a CPU timer is ok 
if you want to get things running, but don't report any results
measured with a CPU timer. )
