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

[GEMPAK #KLY-940660]: Gempak gfortran43 and 'D' character

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [GEMPAK #KLY-940660]: Gempak gfortran43 and 'D' character
  • Date: Tue, 06 Apr 2010 14:58:20 -0600

Hi Neil,

Quite surprised I've never seen this error before, but it appears that your 
version of gfortran doesn't recognize 'd' or 'D' line comments by default.  

The solution is either to replace the 'D' with a 'C' in 
$NAWIPS/extlibs/NDFD/mdlg2dec/timpr.f and $NAWIPS/extlibs/NDFD/mdlg2enc/timpr.f

-OR-

add -fd-lines-as-comments to FOPT in your Makeinc.freebsd file

Michael James
Unidata



> Building gempak 5.11.4 (Feb release) on FreeBSD 7.2 R x86-64
> 
> gcc 4.3 and gfortran 4.3
> 
> make stops in timpr.f where gfortran43 finds a 'D' in the statement
> label column.
> 
> compile options are
> 
> FOPT =  -fno-second-underscore $(GEMINC) # -g
> 
> Is something else needed?
> Makeinc.freebsd and make.out attached.
> 
> -Neil
> --
> Neil R. Smith, Comp. Sys. Mngr. address@hidden
> Atmospheric Sciences, Texas A&M Univ. 979/845-6272
> --
> 
> 


Ticket Details
===================
Ticket ID: KLY-940660
Department: Support GEMPAK
Priority: Normal
Status: Open