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

Himadri Barman hbarhbar at gmail.com
Sun May 19 10:24:24 CDT 2013


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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20130519/30424dc1/attachment.html>


More information about the discuss mailing list