Hong,
currently in master there's an error in PetscSubcommSetTypeGeneral, namely
in the loop starting at line 188
for (i=0; i<2*size; i++) { subsize[recvbuf[i]] = recvbuf[i+1];}
recvbuf is allocated at line 178 as 2*size*sizeof(PetscMPIInt), and the
loop tries to read at location 2*size
Could you please fix it?
--
Ph. D. Stefano Zampini
CINECA
SuperComputing Applications and Innovations Department - SCAI
Via dei Tizii, 6 00185 Roma - ITALY
------------------------------------------------------------------------------------------------------------------------
Email: [email protected]
SkypeID: stefano.zampini
GoogleTalk: [email protected]
Tel: +39 06.44486.707
------------------------------------------------------------------------------------------------------------------------