HF1D: Insufficient scratch space


Clicked A Few Times
Hi,

I've run in to a recurrent error from these forums but can't seem to find a solution anywhere.

On running a system with a large number of BQs I'm presented with the following error:
HF1D:  Insufficient scratch space.
needed 21780392
allocated 20000000
ALPHAp: 1
IPAIRp: 33
Ep  : 65
R0  : 10817
IJK  : 11713
R0C  : 11929
P  : 21774873
RS  : 21774921
PC  : 21774937
ff  : 21774985
Rj  : 21775017

No matter what I change the memory setting in my input too, the "allocated" setting does not change. I also recompiled with LARGE_FILES=TRUE with no luck, and also tried direct calculations, just to try and decipher if it was a specific HDD or memory problem. Still the same message appears with the same values.

Can someone provide a sensible solution for increasing this "allocated" variable so I can run the calculation?

Many thanks!

Andy

Forum Vet
Andy
Could you please send me the input file?

Clicked A Few Times
Should anyone else get stuck with this, the solution to my problem was the changes suggested below by Edo:

On 13/05/16 00:22, Apra, Edoardo wrote:
> Andy
> This is the patch you need to apply
>
> $ svn diff -r28225:28226
> Index: NWints/api/exactd_mem.F
> =================================================================== > --- NWints/api/exactd_mem.F (revision 28225)
> +++ NWints/api/exactd_mem.F (revision 28226)
> @@ -238,7 +238,7 @@
> ket_gen = 1
> endif
> c
> - memdum = 20 000 000
> + memdum = 60 000 000
> nint = int_unint(brain,ibc,ketin,ikc,0,0,0,0)
> call hf1d(
> & dbl_mb(mb_exndcf(1,1)), dbl_mb(mb_exndcf(1,1)),


Forum >> NWChem's corner >> Running NWChem