🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.transputer
Article #1885

Re: iserver required although no I/O is done ?

#1885
From: Norbert Kuck
Date: Thu, 21 Jan 1993 19:52
47 lines
2861 bytes
In article <1993Jan21.182001.26251@titan.inmos.co.uk>, nigel@dodo.inmos.co.uk (Nigel Holder) writes:
> In article <1jjvtuINNgdb@nz12.rz.uni-karlsruhe.de> stud2@aifbmozart.aifb.uni-karlsruhe.de (Norbert Kuck) writes:

> >I have a problem concerning the INMOS ANSI C toolset. I am using 
> >a 4-transputer configuration, where all transputers are connected to
> >each other. Additionally, each transputer uses his link 0 to communicate
> >with his personal iserver. So I have to start 4 iservers on my host
> >and can watch all kinds of trace output from the net. Very nice.
> >
> >The problem is: Now that my program works better, I usually switch
> >the tracing off, so that only the root transputer does any host-I/O.
> >But I still have to start 4 iservers, otherwise the system hangs.
> >
> >What can I do ? I would like to decide at configuration time if I
> >want a host connection or not. I'd very much appreciate if anybody
> >out there could give me a hint about that.
> 
> The full C run-time library communicates with the iserver in order
> to determine the command line arguments (argv).
> 
> The reduced mode libraries do not.
> 
> Are you configuring each transputer individually (each with a full run-time
> library) or as a network of 4 transputers ?
> 
> 
> -Nigel
> 
I am not sure if I understand your question completely, but I think I configure
them individually. Basically, it looks like this: (Only 3 transputers for simplicity)

connect 3 transputers as a triangle 
each transputer gets an edge for trace output
define a process myproc (input in[3], output out[3], ...)
Channels are mapped on the triangle, plus one to the edge (the first)
Each transputer gets one process using the same .lku

This way I can print trace output from all three transputers.
When I switch off tracing (i.e. don't call I/O-functions at all, except from the root)
I would expect the triangle to behave silent on the additional edges, thus
not requiring iservers there. I also tried to use main(void), but it still hangs.
Do I really have to use the reduced library, or is there a way around that ?

Norbert

Norbert Kuck
stud2@aifb.uni-karlsruhe.de
Technical Details
Message-ID: <1jmuu5INNe7s@nz12.rz.uni-karlsruhe.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!rz.uni-karlsruhe.de!aifbmozart!stud2
References: <1jjvtuINNgdb@nz12.rz.uni-karlsruhe.de> <1993Jan21.182001.26251@titan.inmos.co.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!rz.uni-karlsruhe.de!aifbmozart!stud2
From: stud2@aifbmozart.aifb.uni-karlsruhe.de (Norbert Kuck)
Newsgroups: comp.sys.transputer
Subject: Re: iserver required although no I/O is done ?
Date: 21 Jan 1993 19:52:37 GMT
Organization: AIFB, University of Karlsruhe (Baden / Germany)
Lines: 48
Sender: stud2@aifbmozart (Student2 f.SC64)
Distribution: world
Message-ID: <1jmuu5INNe7s@nz12.rz.uni-karlsruhe.de>
References: <1jjvtuINNgdb@nz12.rz.uni-karlsruhe.de> <1993Jan21.182001.26251@titan.inmos.co.uk>
NNTP-Posting-Host: nz11.rz.uni-karlsruhe.de
Keywords: QUESTION iserver C-toolset