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

20010808: building "-i8" Fortran interface



Sue,

>Date: Wed, 8 Aug 2001 17:15:03 +1000
>From: "Xue (Sue) YANG" <address@hidden>
>Organization: Australian Bureau of Meterology
>To: "Steve Emmerson" <address@hidden>
>Subject: RE: 20010716: building "-r8" Fortran interface
>Keywords: 200107061719.f66HJK123471

The above message contained the following:

> Thanks for your email and suggestions.  With compiling option -r8, the new
> created netcdf libraries do work well for our system.  Sorry I am late to
> inform you (I just came back from my two weeks holidays).  My further
> question is that in our system, all the integer variables
> are also defined as 64 bits size ( 8 bytes, by compiling), can we use the
> the IRIX Fortran compile with the "-i8" option to build netcdf libraries so
> that ...VAR_INT routines can be called to access NF_INT
> data?

I'm sorry, but no. Using the "-i8" option of the IRIX /bin/f77 compiler
results in Fortran-77 integers that have no corresponding type in C;
thus, there's no way that the C library can convert the values into a
compatible Fortran type.

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