LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Curry Matthew J CRBE (CurryMJ_at_[hidden])
Date: 2005-02-04 14:14:45


Because they do return error codes, if something is wrong. I thought I remembered reading something in the standard about changing the behavior on an error, i.e., you can make it not do an MPI_Abort on error, IIRC.

-----Original Message-----
From: Phil Ehrens [mailto:pehrens_at_[hidden]]
Sent: Friday, February 04, 2005 13:20
To: General LAM/MPI mailing list
Subject: Re: LAM: Negative rank or communicator size?

Angel Tsankov wrote:
> Why do functions such as MPI_Comm_rank and MPI_Comm_size return int instead
> of unsigned int?

I have wondered about that too... though I have to say, it
certainly catches your attention when rank -32764 fails.

-- 
Phil Ehrens <pehrens_at_[hidden]>| Fun stuff:
The LIGO Laboratory, MS 18-34         | http://www.ralphmag.org
California Institute of Technology    | http://www.yellow5.com
1200 East California Blvd.            | http://www.total.net/~fishnet/
Pasadena, CA 91125 USA                | http://slashdot.org
Phone:(626)395-8518 Fax:(626)793-9744 | http://kame56.homepage.com
_______________________________________________
This list is archived at http://www.lam-mpi.org/MailArchives/lam/