processes managed by MPI and BLACS process grid concept

Open discussion regarding features, bugs, issues, vendors, etc.

processes managed by MPI and BLACS process grid concept

Postby gocanal » Wed Oct 14, 2015 12:20 am

Hello,
Would appreciate if someone could confirm my assumption - I am using MPI:

Q1.
- the number of processes created by MPI should be at least the same as the number in the BLACS process grid.

For example, if I create a 2x2 process grid using Cblacs_gridinit (), then I should have 4 MPI processes (for example, I should run my program with this command "mpirun -n 4 myprogram).

And Cblacs_pinfo() will return the number of the processes available in the MPI group.

Am I correct?

Q1.
- Cblacs_gridinit should be run only in the 'main' process (for example, MPI rank = 0).

Am I correct?

But I saw some sample applications, Cblacs_gridinit is run in every process. (reference https://andyspiros.wordpress.com/2011/0 ... cs-with-c/)

many thanks
canal
gocanal
 
Posts: 7
Joined: Fri Aug 28, 2015 2:30 am

Re: processes managed by MPI and BLACS process grid concept

Postby gocanal » Wed Oct 14, 2015 8:09 am

according to https://wiki.gwdg.de/index.php/ScaLAPACK, the number of processes created in MPI group is what BLACS process grid can use.
gocanal
 
Posts: 7
Joined: Fri Aug 28, 2015 2:30 am


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 4 guests