[mpich-discuss] Using arrays with negative indices in MPI Fortran

Jeff Hammond jeff.science at gmail.com
Sun May 19 13:05:27 CDT 2013


Can you post the code? That will help a lot.

Thanks,

Jeff

Sent from my iPhone

On May 19, 2013, at 10:24 AM, Himadri Barman <hbarhbar at gmail.com> wrote:

Hi,

I have a question:

If I have an array with negative indices, say defined as A(-5:5) in Fortran.

Can I use that for COLLECTIVE CALL, e.g MPI_Bcast, MPI_Gather without
transforming
to a new array with positive indices?

If I have my array defined as A(0:11), I find no issues.

Hope you can help me.


Thanks and best regards,

- Himadri

-- 
Himadri Barman,

Research Associate,
Theoretical Sciences Unit,
Jawaharlal Nehru Centre for Advanced Scientific Research,
Jakkur PO,
Bangalore- 560 064,
India.

Phone: 91-80-2208-2986
Webpage: http://www.jncasr.ac.in/hbar/

_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20130519/9f31cf0e/attachment.html>


More information about the discuss mailing list