home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.parallel
- Path: sparky!uunet!gatech!hubcap!fpst
- From: swhite@mathcs.emory.edu (Scott White)
- Subject: Can a Hypercube programmer lend me a hand?
- Message-ID: <1993Jan25.163844.13169@hubcap.clemson.edu>
- Sender: fpst@hubcap.clemson.edu (Steve Stevenson)
- Organization: Emory University, Dept of Math and CS
- Date: 25 Jan 1993 10:04:40 -0500
- Approved: parallel@hubcap.clemson.edu
- Lines: 38
-
- Hi,
-
- I was looking over some Hypercube code, which I have some experience
- programming, and came across csend() calls that have a negative value
- in the "destination node" argument. Looking at the csend() man page, I
- see the following:
-
- If node is a negative number up to a certain value, it
- causes a ``global'' send. If node is -1, the message is sent
- to all nodes. Other negative numbers cause the message to be
- sent to a subcube composed of a set of the nodes surrounding
- the sender. The dimension of this cube is calculated as (d -
- nodedim() -1) , where d is the dimension of the subcube, and
- is less than or equal to nodedim().
-
- Now, I'm not sure if this is the clearest explanation. Maybe I'm just being
- thick. Can someone help me understand just who gets the message in the
- following examples:
-
- nodedim is 2, destination argument is -2, I am processor 2
-
- nodedim is 3, destination argument is -2, I am processor 2
-
- nodedim is 5, destination argument is -3, I am processor 2
-
-
- Your assistance in getting my week off to a better start is greatly appreciated!
-
- Thanks,
-
- Scott White
- Emory U. Math/C.S. Dept.
- --
- Scott White
- Department of Mathematics and Computer Science
- Emory University, Atlanta, GA
- Internet: swhite@mathcs.emory.edu UUCP: {rutgers,ogicse,gatech}!emory!swhite
-
-