1 INTEGER FUNCTION pjlaenv( ICTXT, ISPEC, NAME, OPTS, N1,
10 CHARACTER*( * ) name, opts
11 INTEGER ictxt, ispec, n1, n2, n3, n4
111 INTEGER block_cyclic_2d, csrc_, ctxt_, dlen_, dtype_,
112 $ lld_, mb_, m_, nb_, n_, rsrc_
113 parameter( block_cyclic_2d = 1, dlen_ = 9, dtype_ = 1,
114 $ ctxt_ = 2, m_ = 3, n_ = 4, mb_ = 5, nb_ = 6,
115 $ rsrc_ = 7, csrc_ = 8, lld_ = 9 )
118 LOGICAL cname, global, sname
123 INTEGER i, ic, idumm, iz, msz, nb
126 INTRINSIC char, ichar
135 IF( block_cyclic_2d*csrc_*ctxt_*dlen_*dtype_*lld_*mb_*m_*nb_*n_*
140 GO TO ( 10, 10, 10, 10, 10 )ispec
153 ic = ichar( subnam( 1: 1 ) )
155 IF( iz.EQ.100 .OR. iz.EQ.122 )
THEN
159 IF( ic.GE.97 .AND. ic.LE.122 )
THEN
160 subnam( 1: 1 ) = char( ic-32 )
162 ic = ichar( subnam( i: i ) )
163 IF( ic.GE.97 .AND. ic.LE.122 )
164 $ subnam( i: i ) = char( ic-32 )
168 ELSE IF( iz.EQ.233 .OR. iz.EQ.169 )
THEN
172 IF( ( ic.GE.129 .AND. ic.LE.137 ) .OR.
173 $ ( ic.GE.145 .AND. ic.LE.153 ) .OR.
174 $ ( ic.GE.162 .AND. ic.LE.169 ) )
THEN
175 subnam( 1: 1 ) = char( ic+64 )
177 ic = ichar( subnam( i: i ) )
178 IF( ( ic.GE.129 .AND. ic.LE.137 ) .OR.
179 $ ( ic.GE.145 .AND. ic.LE.153 ) .OR.
180 $ ( ic.GE.162 .AND. ic.LE.169 ) )subnam( i:
181 $ i ) = char( ic+64 )
185 ELSE IF( iz.EQ.218 .OR. iz.EQ.250 )
THEN
189 IF( ic.GE.225 .AND. ic.LE.250 )
THEN
190 subnam( 1: 1 ) = char( ic-32 )
192 ic = ichar( subnam( i: i ) )
193 IF( ic.GE.225 .AND. ic.LE.250 )
194 $ subnam( i: i ) = char( ic-32 )
200 sname = c1.EQ.
'S' .OR. c1.EQ.
'D'
201 cname = c1.EQ.
'C' .OR. c1.EQ.
'Z'
202 IF( .NOT.( cname .OR. sname ) )
210 IF( ( n2+n3+n4 )*0.NE.0 )
THEN
215 GO TO ( 50, 60, 70, 80, 90 )ispec
228 IF( c2.EQ.
'SY' .OR. c2.EQ.
'HE' )
THEN
229 IF( c3.EQ.
'LLT' )
THEN
235 ELSE IF( c3.EQ.
'TTR' )
THEN
241 ELSE IF( c3.EQ.
'GST' )
THEN
247 ELSE IF( c3.EQ.
'BCK' )
THEN
253 ELSE IF( c3.EQ.
'TRS' )
THEN
273 IF( c2.EQ.
'SY' .OR. c2.EQ.
'HE' )
THEN
274 IF( c3.EQ.
'TTR' )
THEN
293 IF( c2.EQ.
'SY' .OR. c2.EQ.
'HE' )
THEN
294 IF( c3.EQ.
'TTR' )
THEN
312 IF( c2.EQ.
'SY' .OR. c2.EQ.
'HE' )
THEN
313 IF( c3.EQ.
'TTR' )
THEN
338 IF( c2.EQ.
'SY' .OR. c2.EQ.
'HE' )
THEN
339 IF( c3.EQ.
'TTR' )
THEN
355 CALL igamx2d( ictxt,
'All',
' ', 1, 1,
pjlaenv, 1, idumm,
356 $ idumm, -1, -1, idumm )