Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Christoph_P_2
Beginner
70 Views

pdgemr2d: copy between grids

Hello,

I'd like to accomplish the following on a cluster-computer with nproc processors:

1. define two blacs grids, the first of the form p x q = nprocs, the second of the form 1 x 1, which is also just the root process

2. use pdgemr2d to copy a distributed matrix from the first grid to the second

I am already stuck at point 1.

So here are my questions:

a)  Do I have to initialize two MPI communicators and define the blacs contexts in these? 

b) If not, how do I create two separate blacs contexts?

Thanks a lot in advance!

Chris

0 Kudos
1 Reply
70 Views

Hi Christoph,

     I found this tut on the net, and may be helpful to your questions.

http://www.trentu.ca/academic/physics/batkinson/scalapack_docs/node11.html

 --Vipin

 

Reply