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

[UDUNITS #AAI-259957]: Unable to compile readGeneral.F



Ashwin,

We're not responsible for file "readGeneral.F".

This previous inquiry on the same topic might help:

    
https://andy.unidata.ucar.edu/esupport/staff/index.php?_m=tickets&_a=viewticket&ticketid=20890&highlight=--+Mixed+--&ticketsearchid=5120

> I am trying to compile this file -
> http://www.esrl.noaa.gov/psd/data/gridded/readgeneral.F
> 
> I am getting these errors -
> http://www.esrl.noaa.gov/psd/data/gridded/readgeneral.F
> 
> Any suggestions would be appreciated.
> Regards,
> Ashwin.
> 
> gfortran -g -c -O2 -fcheck=bounds readgeneral.F -I/usr/local/include
> Warning: /usr/local/include/udunits.inc:25: Illegal preprocessor directive
> Warning: /usr/local/include/udunits.inc:25: Illegal preprocessor directive
> Warning: /usr/local/include/udunits.inc:25: Illegal preprocessor directive
> Warning: /usr/local/include/udunits.inc:25: Illegal preprocessor directive
> /usr/local/include/udunits.inc:33:6:
> 
> UD_POINTER utmake
> 1
> Error: Unclassifiable statement at (1)
> readgeneral.F:183:26:
> 
> integer UTMAKE,UTDEC,uttime
> 1
> Error: Symbol âutdecâ at (1) already has basic type of INTEGER
> /usr/local/include/udunits.inc:33:6:
> 
> UD_POINTER utmake
> 1
> Error: Unclassifiable statement at (1)
> readgeneral.F:382:21:
> 
> integer UTDEC    ! Declare the functions.
> 1
> Error: Symbol âutdecâ at (1) already has basic type of INTEGER
> readgeneral.F:383:26: Error: Symbol âuticaltimeâ at (1) already has basic
> type of INTEGER
> /usr/local/include/udunits.inc:33:6:
> 
> UD_POINTER utmake
> 1
> Error: Unclassifiable statement at (1)
> readgeneral.F:792:26:
> 
> integer UTMAKE,UTDEC,utcaltime
> 1
> Error: Symbol âutdecâ at (1) already has basic type of INTEGER
> /usr/local/include/udunits.inc:33:6:
> 
> UD_POINTER utmake
> 1
> Error: Unclassifiable statement at (1)
> gfortran -o readgeneral readgeneral.o  -L/usr/local/lib -lnetcdff
> -L/usr/local/lib -lnetcdf -lnetcdf
> gfortran: error: readgeneral.o: No such file or directory
> ERROR: compilation of <tool> failed... exit
> http://www.esrl.noaa.gov/psd/data/gridded/readgeneral.F

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: AAI-259957
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.



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.