Thanks for Justin and Mark their answers.<br><br>I ran gmxcheck and gmxdump which returned the same error message. Below I show my command lines and the each error message.<br><br>I would like to know if what I&#39;m doing is the better way to obtain the potential energy of system (protein). I&#39;m asking it because my PhD project is develop an evolutionary algorithm using Gromacs to compute the energy of system.<br>
<br>Thanks any help.<br><br>Below there are the execution of gmxcheck and gmxdump programs when they read my energy file:<br><br>1) gmxdump -e energy.edr<br>-------------------------------------------------------<br>Program gmxdump, VERSION 4.5.3<br>
Source code file: /home/faccioli/gromacs-4.5.3/src/gmxlib/enxio.c, line: 772<br><br>Fatal error:<br>Energy file energy.edr not recognized, maybe different CPU?<br>For more information and tips for troubleshooting, please check the GROMACS<br>
website at <a href="http://www.gromacs.org/Documentation/Errors">http://www.gromacs.org/Documentation/Errors</a><br>-------------------------------------------------------<br><br>2) gmxcheck -e energy.edr<br>-------------------------------------------------------<br>
Program gmxcheck, VERSION 4.5.3<br>Source code file: /home/faccioli/gromacs-4.5.3/src/gmxlib/enxio.c, line: 772<br><br>Fatal error:<br>Energy file energy.edr not recognized, maybe different CPU?<br>For more information and tips for troubleshooting, please check the GROMACS<br>
website at <a href="http://www.gromacs.org/Documentation/Errors">http://www.gromacs.org/Documentation/Errors</a><br>-------------------------------------------------------<br><br><br clear="all">--<br>Rodrigo Antonio Faccioli<br>
Ph.D Student in Electrical Engineering<br>University of Sao Paulo - USP<br>Engineering School of Sao Carlos - EESC<br>Department of Electrical Engineering - SEL<br>Intelligent System in Structure Bioinformatics<br><a href="http://laips.sel.eesc.usp.br">http://laips.sel.eesc.usp.br</a><br>
Phone: 55 (16) 3373-9366 Ext 229<br>Curriculum Lattes - <a href="http://lattes.cnpq.br/1025157978990218">http://lattes.cnpq.br/1025157978990218</a><br>Public Profile - <a href="http://br.linkedin.com/pub/rodrigo-faccioli/7/589/a5">http://br.linkedin.com/pub/rodrigo-faccioli/7/589/a5</a><br>

<br><br><div class="gmail_quote">On Fri, Jan 14, 2011 at 12:05 AM, Mark Abraham <span dir="ltr">&lt;<a href="mailto:Mark.Abraham@anu.edu.au">Mark.Abraham@anu.edu.au</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On 14/01/2011 12:12 PM, Rodrigo Faccioli wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
I have an error when try to execute the g_energy program. I&#39;m using Gromacs 4.5.3 version. My Operation System is Ubuntu 9.10.<br>
<br>
Firstly, my apology if my question is basic, but I&#39;m a computer scientist trying to understand the Gromacs concepts for simulation.<br>
<br>
My error message appears when I execute the command line: echo &#39;-e&#39; &#39;10&#39; | /usr/local/bin/./g_energy -f /home/faccioli/Execute/EESC_AE/1BDD/energy.edr -o /home/faccioli/Execute/EESC_AE/1BDD/energy.xvg<br>

-------------------------------------------------------<br>
Program g_energy, VERSION 4.5.3<br>
Source code file: /home/faccioli/gromacs-4.5.3/src/gmxlib/enxio.c, line: 772<br>
<br>
Fatal error:<br>
Energy file /home/faccioli/Execute/EESC_AE/1BDD/energy.edr not recognized, maybe different CPU?<br>
For more information and tips for troubleshooting, please check the GROMACS<br>
website at <a href="http://www.gromacs.org/Documentation/Errors" target="_blank">http://www.gromacs.org/Documentation/Errors</a><br>
------------------------------------------------------<br>
</blockquote>
<br></div>
Does the .edr file have non-zero size? What does gmxcheck have to say about it? Does the output of gmxdump show that it has plausible data?<br><font color="#888888">
<br>
Mark</font><div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
In [1] contains all files which I used in  my simulation including the energy file (energy.edr) and all commands which I ran (_run_gromacs.txt). The error message appears when try to execute the 2.pdb file. The others (0.pdb and 1.pdb ) I can get the energy value. These pdb files were build using my implementation of Nerf algorithm [2] which converts dihedral angles to Cartesian coordinates.<br>

<br>
I looked at line 772  of gmxlib/enxio.c file. However, I didn&#39;t understand to fix my problem. I understood my file is not empty, but it is corrupted.  So, I couldn&#39;t understand how can it is corrupted.<br>
<br>
[1] <a href="http://dl.dropbox.com/u/4270818/compute_energy.zip" target="_blank">http://dl.dropbox.com/u/4270818/compute_energy.zip</a><br>
[2] <a href="http://www.ncbi.nlm.nih.gov/pubmed/15898109" target="_blank">http://www.ncbi.nlm.nih.gov/pubmed/15898109</a><br>
<br>
I thanks any help.<br>
<br>
--<br>
Rodrigo Antonio Faccioli<br>
Ph.D Student in Electrical Engineering<br>
University of Sao Paulo - USP<br>
Engineering School of Sao Carlos - EESC<br>
Department of Electrical Engineering - SEL<br>
Intelligent System in Structure Bioinformatics<br>
<a href="http://laips.sel.eesc.usp.br" target="_blank">http://laips.sel.eesc.usp.br</a><br>
Phone: 55 (16) 3373-9366 Ext 229<br>
Curriculum Lattes - <a href="http://lattes.cnpq.br/1025157978990218" target="_blank">http://lattes.cnpq.br/1025157978990218</a><br>
Public Profile - <a href="http://br.linkedin.com/pub/rodrigo-faccioli/7/589/a5" target="_blank">http://br.linkedin.com/pub/rodrigo-faccioli/7/589/a5</a><br>
</blockquote>
<br></div><div><div></div><div class="h5">
-- <br>
gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org" target="_blank">gmx-users@gromacs.org</a><br>
<a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br>
Please don&#39;t post (un)subscribe requests to the list. Use the www interface or send it to <a href="mailto:gmx-users-request@gromacs.org" target="_blank">gmx-users-request@gromacs.org</a>.<br>
Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br>
</div></div></blockquote></div><br>