Thanks for your reply. Also I have a question, when FEAP is trying to assemble the matrix, for example in a blocked way, it has:
call MatCreateMPIBAIJ(PETSC_COMM_WORLD,nsbk,numpeq,numpeq,
& PETSC_DETERMINE, PETSC_DETERMINE,
& PETSC_NULL_INTEGER, mr(np(246)),
& PETSC_NULL_INTEGER, mr(np(247)),
& Kmatem, ierr)
Where does this np(246) and np(247) comes from? I was trying to search the source code but cannot have a clue. Can you briefly introduce how they are calculated?
Thank.
Shu