[mpich-discuss] MPICH2 with MPI-1 code

Mark Williamson mjw at sdsc.edu
Wed Apr 14 15:34:23 CDT 2010


Dave Goodell wrote:
> 
> Correct.  My copy of the MPI-1.3 standard does not mention MPI_IN_PLACE.
> 
>> The piece of AMBER code that I refer to in this discussion written 
>> within the a MPI-1 standard. As stated on the MPICH2 home page, 
>> "MPICH2 is a high-performance and widely portable implementation of 
>> the Message Passing Interface (MPI) standard (*BOTH* MPI-1 and 
>> MPI-2)". If I use MPI_IN_PLACE, the code will not be MPI-1 standard, 
>> so how to I specific instruct MPICH2's mpif90 or mpirun that one is 
>> using a MPI-1 code, hence avoiding this error?
> 
> 
> This was not valid MPI code in the MPI-1 standard either.  Section 2.2, 
> page 7 of the MPI-1.3 standard [1] disallows argument aliasing.  You 
> have at least three options:

Dear Dave,

Thank you very much on the clarification of this. This has answered my 
question on this. I appreciate you taking the time to answer this.

Best regards,

Mark


-- 
Mark Williamson, Post Doc
Walker Molecular Dynamics Group
Room 395E
San Diego Supercomputer Center
9500 Gilman Drive
La Jolla, CA 92093-0505
Email:  mjw at sdsc.edu
Office: 858-246-0827


More information about the mpich-discuss mailing list