home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / parallel / 2089 < prev    next >
Encoding:
Text File  |  1992-09-09  |  547 b   |  28 lines

  1. Newsgroups: comp.parallel
  2. Path: sparky!uunet!gatech!hubcap!fpst
  3. From: l249114@godzilla (Ken Van de Houten)
  4. Subject: Determining physical nodes on Intel iPSC
  5. Message-ID: <1992Sep9.173706.27672@hubcap.clemson.edu>
  6. Sender: fpst@hubcap.clemson.edu (Steve Stevenson)
  7. Organization: Clemson University
  8. Date: Wed, 9 Sep 92 09:26:25 PDT
  9. Approved: parallel@hubcap.clemson.edu
  10. Lines: 16
  11.  
  12.  
  13. Here's a C routine that works for me :
  14.  
  15.  
  16. /*
  17.   Return physical node number
  18. */
  19.  
  20. #include <sys/types.h>
  21. #include <nxinfo.h>
  22.  
  23. int physnode_()
  24. {
  25.     return(nxinfo.physnode);
  26. }
  27.  
  28.