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

David van der Spoel spoel at xray.bmc.uu.se
Wed May 31 20:08:17 CEST 2006


Jones de Andrade wrote:
> Hi David.
> 
> Well, here is what it yelds:
> 
> GNU gdb 6.3
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain 
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "x86_64-suse-linux"...Using host libthread_db 
> library "/lib64/tls/libthread_db.so.1".
> 
> (gdb) run
> Starting program: 
> /home/johannes/src/gromacs/gromacs-3.3/src/gmxlib/nonbonded/nb_kernel/mknb
>  >>> Gromacs nonbonded kernel generator (-h for help)
>  >>> Generating single precision functions in C.
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x00002aaaab15a88c in __find_specmb () from /lib64/tls/libc.so.6
> 
> Looks like greek to me. Speacially because it says the problem is on an 
> official library, instead of the code.
> 
> Does it rings any bell to someone? :)

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...

> 
> Thanks in advance,
> 
> Jones
> 
> On 5/31/06, *David van der Spoel* <spoel at xray.bmc.uu.se 
> <mailto:spoel at xray.bmc.uu.se>> wrote:
> 
>     The mknb_func.coul is of another type (a subset of int) there you can
>     give its value to an integer, but not necessarily the other way around.
>     I find it very unlikely that this would crash the program. But since you
>     now have a version compiled with -g you can debug it.
>     Run gdb mknb
>     gdb> run
>     and see where it crashes
> 
> 
>     --
>     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