We can add more entries to the lookup. The stack below looks incomplete. Which routine is calling PetscTableCreateHashSize() with this big size?
Satish ------- $ git diff diff --git a/src/sys/utils/ctable.c b/src/sys/utils/ctable.c index cd64284..761a2c6 100644 --- a/src/sys/utils/ctable.c +++ b/src/sys/utils/ctable.c @@ -25,6 +25,7 @@ static PetscErrorCode PetscTableCreateHashSize(PetscInt sz, PetscInt *hsz) else if (sz < 819200) *hsz = 1193557; else if (sz < 1638400) *hsz = 2297059; else if (sz < 3276800) *hsz = 4902383; + else if (sz < 6553600) *hsz = 9179113; else SETERRQ1(PETSC_COMM_SELF,PETSC_ERR_ARG_OUTOFRANGE,"A really huge hash is being requested.. cannot process: %D",sz); PetscFunctionReturn(0); } On Mon, 9 Jan 2017, Kong, Fande wrote: > Hi All, > > Hash size is set manually according to the number of expected keys in the > function PetscTableCreateHashSize(). Any reason to restrict the > ``n"<3276800? > > One user here encountered an issue because of this restriction. The > messages are as follows: > > [3]PETSC ERROR: --------------------- Error Message > -------------------------------------------------------------- > > [3]PETSC ERROR: Argument out of range > > [3]PETSC ERROR: A really huge hash is being requested.. cannot process: > 3497472 > > [3]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for > trouble shooting. > > [3]PETSC ERROR: Petsc Release Version 3.7.4, unknown > > [3]PETSC ERROR: /home/schuseba/projects/64_bit_builds/yak/yak-opt on a > linux-gnu-c-opt named r3i3n0 by schuseba Fri Jan 6 23:15:37 2017 > > [3]PETSC ERROR: Configure options --download-hypre=1 --with-ssl=0 > --with-debugging=no --with-pic=1 --with-shared-libraries=1 > --with-64-bit-indices=1 --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90 > --download-metis=1 --download-parmetis=1 --download-fblaslapack=1 > --download-superlu_dist=1 -CC=mpicc -CXX=mpicxx -FC=mpif90 -F77=mpif77 > -F90=mpif90 -CFLAGS="-fPIC -fopenmp" -CXXFLAGS="-fPIC -fopenmp" > -FFLAGS="-fPIC -fopenmp" -FCFLAGS="-fPIC -fopenmp" -F90FLAGS="-fPIC > -fopenmp" -F77FLAGS="-fPIC -fopenmp" > > [3]PETSC ERROR: #1 PetscTableCreateHashSize() line 28 in > /home/schuseba/projects/64_bit_builds/petsc/src/sys/utils/ctable.c > > > > > > Fande, >