ftp.nice.ch/pub/next/unix/developer/pcn.2.0.s.tar.gz#/examples/v1.2.2/Template

Makefile
 
README
 
g.pcn
 
mw.pcn
 
sum.pcn
 
ut.pcn
 
w.pcn
 

README

The files in this directory implement a generic load-balancing
algorithm called the manager-worker. Two programming problems are
solved using this library. There is also a makefile for building
the programs: "make pams"

PROBLEM 1: Write a generic load balancing library that executes on N
computers and uses the manager-worker strategy. Your program should
assume that there is a program gen:generate(L) that generates a list L
of subproblems and a program work:solve(Subproblem,Done) that solves a
single Subproblem and signifies when it is finished by defining Done
to be a constant.

Your library should ensure that computation of a single subproblem is
overlapped with communication of the next subproblem.

(SOLUTION IN: mw.pcn)

----------------------------

PROBLEM 2: Use your library to add 500 numbers, 20 at a time, on 4
computers.

(SOLUTION IN: sum.pcn)

----------------------------

PROBLEM 3: Use your library to solve the Triangle problem. You may
choose initial moves so that your program does not execute for more
than 10 mins on 4 computers.

(SOLUTION IN: g.pcn w.pcn ut.pcn)

----------------------------

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.