Page 1 of 1

blacs_gridmap globally blocking

PostPosted: Thu Feb 23, 2017 10:20 am
by cfried
Dear all,

I have a question about how to perform ScaLAPACK operations in parallel. To be more specific, I want several MPI subcommunicators to call ScaLAPACK routines independently of each other, including the routine BLACS_GRIDMAP (which is used to create a context for parallel execution).

The problem I have encountered is that BLACS_GRIDMAP is always globally blocking with respect to MPI_COMM_WORLD so that the subcommunicators do not run independently (they hang until all processes have called BLACS_GRIDMAP, which is not always guaranteed). After some research on the internet I have found that older BLACS versions included the file, in which the macro "TRANSCOMM" would have to be set to "-DUseMpich". However, there does not seem to be a file in the new ScaLAPACK packages. Is there a possibility to avoid the global blocking of BLACS_GRIDMAP?

Thank you for your help in advance!

PS: It seems that an older post was interpreted by the system as "spam".

Best wishes

Re: blacs_gridmap globally blocking

PostPosted: Sun Feb 26, 2017 2:50 pm
by Avgvst
I had encountered the same problem so I will expect your responses! Thank you in advance!