1 SUBROUTINE sl_init( ICTXT, NPROW, NPCOL )
9 INTEGER ICTXT, NPCOL, NPROW
41 EXTERNAL blacs_get, blacs_gridinit, blacs_pinfo,
48 CALL blacs_pinfo( iam, nprocs )
52 IF( nprocs.LT.1 )
THEN
54 $ nprocs = nprow * npcol
55 CALL blacs_setup( iam, nprocs )
60 CALL blacs_get( -1, 0, ictxt )
61 CALL blacs_gridinit( ictxt,
'Row-major', nprow, npcol )