p4(1) p4(1) NAME p4 - portable programs for parallel processors - release 1.4 DESCRIPTION p4 is a package of procedures that support development of parallel pro- grams in(1,8) C or Fortran that are portable across a wide variety of archi- tectures. For the shared-memory model of parallel computation, p4 pro- vides a set(7,n,1 builtins) of primitives from which monitors can be constructed, as well as a set(7,n,1 builtins) of useful monitors. For the distributed-memory model, p4 provides typed send(2,n) and receive operations, and creation of processes according to a text file(1,n) describing files to be executed on by created processes and the machines to execute them on. A complete User's Guide is available in(1,8) the doc subdirectory of the p4 distribution. It is written in(1,8) LaTeXinfo, so that it can produce either an info(1,5,n) file(1,n) (included) or a printed version. SYNOPSIS #include "p4.h" OPTIONS Several command line options are available to any program linked to the p4 package. -p4help get this information -p4pg <filename> procgroup file(1,n) -p4dbg n set(7,n,1 builtins) debug level -p4rdbg n set(7,n,1 builtins) remote debug level -p4gm n set(7,n,1 builtins) globmemsize -p4dmn <name> domainname -p4out <file(1,n)> output file(1,n) for master(5,8) -p4rout <file(1,n)> output file(1,n) prefix for remote masters -p4ssport <port#> private port number for secure server -p4log enable internal p4 logging by alog -p4version print the current p4 version(1,3,5) number -p4norem prompt user to start remote processes by hand FILES p4.h, libp4.a - see your systems administrator for the installed loca- tion DIAGNOSTICS p4 generates a wide variety of diagnostic messages. See the user man- ual for more details. EXAMPLE EXECUTION To invoke a program linked with p4 using a procgroup file: myprogram -pg procgroup_file_name SEE ALSO socket(2,7,n),etc. BUGS There are no known bugs at this time(1,2,n), but stay tuned. 7 November 1992 p4(1)