[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 19990608: netcdf on linux with NAG Fortran compiler
- Subject: Re: 19990608: netcdf on linux with NAG Fortran compiler
- Date: Wed, 09 Jun 1999 08:40:50 -0600
Chris,
>Date: Tue, 08 Jun 1999 17:35:06 -0700 (PDT)
>From: "Christopher A. Edwards" <address@hidden>
>Organization: University of California
>To: Steve Emmerson <address@hidden>
>Subject: Re: 19990608: netcdf on linux with NAG compiler
>Keywords: 199906081845.MAA02543
In the above message, you wrote:
> I set my environment variables as you suggested and reran the steps in the
> INSTALL file. Unfortunately, I got the same trouble, with the same error
> messages.
>
> As for other compilers. I've now installed fort77, and have tried to
> compile
> the netcdf library, using
> CPPFLAGS=-Df2cFortran
> but I get the following error:
>
> Making `all' in directory /usr/local/netcdf-3.4/src/fortran
>
> make[2]: Entering directory `/usr/local/netcdf-3.4/src/fortran'
> cc -c -O -I../libsrc -Df2cFortran fort-attio.c
> In file included from fort-attio.c:6:
> ncfortran.h:27: NF_INT_IS_C_... not defined: No such file or directory
> make[2]: *** [fort-attio.o] Error 1
> make[2]: Leaving directory `/usr/local/netcdf-3.4/src/fortran'
> make[1]: *** [subdir_target] Error 1
> make[1]: Leaving directory `/usr/local/netcdf-3.4/src'
> make: *** [fortran/all] Error 2
>
> Perhaps this problem is easily fixed?
In order to diagnose the problem, would you please send me items C
through F mentioned near the end of the INSTALL file.
> And if I get this working using fort77,
> do you know if the nag f95 compiler will link to the library? That's our real
> need.
I'm sorry, but we don't have the NAG Fortran compiler on our Linux
system so I can't answer that question. Someone on the netcdfgroup
mailing-list might be able to, however.
> Do you have any preferences for f90 compilers on linux?
We use fort77 and g77.
--------
Steve Emmerson <http://www.unidata.ucar.edu>