On Mon, 16 Aug 1999, Tom Goulet wrote:
> > Have you tried to run sprime? (is mprime but linked with static
> > libraries). I've got some problems in an old machine with an old linux
> > and sprime ran well. In my machine, sprime runs a bit fast than mprime!.
> 
> Actually, yes.  sprime and mprime and mprime-specific-for-redhat-6.0 all
> act identically.  I blame something to do with ld, my install is rather
>From my memory of the start of this thread, the behaviour is immediate
segfaults, is this right?

I've seen this on a machine with 16MB ram and no swap.
After checking the code I think I found the reason.  [ms]prime
preallocates 16MB memory, even if it doesn't use it all.  This will cause
the program to fail badly if the memory's not available.
The cure was to add enough swap to appease the initial allocation, which
is then never used, so the swap space isn't really used.
I think I used 10MB swap:)

The machine was one I put together after I did a quick inventory of all
the bits and pieces I had left from all my updates of my primary machine,
and found that the only thing actually missing for it to be a complere
computer was the screen:)

> ragged. Take a look at this:
> 
> [tomg@nova ~/gimps]$ file mprime
> mprime: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked (uses 
>shared libs), not stripped
> [tomg@nova ~/gimps]$ ldd mprime
>         not a dynamic executable
> 
> I get the same file and mprime results for mprime, sprime and mprime-rh6
> (except file properly determines that sprime is statically linked).  I doubt
> this is a mersenne problem, just something to do with the way my ld is
> misbehaving.
> 
> TomG
> _________________________________________________________________
> Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
> Mersenne Prime FAQ      -- http://www.tasam.com/~lrwiman/FAQ-mers
> 

-- 
Henrik Olsen,  Dawn Solutions I/S       URL=http://www.iaeste.dk/~henrik/
Orson Welles: Rosebud. (dies)
Reporter: What does it mean?
Everybody Else: We don't know.
                                 Citizen Kane, the Movie-A-Minute version


_________________________________________________________________
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ      -- http://www.tasam.com/~lrwiman/FAQ-mers

Reply via email to