Hi all.<br>

<br>

Sorry for answering twice, but I tried a bit more with the debuggers
and, despite not finding how to fix what I'm doing wrong, I could get
some extra information:<br>

<br>

Using &quot;idb&quot;:<br>

<br>

Intel(R) Debugger for Intel(R) EM64T -based Applications, Version 9.0-16, Build 20051121<br>

(idb) load ./mknb<br>

Reading symbolic information from /home/johannes/src/gromacs/gromacs-3.3/src/gmxlib/nonbonded/nb_kernel/mknb...done<br>
(idb) run<br>
&gt;&gt;&gt; Gromacs nonbonded kernel generator (-h for help)<br>
&gt;&gt;&gt; Generating single precision functions in C.<br>
Thread received signal SEGV<br>
stopped at [&lt;opaque&gt; __find_specmb(...) 0x00002aaaab15a88c]<br>
<br>
Information:&nbsp; An &lt;opaque&gt; type was presented during
execution of the previous command.&nbsp; For complete type information
on this symbol, recompilation of the program will be necessary.&nbsp;
Consult the compiler man pages for details on producing full symbol
table information.<br><br>
And using &quot;idb -gdb&quot;:<br>
<br>
Intel(R) Debugger for Intel(R) EM64T -based Applications, Version 9.0-16, Build 20051121<br>
(idb) file ./mknb<br>
Reading symbols from /home/johannes/src/gromacs/gromacs-3.3/src/gmxlib/nonbonded/nb_kernel/mknb...done.<br>
(idb) run<br>
Starting program: /home/johannes/src/gromacs/gromacs-3.3/src/gmxlib/nonbonded/nb_kernel/mknb<br>
&gt;&gt;&gt; Gromacs nonbonded kernel generator (-h for help)<br>
&gt;&gt;&gt; Generating single precision functions in C.<br>
Program received signal SIGSEGV<br>
__find_specmb () in /lib64/tls/libc.so.6<br>
<br>
Now, using &quot;gdb, file, run, where&quot;, as suggested, I get:<br>
<br>
GNU gdb 6.3<br>
Copyright 2004 Free Software Foundation, Inc.<br>
GDB is free software, covered by the GNU General Public License, and you are<br>
welcome to change it and/or distribute copies of it under certain conditions.<br>
Type &quot;show copying&quot; to see the conditions.<br>
There is absolutely no warranty for GDB.&nbsp; Type &quot;show warranty&quot; for details.<br>
This GDB was configured as &quot;x86_64-suse-linux&quot;.<br>
(gdb) file ./mknb<br>
Reading symbols from /home/johannes/src/gromacs/gromacs-3.3/src/gmxlib/nonbonded/nb_kernel/mknb...done.<br>
Using host libthread_db library &quot;/lib64/tls/libthread_db.so.1&quot;.<br>
(gdb) run<br>
Starting program: /home/johannes/src/gromacs/gromacs-3.3/src/gmxlib/nonbonded/nb_kernel/mknb<br>
&gt;&gt;&gt; Gromacs nonbonded kernel generator (-h for help)<br>
&gt;&gt;&gt; Generating single precision functions in C.<br>
<br>
Program received signal SIGSEGV, Segmentation fault.<br>
0x00002aaaab15a88c in __find_specmb () from /lib64/tls/libc.so.6<br>
(gdb) where<br>
#0&nbsp; 0x00002aaaab15a88c in __find_specmb () from /lib64/tls/libc.so.6<br>
#1&nbsp; 0x00002aaaab140e6f in vfprintf () from /lib64/tls/libc.so.6<br>
#2&nbsp; 0x00002aaaab15e2a9 in vsprintf () from /lib64/tls/libc.so.6<br>
#3&nbsp; 0x00002aaaab149568 in sprintf () from /lib64/tls/libc.so.6<br>
#4&nbsp; 0x000000000040248b in mknb_code (format=0x40cd2e &quot;s&quot;) at mknb_metacode.c:282<br>
#5&nbsp; 0x0000000000401aaf in mknb_declare_real (name=0x7fffffffd0d0 &quot;ix1,iy1,iz1,fix1,fiy1,fiz1&quot;) at mknb_metacode.c:104<br>
#6&nbsp; 0x0000000000403e62 in mknb_declare_variables () at mknb_declarations.c:258<br>
#7&nbsp; 0x0000000000400fef in mknb_write_function () at mknb.c:154<br>
#8&nbsp; 0x00000000004017cf in main (argc=1, argv=0x7fffffffd628) at mknb.c:348<br>
<br>Well, what does this kind of stuff means? It worries about the libc
4 times, but also about the other files. :( What shall I look at?<br>
<br>
David Mathog: thanks also. But, how could I fix that?<br>
<br>
Thanks a lot for everything.<br>
<br>
Jones<br><br><div><span class="gmail_quote">On 5/31/06, <b class="gmail_sendername">David van der Spoel</b> &lt;<a href="mailto:spoel@xray.bmc.uu.se">spoel@xray.bmc.uu.se</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;">
gdb&gt; where<br>it will tell you the line in the mknb this was called from.<br>if you call a library function with garbage data it may crash there...<br>--<br>David.<br>________________________________________________________________________
<br>David van der Spoel, PhD, Assoc. Prof., Molecular Biophysics group,<br>Dept. of Cell and Molecular Biology, Uppsala University.<br>Husargatan 3, Box 596,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;75124 Uppsala, Sweden<br>phone:&nbsp;&nbsp;46 18 471 4205&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fax: 46 18 511 755
<br><a href="mailto:spoel@xray.bmc.uu.se">spoel@xray.bmc.uu.se</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:spoel@gromacs.org">spoel@gromacs.org</a>&nbsp;&nbsp; <a href="http://folding.bmc.uu.se">http://folding.bmc.uu.se</a><br>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
<br>
</blockquote></div>