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 23 of 35 Topic 8214 of 8767
Post > Topic >>

Re: MPI code error raises a question

by Gib Bogle <g.bogle@[EMAIL PROTECTED] > May 8, 2008 at 06:56 PM

Richard Maine wrote:
> Gib Bogle <bogle@[EMAIL PROTECTED]
> wrote:
> 
>> 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?
> 
> No, that doesn't follow. It might happen to be true for MPI in specific;
> I don't know. But it does not follow from being accessed via a USE
> statement.
> 
> It is perfectly possible to access implicit-interface procedures via
> USE. Admitedly, the most common type of procedure to access via use
> would be a module procedure, in which case the USE does provide an
> explicit interface. But "Access via USE" does not directly imply "module
> procedure".
> 
> For a trivial example, consider
> 
>   module some_module
>     external some_procedure
>   end module
> 
> This is a perfectly fine module that provides access to the external
> procedure some_procedure. USEing this module will give you an implicit
> interface to the procedure, as there sure isn't any information here to
> provide anything else.
> 
> Yes, by the way, there are occasionally reasons to do things like that.
> They aren't common, but they do come up. And it is even vaguely possible
> that MPI might sit in one of the corners where such a thing is useful
> (in particular, if there is type cheating going on that would cause
> compilers to ***** if they noticed).
> 

Thanks Richard, my understanding was deficient.  If I understand you
correctly, this seems to imply 
that I need to create explicit interfaces for all the MPI procedures I'm
using, or, better, persuade 
the MPICH2 developers that it would be useful to provide, in the Fortran
distribution, a file 
containing explicit interfaces to all the MPI procedures.  I wasted an
enormous amount of time 
trying to track down my error, and I hate to think of others having to go
through the same process.
 




 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 Oct 11 12:55:54 CDT 2008.