[gmx-users] Out of memory error for g_density and trjconv
Wheeler S.R.
sophia.wheeler at soton.ac.uk
Fri Jan 15 17:24:57 CET 2016
I've run an atomistic simulation of 2048 DOPC and 65,536 waters; so ~500,000 atoms in total. I'd like to produce an electron density plot of the bilayer so I tried to use g_density but immediately got the error message:
Fatal error:
Not enough memory. Failed to calloc -1082130432 elements of size 4 for grps[j].nm_ind (called from file /local/software/gromacs/5.0.4/source/gromacs-5.0.4/src/gromacs/fileio/tpxio.c, line 2510)
As I get the same message even if I try to analyse the last frame of the trajectory (using the -b flag), I assume the problem is the number of atoms rather than the length of the trajectory. However I'm not sure how to proceed given that I also get the same error message immediately if I try to use trjconv to, for example, strip the waters out of the trajectory.
I have a couple of questions:
1) Does the error message mean that it requires 1082130432 * 4bytes (ie ~4.5GB)? If so,I'm confused why I get this message even when I'm running on a node that has 8GB per processor (256GB for a whole 32 processor node)? How much memory is it asking for?
2) Is there any way of stripping down this trajectory (other than trjconv!) as it currently stands in order to get round the memory issue or is it just a case that these simulations are effectively wasted because I can't analyse them?
Thanks
More information about the gromacs.org_gmx-users
mailing list