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

[UDUNITS #RSQ-889375]: Installation Problems



Chris,

> Timeindex is a subroutine (several layers down from the main read
> routine) I got from the web site to read the netcdf files using fortran.
> The example read routines are in file readgeneral.f. This is the exact
> file I got from the web site. I stripped off all the subroutines and put
> them in the file called readutils.f, which I link to my driver routine.
> The only changes I made to readutils.f was changes to directory paths to
> include files, etc. It runs perfectly on 32-bit but crashes on 64-bit.

I'm not anywhere close to a "readgeneral.f" expert (so you might have
to contact the owners of that file) but I suspect that the problem is
statements like this


      integer*4 unitptr

in the file "readutils.f".  I suspect that one has to use 8-byte
integers in order to hold the pointer-to-unit-structures returned
by the UDUNITS package, i.e., the above statement should, instead,
be

      integer*8 unitptr

You might try that.

> ------------------------------------------------------------------------
> Dr. Christopher J. Mertens
> Senior Research Scientist
> NASA Langley Research Center
> Science Directorate, Chemistry and Dynamics Branch
> 21 Langley Blvd., Mail Stop 401B
> Hampton, Virginia 23681-2199 USA
> Voice: +1-757-864-2179
> Fax: +1-757-864-6326
> Email: address@hidden
> ------------------------------------------------------------------------

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: RSQ-889375
Department: Support UDUNITS
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.