$NetBSD: patch-aw,v 1.1 2003/03/27 21:07:06 jschauma Exp $ --- man/man1/MPI.1.orig Mon Jan 13 17:20:16 2003 +++ man/man1/MPI.1 Thu Mar 27 13:33:25 2003 @@ -27,12 +27,12 @@ Add MPI to your path .nf -% set path = ( $path /usr/local/mpi/bin ) +% set path = ( $path @PREFIX@/bin ) .fi Compute pi to a given resolution on 8 processors or threads .nf -% mpirun -np 8 /usr/local/mpi/examples/basic/fpi +% mpirun -np 8 @PREFIX@/share/examples/mpi-ch/basic/fpi .fi Try 10000 intervals at the prompt. Fortran source is available @@ -40,7 +40,7 @@ A coarse timing program is also available here .nf -% mpirun -np 8 /usr/local/mpi/examples/basic/systest +% mpirun -np 8 @PREFIX@/share/examples/mpi-ch/basic/systest .fi More sophisticated timing programs may be found in the source for the MPICH @@ -61,8 +61,7 @@ .SH DOCUMENTATION Postscript documentation can be found in directory -/usr/local/mpi/doc/. These include an introductory guide -(guide.ps) and a user manual (manual.ps). +@PREFIX@/share/doc/mpi-ch. Man pages exist for every MPI subroutine and function. The command .I mpiman @@ -92,14 +91,12 @@ .SH FILES .nf -/usr/local/mpi/ MPI software directory -/usr/local/mpi/COPYRIGHT Copyright notice -/usr/local/mpi/README various notes and instructions -/usr/local/mpi/bin/ binaries, including mpirun -/usr/local/mpi/examples/basic elementary MPI programs -/usr/local/mpi/doc/ documentation -/usr/local/mpi/include/ include files -/usr/local/mpi/lib/ library files +@PREFIX@/bin/ binaries, including mpirun +@PREFIX@/share/examples/mpi-ch/basic elementary MPI programs +@PREFIX@/share/doc/mpi-ch documentation +@PREFIX@/share/doc/html/mpi-ch documentation +@PREFIX@/include/ include files +@PREFIX@/mpi/lib/ library files .fi @@ -111,6 +108,3 @@ .SH ACKNOWLEDGEMENT Thanks to Richard Frost for suggesting this page and providing a sample. - -.SH LOCATION -/home/MPI/mansrc/manpage