Hi David.<br>
<br>
Thanks a lot. But almost there. first, coulsave is already n &quot;int&quot; type variable:<br>
<br>
int vdwsave,coulsave,read_from_mem,write_to_mem; (line 294)<br>
<br>
So, the change from:<br>
<br>
mknb_func.coul=coulsave;<br>
mknb_func.vdw=vdwsave;<br><br>
To:<br>
<br>
mknb_func.coul=(int)coulsave;<br>

mknb_func.vdw=(int)vdwsave;<br>
<br>
Was pointless, and unfortunatelly yelded the same crash.
Unfortunatelly, fortran addicted (seems that its more than time to try
a few other things, tastes and sensations out...), so I don't know how
to write the new declaration line.<br>
<br>
Just in advance: if I search in the file for the coulsave, I found those two lines AND the following:<br>
<br>
coulsave=mknb_func.coul;<br>
vdwsave=mknb_func.vdw;<br>
<br>
Am I wrong, or does it means that coulsave is used as both (if yes, how
hell someone could compile it in first place? :P and even get extra
performance!) as we fear?<br>
<br>
Thanks a lot in advance for everything.<br>
<br>
Jones<br>
<br><div><span class="gmail_quote">On 5/31/06, <b class="gmail_sendername">David Mathog</b> &lt;<a href="mailto:mathog@caltech.edu">mathog@caltech.edu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>&gt; mknb_innerloop.c(362): warning #188: enumerated type mixed with<br>another type<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
mknb_func.coul=coulsave;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
^<br><br>I don't have the most recent source code on my machine,<br>but the way around this may be to use an explicit cast.<br>Assuming that coulsave is the enumerated type and mknob_func.coul<br>is an int then:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mknb_func.coul = (int) coulsave;
<br><br>will probably shut the compiler up.&nbsp;&nbsp;If mknb_func.coul is<br>enumerated and coulsave is an int you will probably have<br>to change the type of coulsave to the same enumerated type<br>wherever it is declared.&nbsp;&nbsp;Hopefully the code doesn't use coulsave
<br>as both an int and an enumerated type, if it does the compiler<br>will probably let you know :-).<br><br>Regards,<br><br>David Mathog<br><a href="mailto:mathog@caltech.edu">mathog@caltech.edu</a><br>Manager, Sequence Analysis Facility, Biology Division, Caltech
<br>
</blockquote></div><br>