Thread View: comp.sys.transputer
2 messages
2 total messages
Started by Mark from Philips
Mon, 24 Sep 1990 12:15
(none)
Author: Mark from Philips
Date: Mon, 24 Sep 1990 12:15
Date: Mon, 24 Sep 1990 12:15
56 lines
2242 bytes
2242 bytes
A thought occurred to me the other day. Some people can't afford transputer
hardware, even though it is relatively cheap these days. It would also be
nice to see occam running on other machines - so what can one do?
What would people think if, rather than using transputers, networks of
workstations were used instead. Thus, you would write your occam code as
usual; however, in the configuration description (PROGRAM fold), rather than
saying:
PLACED PAR
PROCESSOR 0 T8
... placed channels and SC PROC
PROCESSOR 1 T8
... placed channels and SC PROC
PROCESSOR 2 T8
... placed channels and SC PROC
etc, you would write:
PLACED PAR
PROCESSOR 0 node_name
... placed channels and SC PROC
PROCESSOR 1 node_name
... placed channels and SC PROC
PROCESSOR 2 node_name
... placed channels and SC PROC
where node_name (yes, you've guessed it) is the name of a node (workstation)
on your network. Communication (if one is running under UNIX) would take
place via sockets rather than links. One big advantage is that you are not
limited to a fixed number of physical channels - instead you have virtual
channels! This makes it somewhat compatible with the H1.
Is this a practical solution?
Would people be interested?
We have a package that would allow you to do this easily, if only we had the
source to the occam compiler/configurer, etc.
It means that you can achieve parallel processing, without buying transputers,
and it makes occam more attractive to run on non-transputer based machines.
Any comments?
Mark Edmonds
Philips Research Labs
Re: (none)
Author: P.J. Mitchell
Date: Tue, 25 Sep 1990 10:16
Date: Tue, 25 Sep 1990 10:16
28 lines
1728 bytes
1728 bytes
From article <900924121517.00002C28131@prlvax1.prl.philips.co.uk>, by EDMONDS@prlvax1.prl.philips.co.uk (Mark from Philips): > What would people think if, rather than using transputers, networks of > workstations were used instead. Thus, you would write your occam code as > > PLACED PAR > PROCESSOR 0 node_name > ... placed channels and SC PROC > > PROCESSOR 1 node_name > ... placed channels and SC PROC > > PROCESSOR 2 node_name > ... placed channels and SC PROC You can already do this sort of thing with Meiko CSTools, but only in C or Fortran, not Occam. The syntax of the "parfile" is similar to the above, and you can indeed specify hostanmes. Meiko provide Sun versions of their cs and csn libraries so that you can compile you programs for transputers or Suns (or Vaxen ?) and do what I think you want. Of course the byte order is different on MC680X0, Sparc and transputer chips but that just adds to the fun (use XDR routines when using more than one type of chip). -- --Paul Mitchell (CMA N.Cheshire, DoD#0145) | Computer Centre, JANET: cca04@uk.ac.keele.seq1 | University of Keele, Keele, USENET: cca04@seq1.keele.ac.uk@nss.cs.ucl.ac.uk | Staffordshire, ST5 5BG, U.K. BITNET: cca04%seq1.keele.ac.uk@ukacrl | 0782 - 621111 ext 3302
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads