Daniel, > I am using ifort on a Ubuntu 8.04 LTS system. I compiled udunits-1.12.9 > successfully, but am getting the following error during run time. > --- > udunits(3): syntax error: > 0.01 > ^ > udunits(3): Couldn't decode "percent" definition "0.01" > udunits(3): Error occurred at line 34 > udunits(3): Couldn't read units-file "/var/local/udunits/etc/udunits.dat" > udunits(3): Package hasn't been initialized > Error in udunits function: UTDEC > Udunits package has not been initialized > > NOTE: You must call netop_init to use gridread, > gridreadx, dayread, and dayreadx > --- > I have attached the udunits that is on the system. I did compare this to > the one from > > http://www.unidata.ucar.edu/software/udunits/udunits-1/udunits.txt > > and they are identical. I just upgraded to Ubuntu/ ifort from mandrake/ > pgi compilers where this code I am trying to run worked very well. Does > this error have anything to do with the ifort compiler? The problem is, very likely, caused by the change in Fortran compilers. Did you compile the UDUNITS package on the Ubuntu 8.04 system with the C macro "pgiFortran" defined? > Thanks very much for your help, > > Daniel. Regards, Steve Emmerson Ticket Details =================== Ticket ID: NDS-204592 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.