1lis_esolver_set_option(3)    Lis Library Functions   lis_esolver_set_option(3)
2
3
4

NAME

6       lis_esolver_set_option - set the options for the eigensolver
7
8

SYNOPSIS

10       #include "lis.h"
11
12       LIS_INT lis_esolver_set_option(char *text, LIS_ESOLVER *esolver);
13
14

DESCRIPTION

16       Set the options for the eigensolver.
17
18

INPUT

20       text   The command line options
21
22

OUTPUT

24       esolver
25              The eigensolver
26
27

EXIT STATUS

29       The following exit values are returned:
30
31       0      The process is normally terminated
32
33       unspecified
34              An error occurred
35
36

NOTE

38       The  table  below  shows  the  available command line options, where -e
39       {pi|1} means -e pi or -e 1 and -emaxiter [1000] indicates  that  -emax‐
40       iter defaults to 1,000.
41
42

OPTIONS

44       The following options are supported:
45
46       -e eigensolver
47              The following options are supported for eigensolver:
48
49              -e {pi|1}
50                     Power
51
52              -e {ii|2}
53                     Inverse
54
55                     -i [bicg]
56                            The linear solver
57
58              -e {rqi|3}
59                     Rayleigh Quotient
60
61                     -i [bicg]
62                            The linear solver
63
64              -e {cg|4}
65                     CG
66
67                     -i [cg]
68                            The linear solver
69
70              -e {cr|5}
71                     CR
72
73                     -i [bicg]
74                            The linear solver
75
76              -e {si|6}
77                     Subspace
78
79                     -ss [1]
80                            The size of the subspace
81
82              -e {li|7}
83                     Lanczos
84
85                     -ss [1]
86                            The size of the subspace
87
88              -e {ai|8}
89                     Arnoldi
90
91                     -ss [1]
92                            The size of the subspace
93
94              -e {gpi|9}
95                     Generalized Power
96
97                     -i [bicg]
98                            The linear solver
99
100              -e {gii|10}
101                     Generalized Inverse
102
103                     -i [bicg]
104                            The linear solver
105
106              -e {grqi|11}
107                     Generalized Rayleigh Quotient
108
109                     -i [bicg]
110                            The linear solver
111
112              -e {gcg|12}
113                     Generalized CG
114
115                     -i [cg]
116                            The linear solver
117
118              -e {gcr|13}
119                     Generalized CR
120
121                     -i [bicg]
122                            The linear solver
123
124              -e {gsi|14}
125                     Generalized Subspace
126
127                     -ss [1]
128                            The size of the subspace
129
130              -e {gli|15}
131                     Generalized Lanczos
132
133                     -ss [1]
134                            The size of the subspace
135
136              -e {gai|16}
137                     Generalized Arnoldi
138
139                     -ss [1]
140                            The size of the subspace
141
142       -i linear solver
143              The following options are supported for inner linear solver:
144
145              -i {cg|1}
146                     CG
147
148              -i {bicg|2}
149                     BiCG
150
151              -i {cgs|3}
152                     CGS
153
154              -i {bicgstab|4}
155                     BiCGSTAB
156
157              -i {bicgstabl|5}
158                     BiCGSTAB(l)
159
160                     -ell [2]
161                            The degree l
162
163              -i {gpbicg|6}
164                     GPBiCG
165
166              -i {tfqmr|7}
167                     TFQMR
168
169              -i {orthomin|8}
170                     Orthomin(m)
171
172                     -restart [40]
173                            The restart value m
174
175              -i {gmres|9}
176                     GMRES(m)
177
178                     -restart [40]
179                            The restart value m
180
181              -i {jacobi|10}
182                     Jacobi
183
184              -i {gs|11}
185                     Gauss-Seidel
186
187              -i {sor|12}
188                     SOR
189
190                     -omega [1.9]
191                            The relaxation coefficient omega (0<omega<2)
192
193              -i {bicgsafe|13}
194                     BiCGSafe
195
196              -i {cr|14}
197                     CR
198
199              -i {bicr|15}
200                     BiCR
201
202              -i {crs|16}
203                     CRS
204
205              -i {bicrstab|17}
206                     BiCRSTAB
207
208              -i {gpbicr|18}
209                     GPBiCR
210
211              -i {bicrsafe|19}
212                     BiCRSafe
213
214              -i {fgmres|20}
215                     FGMRES(m)
216
217                     -restart [40]
218                            The restart value m
219
220              -i {idrs|21}
221                     IDR(s)
222
223                     -irestart [2]
224                            The restart value s
225
226              -i {idr1|22}
227                     IDR(1)
228
229              -i {minres|23}
230                     MINRES
231
232              -i {cocg|24}
233                     COCG
234
235              -i {cocr|25}
236                     COCR
237
238
239       -p preconditioner
240              The following options are supported for preconditioner:
241
242              -p {none|0}
243                     None
244
245              -p {jacobi|1}
246                     Jacobi
247
248              -p {ilu|2}
249                     ILU(k)
250
251                     -ilu_fill [0]
252                            The fill level k
253
254              -p {ssor|3}
255                     SSOR
256
257                     -ssor_omega [1.0]
258                            The relaxation coefficient omega (0<omega<2)
259
260              -p {hybrid|4}
261                     Hybrid
262
263                     -hybrid_i [sor]
264                            The linear solver
265
266                     -hybrid_maxiter [25]
267                            The maximum number of iterations
268
269                     -hybrid_tol [1.0e-3]
270                            The convergence criterion
271
272                     -hybrid_omega [1.5]
273                            The   relaxation  coefficient  omega  of  the  SOR
274                            (0<omega<2)
275
276                     -hybrid_ell [2]
277                            The degree l of the BiCGSTAB(l)
278
279                     -hybrid_restart [40]
280                            The restart values of the GMRES and Orthomin
281
282              -p {is|5}
283                     I+S
284
285                     -is_alpha [1.0]
286                            The parameter alpha of I+alpha*S(m)
287
288                     -is_m [3]
289                            The parameter m of I+alpha*S(m)
290
291              -p {sainv|6}
292                     SAINV
293
294                     -sainv_drop [0.05]
295                            The drop criterion
296
297              -p {saamg|7}
298                     SA-AMG
299
300                     -saamg_unsym [false]
301                            Select the unsymmetric version (The matrix  struc‐
302                            ture must be symmetric)
303
304                     -saamg_theta [0.05|0.12]
305                            The drop criterion
306
307              -p {iluc|8}
308                     Crout ILU
309
310                     -iluc_drop [0.05]
311                            The drop criterion
312
313                     -iluc_rate [5.0]
314                            The ration of maximum fill-in
315
316              -p {ilut|9}
317                     ILUT
318
319                     -ilut_drop [0.05]
320                            The drop criterion
321
322                     -ilut_rate [5.0]
323                            The ration of maximum fill-in
324
325              -adds true
326                     Additive Schwarz
327
328                     -adds_iter [1]
329                            The number of iteration
330
331       Other Options for eigensolver:
332
333       -emaxiter [1000]
334              The maximum number of iterations
335
336       -etol [1.0e-12]
337              The convergence criterion
338
339       -eprint [0]
340              The display of the residual
341
342              -eprint {none|0}
343                     None
344
345              -eprint {mem|1}
346                     Save the residual history
347
348              -eprint {out|2}
349                     Display the residual history
350
351              -eprint {all|3}
352                     Save the residual history and display it on the screen
353
354       -ie [ii]
355              The inner eigensolver used in Subspace, Lanczos, and Arnoldi
356
357       -ige [ii]
358              The  inner eigensolver used in Generalized Subspace, Generalized
359              Lanczos, and Generalized Arnoldi
360
361       -shift [0.0]
362              The amount of the shift
363
364       -initx_ones [true]
365              The behavior of the initial vector x_0
366
367              -initx_ones {false|0}
368                     Given values
369
370              -initx_ones {true|1}
371                     All values are set to 1
372
373       -omp_num_threads [t]
374              The number of  threads  (t  represents  the  maximum  number  of
375              threads)
376
377       -estorage [0]
378              The matrix storage format
379
380       -estorage_block [2]
381              The block size of the BSR and BSC formats
382
383       -ef [0]
384              The precision of the eigensolver
385
386              -ef {double|0}
387                     Double precision
388
389              -ef {quad|1}
390                     Double-double (quadruple) precision
391
392       Other options for inner linear solver:
393
394       -maxiter [1000]
395              The maximum number of iterations
396
397       -tol [1.0e-12]
398              The convergence criterion
399
400       -print [0]
401              The display of the residual
402
403              -print {none|0}
404                     None
405
406              -print {mem|1}
407                     Save the residual history
408
409              -print {out|2}
410                     Display the residual history
411
412              -print {all|3}
413                     Save the residual history and display it on the screen
414
415       -scale [0]
416              The scaling
417
418              -scale {none|0}
419                     No scaling
420
421              -scale {jacobi|1}
422                     The Jacobi scaling
423
424              -scale {symm_diag|2}
425                     The diagonal scaling
426
427       -initx_zeros [true]
428              The behavior of the initial vector x_0
429
430              -initx_zero {false|0}
431                     Given values
432
433              -initx_zero {true|1}
434                     All values are set to 0
435
436       -omp_num_threads [t]
437              The  number  of  threads  (t  represents  the  maximum number of
438              threads)
439
440       -storage [0]
441              The matrix storage format
442
443       -storage_block [2]
444              The block size of the BSR and BSC formats
445
446       -f [0] The precision of the linear solver
447
448              -f {double|0}
449                     Double precision
450
451              -f {quad|1}
452                     Double-double (quadruple) precision
453
454       See Lis User Guide for full description.
455
456

SEE ALSO

458       lis(3)
459
460       http://www.ssisc.org/lis/
461
462
463
464
465Man Page                          14 Sep 2017        lis_esolver_set_option(3)
Impressum