1lis_matrix_set_size(3f) Lis Library Functions lis_matrix_set_size(3f)
2
3
4
6 lis_matrix_set_size - assign the size of the matrix
7
8
10 subroutine lis_matrix_set_size(LIS_MATRIX A, LIS_INTEGER local_n,
11 LIS_INTEGER global_n, LIS_INTEGER ierr);
12
13
15 Assign the size of matrix A.
16
17
19 A The matrix
20
21
22 local_n
23 The number of rows of the partial matrix
24
25
26 global_n
27 The number of rows of the global matrix
28
29
31 Either local_n or global_n must be provided. In the case of the serial
32 and multithreaded environments, local_n is equal to global_n. Thereā
33 fore, both lis_matrix_set_size(A,n,0) and lis_matrix_set_size(A,0,n)
34 create a matrrix of size n x n. For the multiprocessing environment,
35 lis_matrix_set_size(A,n,0) creates a partial matrix of size n x N on
36 each processing element, where N is the total sum of n. On the other
37 hand, lis_matrix_set_size(A,0,n) creates a partial matrix of size m_p x
38 n on processing element p. The values of m_p are determined by the
39 library.
40
41
43 lis(3)
44
45 http://www.ssisc.org/lis/
46
47
48
49
50Man Page 6 Sep 2012 lis_matrix_set_size(3f)