[gmx-users] RAM usage of gmx msd
johnwhittake at zedat.fu-berlin.de
Tue Sep 17 12:09:49 CEST 2019
> Hello everyone.
> I simulated a cell membrane and would like to calculate lateral
> diffusion of lipids. I tried this using the gmx msd command.
> Unfortunately this uses enormous amounts of RAM. The process runs
> without error until it is killed by the operating system. No output file
> is created at that time.
> The membrane contains around 400 lipids and I simulated for 1100ns which
> is 220000 frames. The total size of the xtc file is around 150 GB. I use
> GROMACS 2016.4 with GPU support. The command I used was:
> gmx msd -s mdrun.tpr -f mdrun.xtc -n key_atoms.ndx -lateral z -o
> I found an old email that also mentions the high RAM usage of gmx msd
> but it didn't get a reply.
> I also tried reducing the RAM usage by creating a trajectory that only
> includes the key atoms. This attempt resulted in a segmentation fault.
> Here is what I tried:
> gmx trjconv -f mdrun.xtc -n key_atoms.ndx -o mdrun_key_atoms.xtc
> gmx convert-tpr -f mdrun.tpr -n key_atoms.ndx -o mdrun_key_atoms.tpr
> gmx msd -s mdrun_key_atoms.tpr -f mdrun_key_atoms.xtc -n key_atoms.ndx
> -lateral z -o lateraal_diffusion.xvg
How big is the "mdrun_key_atoms.xtc" trajectory? It's possible that this
file is still too large for the amount of RAM available on your machine.
Are you able to break this trajectory down into smaller chunks that are
more manageable? You could also use the -skip or -dt options of gmx
trjconv in order to write only every "n" frames.
Hope this helps,
> I'm grateful for any suggestion.
> Best regards
> Martin Kern
> Gromacs Users mailing list
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send
> a mail to gmx-users-request at gromacs.org.
More information about the gromacs.org_gmx-users