2
3
4
5
6
7
8
9 INTEGER ICTXT, INFO
10
11
12 CHARACTER*(*) SRNAME
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45 INTEGER MYCOL, MYROW, NPCOL, NPROW
46
47
48 EXTERNAL blacs_gridinfo
49
50
51
52 CALL blacs_gridinfo( ictxt, nprow, npcol, myrow, mycol )
53
54 WRITE( *, fmt = 9999 ) myrow, mycol, srname, info
55
56 9999 FORMAT( '{', i5, ',', i5, '}: On entry to ', a,
57 $ ' parameter number ', i4, ' had an illegal value' )
58
59 RETURN
60
61
62