SCIENTIFIC-LINUX-USERS Archives

September 2007

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Christoph P. Kukulies" <[log in to unmask]>
Reply To:
Date:
Wed, 19 Sep 2007 21:05:02 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
I don't know whether my data point matters but I compiled your
code snippet under SL 4.3 with gcc 3.4.6 and it doesn't yield
any error message. Writes out numbers and exits normally.

$ g77 -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk
--host=i386-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-8)


On Wed, Sep 19, 2007 at 10:25:55AM -0500, Hendrik van Hees wrote:
> Thank you very much for all the responses. I think I didn't make the 
> problem clear. With the older version of gcc (I am using the fortran 
> compiler, g77)
> 
> gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)
> 
> the little code runs fine.
> 
> With the newer version, which is definitely in my installation of SL 5 
> (I use yum as a package manager),
> 
> gcc version 3.4.6 20060404 (Red Hat 3.4.6-4)
> 
> the same code does not work any more. Perhaps it helps, when I give the 
> relevant piece of code:
--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

ATOM RSS1 RSS2