From: "Lisandro Dalcin" Date: February 8, 2008 9:06:26 AM CST To: mpi-forum@XXXXXXXXXXX Subject: [mpi-forum] Error in RMA examples? Can someone take a look at the second example in: http://www.mpi-forum.org/docs/mpi-20-html/node124.htm and also to the example in: http://www.mpi-forum.org/docs/mpi-20-html/node125.htm I believe in both cases the lines saying j = map(i)/p k = MOD(map(i),p) should read j = map(i)/m k = MOD(map(i),m) Additionally, in the first example again in: http://www.mpi-forum.org/docs/mpi-20-html/node124.htm in the part where origin and target indices are computed, there are two lines reading: oindex(total(j) + count(j)) = i tindex(total(j) + count(j)) = k Should'nt it read like this (for indices being zero-based)? oindex(total(j) + count(j)) = i - 1 tindex(total(j) + count(j)) = k - 1 Regards, -- Lisandro Dalc’n --------------- Centro Internacional de MŽtodos Computacionales en Ingenier’a (CIMEC) Instituto de Desarrollo Tecnol—gico para la Industria Qu’mica (INTEC) Consejo Nacional de Investigaciones Cient’ficas y TŽcnicas (CONICET) PTLC - GŸemes 3450, (3000) Santa Fe, Argentina Tel/Fax: +54-(0)342-451.1594 _______________________________________________ mpi-forum mailing list mpi-forum@XXXXXXXXXXX http://lists.cs.uiuc.edu/mailman/listinfo/mpi-forum