Re: OT: C programs and architectures (use on Fedora)

2013-11-03 Thread Michael Schwendt
On Sat, 2 Nov 2013 20:41:03 -0500, Ranjan Maitra wrote: > ==29284== Process terminating with default action of signal 11 (SIGSEGV) > ==29284== Access not within mapped region at address 0x1 > ==29284==at 0x36CFC48E29: vfprintf (in /usr/lib64/libc-2.17.so) You may need to check carefully that

Re: OT: C programs and architectures (use on Fedora)

2013-11-02 Thread David G . Miller
Mihai T. Lazarescu gmail.com> writes: > > On Sat, Nov 02, 2013 at 05:55:37PM -0500, Ranjan Maitra wrote: > > > Hi, > > > > I have obtained a set of open-source programs from > > > > http://petertoft.dk/PhD/Recon2D.tar.gz > > > > uncompressed, etc, and it all goes through fine. > > > > Whe

Re: OT: C programs and architectures (use on Fedora)

2013-11-02 Thread Mihai T. Lazarescu
On Sat, Nov 02, 2013 at 05:55:37PM -0500, Ranjan Maitra wrote: > Hi, > > I have obtained a set of open-source programs from > > http://petertoft.dk/PhD/Recon2D.tar.gz > > uncompressed, etc, and it all goes through fine. > > When I compile, the programs work fine on my old 32-bit machine > (r

Re: OT: C programs and architectures (use on Fedora)

2013-11-02 Thread Fred Smith
On Sat, Nov 02, 2013 at 08:41:03PM -0500, Ranjan Maitra wrote: > On Sat, 2 Nov 2013 20:19:48 -0400 Fred Smith > Sorry, I was not clear: I did not change the floats to doubles. Also, I > forgot to add that the program segfaults at a printf statement. I am > not understanding what the problem is at

Re: OT: C programs and architectures (use on Fedora)

2013-11-02 Thread Ranjan Maitra
On Sat, 2 Nov 2013 20:19:48 -0400 Fred Smith wrote: > On Sat, Nov 02, 2013 at 05:55:37PM -0500, Ranjan Maitra wrote: > > Hi, > > > > I have obtained a set of open-source programs from > > > > http://petertoft.dk/PhD/Recon2D.tar.gz > > > > uncompressed, etc, and it all goes through fine. > >

Re: OT: C programs and architectures (use on Fedora)

2013-11-02 Thread Fred Smith
On Sat, Nov 02, 2013 at 05:55:37PM -0500, Ranjan Maitra wrote: > Hi, > > I have obtained a set of open-source programs from > > http://petertoft.dk/PhD/Recon2D.tar.gz > > uncompressed, etc, and it all goes through fine. > > When I compile, the programs work fine on my old 32-bit machine > (re

OT: C programs and architectures (use on Fedora)

2013-11-02 Thread Ranjan Maitra
Hi, I have obtained a set of open-source programs from http://petertoft.dk/PhD/Recon2D.tar.gz uncompressed, etc, and it all goes through fine. When I compile, the programs work fine on my old 32-bit machine (results make sense), however there is a segmentation fault on my 64-bit laptop. I co