[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 19990609: netcdf on linux with NAG Fortran compiler



Chris,

>Date: Wed, 09 Jun 1999 12:15:29 -0700 (PDT)
>From: "Christopher A. Edwards" <address@hidden>
>Organization: University of California, Berkeley
>To: Steve Emmerson <address@hidden>
>Subject: Re: 19990609: netcdf on linux with NAG Fortran compiler
>Keywords: 199906081845.MAA02543

In the above message, you wrote:

> sub.c and main.f compiled and linked ok, but when I ran them, I got a
> segmentation fault:
> 
> bay:testfort77>./main
> Segmentation fault
> 
> Perhaps my fort77 is not installed correctly.  I downloaded the rpm, but
> perhaps there's an issue with fort77 and redhat 6.  I'll look into it, but if
> you have any other helpful information, please feel free.  Many thanks.

I can only say that /usr/bin/fort77 works on our Linux system:

    $ uname -a
    Linux sunshine.unidata.ucar.edu 2.2.6 #1 SMP Tue Apr 20 15:18:28 MDT 1999 
i686 unknown
    $ /usr/bin/fort77 -v
    /usr/bin/fort77: fort77 Version 1.14a
    $ /usr/bin/cc -v
    Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/specs
    gcc version 2.7.2.3

Good luck.

--------
Steve Emmerson   <http://www.unidata.ucar.edu>