[gmx-users] g_energy doubt

Mark Abraham Mark.Abraham at anu.edu.au
Fri Jul 13 03:12:57 CEST 2007


Eduardo Martins Lopes wrote:
> Greetings all,
> 
> I have this doubt about using g_energy to extract the
> box-x and box-y data from the energy.edr.
> 
> The command i used is g_energy -f MDenergy.edr -ort
> orienttime.xvg -ora orientave.xvg and when i am
> prompted to choose wich data i want to retrieve, i
> type "Box-X Box-Y" and nothing seems to happen, the
> program keep flashing the prompt as if i havent
> inserted any data.
> 
> My question is if i have to type something more (i
> also tried using comma and tried to retrieve only one
> data at a time...same problem).
> 
> Thanks in advance.

The code is using scanf (or equivalent), and you need to press enter at 
least once in order for it to parse the input.

Mark



More information about the gromacs.org_gmx-users mailing list