#include "petscvec.h" int VecSetStashInitialSize(Vec vec,int size,int bsize)Collective on Vec
vec | - the vector | |
size | - the initial size of the stash. | |
bsize | - the initial size of the block-stash(if used). |
-vecstash_initial_size <size> or <size0,size1,...sizep | - 1> | |
-vecstash_block_initial_size <bsize> or <bsize0,bsize1,...bsizep | - 1> |
Run with the option -log_info and look for output of the form VecAssemblyBegin_MPIXXX:Stash has MM entries, uses nn mallocs. to determine the appropriate value, MM, to use for size and VecAssemblyBegin_MPIXXX:Block-Stash has BMM entries, uses nn mallocs. to determine the value, BMM to use for bsize
Level:intermediate
Location:src/vec/interface/vector.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages