K315640@AEARN.BITNET (Wolfgang Schreiner) (03/30/90)
Dear Mailing List!
We have some problems in porting a single transputer application written
in OCCAM to a multi-transputer network.
The problem is the following: We have some OCCAM process that takes an
array of channels (rather than a single one!) as input parameter, i.e.
it is of the form
PROC test([Number]CHAN OF Something chan)
and want to put this process onto some transputer in the network by
a configuration statement of the form
PLACED PAR
...
PROCESSOR n T800
7 test(chan)
....
Placing the various elements (i.e. channels) of the array on different hardware
links works fine. However, the configuration tool `iconf' refuses to compile
the configuration file reporting the error message
7 ONLY ELEMENTS OF CONFIGURATION CHANNELS MAY BE USED, NOT SEGMENT
Now, we can't find in any documentation (OCCAM reference manual, Inmos OCCAM
toolset docu) any hint that it is not allowed to use segments of channels
as parameters of processes in configuration files. Furthermore, this would
be a contradiction to the OCCAM philosophy that any program running on a
single transputer (and the program just works fine there!) should also run
on a transputer network.
Now my questions:
* Is this a feature of OCCAM itself?
* Is this some restriction of the Inmos configurer?
* Or is this just another bug in the Inmos toolset?
* What can we do to get the configurer running on this configuration?
We don't want to split up the array of channels into single channels,
since we have many replicated constructs (PAR i=0 FOR num) working
on this array. Moreover, we want to keep the program independent of the
number of input channels used.
Any help appreciated!
************************************************************************
* Wolfgang Schreiner *
* *
* RISC-Linz - Research Institute for Symbolic Computation *
* Johannes Kepler University Tel: +43 7236 3231 66 *
* A-4040 Linz Telex: (Austria) 22323 uni li a *
* Austria (Europe) Fax: +43 7326 3338 30 *
* *
* Bitnet: K315640@AEARN *
* Arpa/CS/Internet: K315640%AEARN.BITNET@CUNYVM.CUNY.EDU *
* UUCP: mcvax!aearn.bitnet!K315640 *
* Janet: K315640@earn.aearn (perhaps) *
************************************************************************
Acknowledge-To: <K315640@AEARN>