home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / transput / 1406 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  2.7 KB

  1. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!rz.uni-karlsruhe.de!aifbmozart!stud2
  2. From: stud2@aifbmozart.aifb.uni-karlsruhe.de (Norbert Kuck)
  3. Newsgroups: comp.sys.transputer
  4. Subject: Re: iserver required although no I/O is done ?
  5. Date: 21 Jan 1993 19:52:37 GMT
  6. Organization: AIFB, University of Karlsruhe (Baden / Germany)
  7. Lines: 48
  8. Sender: stud2@aifbmozart (Student2 f.SC64)
  9. Distribution: world
  10. Message-ID: <1jmuu5INNe7s@nz12.rz.uni-karlsruhe.de>
  11. References: <1jjvtuINNgdb@nz12.rz.uni-karlsruhe.de> <1993Jan21.182001.26251@titan.inmos.co.uk>
  12. NNTP-Posting-Host: nz11.rz.uni-karlsruhe.de
  13. Keywords: QUESTION iserver C-toolset
  14.  
  15. In article <1993Jan21.182001.26251@titan.inmos.co.uk>, nigel@dodo.inmos.co.uk (Nigel Holder) writes:
  16. > In article <1jjvtuINNgdb@nz12.rz.uni-karlsruhe.de> stud2@aifbmozart.aifb.uni-karlsruhe.de (Norbert Kuck) writes:
  17.  
  18. > >I have a problem concerning the INMOS ANSI C toolset. I am using 
  19. > >a 4-transputer configuration, where all transputers are connected to
  20. > >each other. Additionally, each transputer uses his link 0 to communicate
  21. > >with his personal iserver. So I have to start 4 iservers on my host
  22. > >and can watch all kinds of trace output from the net. Very nice.
  23. > >
  24. > >The problem is: Now that my program works better, I usually switch
  25. > >the tracing off, so that only the root transputer does any host-I/O.
  26. > >But I still have to start 4 iservers, otherwise the system hangs.
  27. > >
  28. > >What can I do ? I would like to decide at configuration time if I
  29. > >want a host connection or not. I'd very much appreciate if anybody
  30. > >out there could give me a hint about that.
  31. > The full C run-time library communicates with the iserver in order
  32. > to determine the command line arguments (argv).
  33. > The reduced mode libraries do not.
  34. > Are you configuring each transputer individually (each with a full run-time
  35. > library) or as a network of 4 transputers ?
  36. > -Nigel
  37. I am not sure if I understand your question completely, but I think I configure
  38. them individually. Basically, it looks like this: (Only 3 transputers for simplicity)
  39.  
  40. connect 3 transputers as a triangle 
  41. each transputer gets an edge for trace output
  42. define a process myproc (input in[3], output out[3], ...)
  43. Channels are mapped on the triangle, plus one to the edge (the first)
  44. Each transputer gets one process using the same .lku
  45.  
  46. This way I can print trace output from all three transputers.
  47. When I switch off tracing (i.e. don't call I/O-functions at all, except from the root)
  48. I would expect the triangle to behave silent on the additional edges, thus
  49. not requiring iservers there. I also tried to use main(void), but it still hangs.
  50. Do I really have to use the reduced library, or is there a way around that ?
  51.  
  52. Norbert
  53.  
  54. Norbert Kuck
  55. stud2@aifb.uni-karlsruhe.de
  56.  
  57.