Opened 18 years ago

Closed 18 years ago

Last modified 16 years ago

#58 closed defect (fixed)

NAG compile error in fm

Reported by: Dave Offiler Owned by: Dave Offiler
Priority: normal Milestone:
Component: ropp_fm Version: 0.8
Keywords: Cc:

Description

In ropp_fm/refrac_1d/ropp_fm_refrac_1d_grad.f90, line 62:

use ropp_fm!, not_this => ropp_fm_refrac_1d_ecmwf_grad

ie the 'not this...' is commented out. This causes the NAG compiler to generate an error:

f95 -I../build -O3 -ieee=full -I/data/nwp1/grassaf/ropp/nag/include -c -o ropp_fm_refrac_1d_grad.o test -f '../refrac_1d/ropp_fm_refrac_1d_grad.f90' || echo './'../refrac_1d/ropp_fm_refrac_1d_grad.f90 Error: ../refrac_1d/ropp_fm_refrac_1d_grad.f90, line 62: USE ROPP_FM in program-unit ROPP_FM_REFRAC_1D_ECMWF_GRAD imports symbol ROPP_FM_REFRAC_1D_ECMWF_GRAD

detected at ROPP_FM@<end-of-statement>

Removing the comment '!' allows NAG to compile ropp_fm. Was this commented out to stop a problem with another compiler??

Change history (5)

comment:1 by Dave Offiler, 18 years ago

Component: ROPP (all)FM

comment:2 by Dave Offiler, 18 years ago

Owner: changed from marq to Dave Offiler
Version: 0.8

comment:3 by Dave Offiler, 18 years ago

Resolution: fixed
Status: newclosed

Removed extraneous comment. ropp_fm built successfully on all available Linux compilers (except GFortran which has a problem building ropp_io - see Ticket #66)

comment:4 by Dave Offiler, 18 years ago

Version: 0.8

comment:5 by (none), 16 years ago

Milestone: 0.9

Milestone 0.9 deleted

Note: See TracTickets for help on using tickets.