Opened 5 years ago

Closed 5 years ago

#1571 closed Bug (fixed)

AGRIF demonstrator doesn't compile with stopar.F90

Reported by: timgraham Owned by: nemo
Priority: low Milestone:
Component: OCE Version: release-3.6
Severity: Keywords:
Cc:

Description

The AGRIF demonstrator in SETTE is failing to compile with the following error message:

"/home/cr/ocean/hadtd/data/trunk_for_cron/NEMOGCM/CONFIG/ORCA2AGUL_1_2/BLD/ppsrc/nemo/stopar.f90", line 769.46: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
"/home/cr/ocean/hadtd/data/trunk_for_cron/NEMOGCM/CONFIG/ORCA2AGUL_1_2/BLD/ppsrc/nemo/stopar.f90", line 783.46: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
** stopar   === End of Compilation 1 ===
1501-511  Compilation failed for file stopar.f90.

Line 769 of the file after conv preprocessing is:

         sto2d_fac(jsto) = sto_par_flt_fac ( sto2d_flt(jsto) )

and line 783 is

         sto3d_fac(jsto) = sto_par_flt_fac ( sto3d_flt(jsto) )

Any thoughts? Has anyone else compiled this recently?

Commit History (0)

(No commits)

Change History (2)

comment:1 Changed 5 years ago by timgraham

Discussion of this accidentally got moved to #1395.

I've committed this fix at r5570 in nemo_3.6_stable and 5571 in the trunk. I'm still having some problems running AGRIF but this appears to be due to undefined variables in dia_obs.

To summarise the changes:
The definition of the sto_par_flt_fac function was changed from:

REAL(wp) FUNCTION sto_par_flt_fac( kpasses )

to

FUNCTION sto_par_flt_fac( kpasses )
REAL(wp) :: sto_par_flt_fac

comment:2 Changed 5 years ago by timgraham

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.