failed to allocate memory for 'P'

From: Holly Trowland <>
Date: Fri, 29 Jan 2010 17:50:27 +1100

Hello Gadgeters

I am trying to make a DM only simulation with 512^3 particles in a
100Mpc box. I am running it with mpi over 8 nodes, 4 processors per node
and the processors are 2GB.
The parameters I have that are relevant to the memory usage are:
PartAllocFactor 1.6
TreeAllocFactor 0.8
BufferSize 100

But Gadget gives me the message,

failed to allocate memory for `P' (921.6 MB).
task 10: endrun called with an error level of 1

I don't know why it can't allocate this memory or what it is spending
all the memory on, how can I fix this problem?


Holly Trowland
PhD candidate
Sydney Institute for Astronomy, 
School of Physics, 
The University of Sydney, 
NSW 2006, Australia 
+61 2 935 12546
Received on 2010-01-29 07:50:33

This archive was generated by hypermail 2.3.0 : 2022-09-01 14:03:42 CEST