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

  1. Path: sparky!uunet!think.com!yale.edu!ira.uka.de!rz.uni-karlsruhe.de!aifbmozart!stud2
  2. From: stud2@aifbmozart.aifb.uni-karlsruhe.de (Student2 f.SC64)
  3. Newsgroups: comp.sys.transputer
  4. Subject: SUMMARY
  5. Date: 25 Jan 1993 16:25:25 GMT
  6. Organization: AIFB, University of Karlsruhe (Baden / Germany)
  7. Lines: 53
  8. Sender: stud2@aifbmozart (Student2 f.SC64)
  9. Distribution: world
  10. Message-ID: <1k149mINNe8u@nz12.rz.uni-karlsruhe.de>
  11. References: <1jjvtuINNgdb@nz12.rz.uni-karlsruhe.de> <1993Jan22.113209.656@ohm.york.ac.uk>
  12. NNTP-Posting-Host: nz11.rz.uni-karlsruhe.de
  13.  
  14. I recently posted the following question about using the same 
  15. code for transputers with and without iserver-I/O. I got quite a
  16. number of answers (thank you all for the speedy help), which might be
  17. of general interest. 
  18.  
  19. I'm absolutely no expert in what I talk about here, I'm just trying to
  20. summarize what all the experts told me :-)
  21. Feel free to send me further comments, hints, suggestions, flames...
  22.  
  23. The question was:
  24.  
  25. >   I have a problem concerning the INMOS ANSI C toolset. I am using 
  26. >   a 4-transputer configuration, where all transputers are connected to
  27. >   each other. Additionally, each transputer uses his link 0 to communicate
  28. >   with his personal iserver. So I have to start 4 iservers on my host
  29. >   and can watch all kinds of trace output from the net. Very nice.
  30. >   
  31. >   The problem is: Now that my program works better, I usually switch
  32. >   the tracing off, so that only the root transputer does any host-I/O.
  33. >   But I still have to start 4 iservers, otherwise the system hangs.
  34. >   
  35. >   To me it looks as if there is some mysterious communication between
  36. >   iserver and transputer, even if I don't call any I/O-function. So if
  37. >   there is no iserver there, the transputer will wait forever for the
  38. >   iserver to respond. 
  39. >   
  40. >   What can I do ? I would like to decide at configuration time if I
  41. >   want a host connection or not. I'd very much appreciate if anybody
  42. >   out there could give me a hint about that. 
  43.  
  44. Summary of answers: 
  45.  
  46. There is no way but using the reduced library, if you don't want to
  47. provide an iserver for each transputer in a multitransputer program
  48. where each transputer has its own main()-function, because main()
  49. always tries to get the command line arguments from its iserver,
  50. unless it was linked with the reduced library..
  51.  
  52. So I maintain 2 different versions now, one linked with the complete
  53. library, the other linked with the reduced library and a dummies-library 
  54. with empty printf(), fprintf() etc. So I have to compile only once.
  55. The root transputer gets the full version, while all others are
  56. loaded with the reduced version. I'm not really fond of two
  57. different versions floating around, but alas - what can I do ? :-(
  58.  
  59. I always thought that the use of the reduced library is optional, 
  60. but it seems to be mandatory in this case.
  61.  
  62. Norbert Kuck
  63. stud2@aifb.uni-karlsruhe.de
  64. : iserver required although no I/O is done ?
  65. Keywords: 
  66.  
  67.