I'm getting an error while trying to create a distributed matrices in fortran. I'm only getting through these two lines:
CALL BLACS_GET( 0, 0, icontext )
CALL BLACS_GRIDINIT( icontext, 'R', NPROW, NPCOL)
then it stalls on this next line:
CALL BLACS_GRIDINFO( icontext, NPROW, NPCOL, MYROW, MYCOL)
As I understand it, the BLACS_GRIDINFO does not actually have a purpose other than a check step. I tried to run the program with that line commented out, and then printing NPROW, NPCOL, MYROW,MYCOL, and it returns this sixteen times "4 4 10935 1715184624". Its like the processors are not assigning a grid position. Or am I misunderstanding this error? Any ideas you have would be welcome and greatly appreciated!!!