Re: RE: [Scalex86 - linux] FW: segfaults in mm_malloc

From: \ (jonathan_at_ibt.unam.mx)
Date: Fri Jul 01 2005 - 11:40:25 CDT

Hello. I just checked your post on NAMD Wiki. I don't run NAMD on my box, but
some recurrently aborted runs and the message "Segmentation fault" is what I
used to get using CHARMM. I'm running Fedora 3 on x86_64 architecture and,
according to CHARMM users/developers, this is an issue with the way Fedora
handles memory.

The solution they came up with is to increase the maximum stack size. If you are
also using Fedora and run the command "ulimit -s" you will probably get a number
like 10240, so all you would have to do is set it to "unlimited" (or to a really
big number) with "ulimit -s unlimited" (or "ulimit -s some-big-number") before
running NAMD.

Hope this helps.

J. Valencia

Quoting Tim Sirianni <tim_at_scalemp.com>:

> Brian and Dave,
>
> Thanks for your replies.
>
> I understand what you're saying, but I fear it applies to
> 64-address-bit
> systems with 32-bit integers (e.g., Itanium). Since I'm running on an
> x86
> system where sizeof(void *) == sizeof(int), I don't think that missing
> prototypes could be the cause of this problem. Plus, I see the
> SIGSEGVs
> only occasionally - maybe one run in 3 fails.
>
> I've used both icc and gcc and see the problem with either compiler.
>
> Maybe I've misunderstood what you were trying to tell me, please correct
> me
> if so.
>
> Thanks,
> Tim

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 05:18:52 CST