[gmx-users] intel compiler + amd64: help needed.

David van der Spoel spoel at xray.bmc.uu.se
Wed May 31 21:06:56 CEST 2006


Jones de Andrade wrote:
> Hi all.

> Program received signal SIGSEGV, Segmentation fault.
> 0x00002aaaab15a88c in __find_specmb () from /lib64/tls/libc.so.6
> (gdb) where
> #0  0x00002aaaab15a88c in __find_specmb () from /lib64/tls/libc.so.6
> #1  0x00002aaaab140e6f in vfprintf () from /lib64/tls/libc.so.6
> #2  0x00002aaaab15e2a9 in vsprintf () from /lib64/tls/libc.so.6
> #3  0x00002aaaab149568 in sprintf () from /lib64/tls/libc.so.6
> #4  0x000000000040248b in mknb_code (format=0x40cd2e "s") at 
> mknb_metacode.c:282
> #5  0x0000000000401aaf in mknb_declare_real (name=0x7fffffffd0d0 
> "ix1,iy1,iz1,fix1,fiy1,fiz1") at mknb_metacode.c:104
> #6  0x0000000000403e62 in mknb_declare_variables () at 
> mknb_declarations.c:258
> #7  0x0000000000400fef in mknb_write_function () at mknb.c:154
> #8  0x00000000004017cf in main (argc=1, argv=0x7fffffffd628) at mknb.c:348
> 
> 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?



It shows where in the GROMACS code the error started (mknb_metacode.c 
282) and that the Intel compiler f*cked up the va_args. I suggest you 
compile the mknb program with gcc and the rest with icc.


> 
> David Mathog: thanks also. But, how could I fix that?
> 
> Thanks a lot for everything.
> 
> Jones
> 
> On 5/31/06, *David van der Spoel* <spoel at xray.bmc.uu.se 
> <mailto:spoel at xray.bmc.uu.se>> wrote:
> 
>     gdb> where
>     it will tell you the line in the mknb this was called from.
>     if you call a library function with garbage data it may crash there...
>     --
>     David.
>     ________________________________________________________________________
> 
>     David van der Spoel, PhD, Assoc. Prof., Molecular Biophysics group,
>     Dept. of Cell and Molecular Biology, Uppsala University.
>     Husargatan 3, Box 596,          75124 Uppsala, Sweden
>     phone:  46 18 471 4205          fax: 46 18 511 755
>     spoel at xray.bmc.uu.se
>     <mailto:spoel at xray.bmc.uu.se>    spoel at gromacs.org
>     <mailto:spoel at gromacs.org>   http://folding.bmc.uu.se
>     ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gmx-users mailing list    gmx-users at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> Please don't post (un)subscribe requests to the list. Use the 
> www interface or send it to gmx-users-request at gromacs.org.
> Can't post? Read http://www.gromacs.org/mailing_lists/users.php


-- 
David.
________________________________________________________________________
David van der Spoel, PhD, Assoc. Prof., Molecular Biophysics group,
Dept. of Cell and Molecular Biology, Uppsala University.
Husargatan 3, Box 596,  	75124 Uppsala, Sweden
phone:	46 18 471 4205		fax: 46 18 511 755
spoel at xray.bmc.uu.se	spoel at gromacs.org   http://folding.bmc.uu.se
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



More information about the gromacs.org_gmx-users mailing list