MAKMAT, CHMAKMAT
CALL MAKMAT (lda, n, type, fn, u, ier) CALL CHMAKMAT (lda, n, type, fn, u, ier)
Cray MPP systems
MAKMAT/CHMAKMAT allocates a global array of real/complex type dimensioned (lda,n) on each calling PE. The array is initialized with respect to the indicated types noted below and written to disk as an unformatted, direct-access file with record length 8*lda*n (16*lda*n). Generally, a single PE would call this routine.
Files produced by MAKMAT/CHMAKMAT may be used as input by the Parallel Jacobian eigensolver library routines RSPJAC/CHPJAC.
For the current T3D memory configuration (8 MWords per PE) it is possible to allocate an array dimensioned 1024x1024 on a single PE. Larger dimensions may generate out of resource errors.
type=1 : pentadiagonal system, bandwidth=n/2
2 : tridiagonal system, bandwidth=3
3 : dense randomized system
4 : n/2 x n/2 dense randomized system with
diagonal
5 : n-3 x n-3 dense randomized system with
diagonal
The following additional types are valid for the
complex case (CHMAKMAT) only:
type=6 : tridiagonal system, bandwidth=3
7 : 3x3 verification problem
8 : dense randomized system
RSPJAC(L), SHOMAT(L), FGET(L), FPUT(L)
O'Neal, D. C., and Reddy, N. R., "Solving Symmetric Eigenvalue Problems on Distributed Memory Machines," 1994 Fall Proceedings, Cray User Group, Tours, France, p. 76-96.