Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Fortran > Re: MPI code er...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 35 Topic 8214 of 8656
Post > Topic >>

Re: MPI code error raises a question

by Gib Bogle <bogle@[EMAIL PROTECTED] > May 8, 2008 at 10:22 AM

Steve Lionel wrote:
> On Thu, 08 May 2008 08:42:32 +1200, Gib Bogle
<bogle@[EMAIL PROTECTED]
>
> wrote:
> 
>> With a little help from my friends I have found the error in my MPI
code 
>> that was bedeviling me with Heisenbugs.  One of the arguments to 
>> MPI_RECV is an integer array status(MPI_STATUS_SIZE).  In one place I'd

>> forgotten to make it an array, and just declared it as integer. 
>> Interested consequences followed from this little mistake.
>>
>> I'm wondering if this is the kind of error that a compiler might be
able 
>> to detect.
> 
> If an explicit interface for the called routine was provided,
absolutely. The
> standard prohibits passing a scalar variable to an array argument (with
a
> minor exception for CHARACTER variables passed to arrays of
CHARACTER(1)).

Since the MPI library is accessed via a USE statement, doesn't this 
imply that the same information is available to the compiler as an 
explicit interface would provide?
 




 35 Posts in Topic:
MPI code error raises a question
Gib Bogle <bogle@[EMAI  2008-05-08 08:42:32 
Re: MPI code error raises a question
Steve Lionel <Steve.Li  2008-05-07 17:08:25 
Re: MPI code error raises a question
Gib Bogle <bogle@[EMAI  2008-05-08 10:22:33 
Re: MPI code error raises a question
nospam@[EMAIL PROTECTED]   2008-05-07 16:04:48 
Re: MPI code error raises a question
lindahl@[EMAIL PROTECTED]  2008-05-07 18:29:28 
Re: MPI code error raises a question
nospam@[EMAIL PROTECTED]   2008-05-07 20:40:24 
Re: MPI code error raises a question
Janne Blomqvist <foo@[  2008-05-08 10:02:00 
Re: MPI code error raises a question
Dan Nagle <dannagle@[E  2008-05-08 10:03:20 
Re: MPI code error raises a question
glen herrmannsfeldt <g  2008-05-08 03:57:33 
Re: MPI code error raises a question
Dan Nagle <dannagle@[E  2008-05-08 12:25:37 
Re: MPI code error raises a question
glen herrmannsfeldt <g  2008-05-08 04:44:48 
Re: MPI code error raises a question
Dick Hendrickson <dick  2008-05-08 14:22:01 
Re: MPI code error raises a question
Dan Nagle <dannagle@[E  2008-05-08 15:13:43 
Re: MPI code error raises a question
Dick Hendrickson <dick  2008-05-08 20:15:17 
Re: MPI code error raises a question
glen herrmannsfeldt <g  2008-05-08 12:40:23 
Re: MPI code error raises a question
Dan Nagle <dannagle@[E  2008-05-08 20:57:58 
Re: MPI code error raises a question
Dan Nagle <dannagle@[E  2008-05-08 20:52:32 
Re: MPI code error raises a question
Ron Shepard <ron-shepa  2008-05-08 23:42:48 
Re: MPI code error raises a question
nospam@[EMAIL PROTECTED]   2008-05-08 22:21:17 
Re: MPI code error raises a question
Dan Nagle <dannagle@[E  2008-05-08 15:11:27 
Re: MPI code error raises a question
Gordon Sande <g.sande@  2008-05-08 12:25:28 
Re: MPI code error raises a question
lindahl@[EMAIL PROTECTED]  2008-05-08 00:10:11 
Re: MPI code error raises a question
Gib Bogle <g.bogle@[EM  2008-05-08 18:56:29 
Re: MPI code error raises a question
GaryScott <garylscott@  2008-05-08 14:45:58 
Re: MPI code error raises a question
glen herrmannsfeldt <g  2008-05-08 14:47:05 
Re: MPI code error raises a question
nospam@[EMAIL PROTECTED]   2008-05-08 16:44:30 
Re: MPI code error raises a question
glen herrmannsfeldt <g  2008-05-08 16:00:49 
Re: MPI code error raises a question
nospam@[EMAIL PROTECTED]   2008-05-08 17:58:22 
Re: MPI code error raises a question
Dick Hendrickson <dick  2008-05-09 18:02:15 
Re: MPI code error raises a question
glen herrmannsfeldt <g  2008-05-09 12:02:15 
Re: MPI code error raises a question
Gary Scott <garylscott  2008-05-08 20:24:08 
Re: MPI code error raises a question
Herman D. Knoble <Skip  2008-05-08 07:40:20 
Re: MPI code error raises a question
Herman D. Knoble <Skip  2008-05-08 07:52:30 
Re: MPI code error raises a question
Gib Bogle <g.bogle@[EM  2008-05-13 17:10:25 
Re: MPI code error raises a question
Herman D. Knoble <Skip  2008-05-13 12:59:57 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Aug 30 8:23:39 CDT 2008.