Opened 7 weeks ago

Last modified 7 weeks ago

#2548 new Bug

DOMAINcfg does not compile with key_agrif

Reported by: malmans Owned by: systeam
Priority: low Milestone:
Component: tools Version: trunk
Severity: minor Keywords: DOMAINcfg, tools, agrif,



DOMAINcfg in the trunk does not compile on MOBILIS when key_agrif is in cpp_DOMAINcfg.fcm


HPC architecture: arch/NOC/arch-X64_MOBILIS.fcm


trunk/tools/DOMAINcfg/BLD/ppsrc/nemo/agrif_user.f90(1043): error #6633: The type of the actual argument differs from the type of the dummy argument.   [LONGITUDE_LINEAR_INTERP]
      CALL Agrif_Set_external_linear_interp(longitude_linear_interp)
compilation aborted for trunk/tools/DOMAINcfg/BLD/ppsrc/nemo/agrif_user.f90 (code 1)


In DOMAINcfg/src/agrif_user.F90, replace

EXTERNAL :: longitude_linear_interp


REAL, EXTERNAL :: longitude_linear_interp

Commit History (0)

(No commits)

Change History (1)

comment:1 Changed 7 weeks ago by jamesharle

Similar experience using the UK ARCHER machine.

Although the previous error that Mattia described is only reported as a warning, the code falls over a little later on with:

agrif_user.f90(390): error #5508: Declaration of routine 'SUB_LOOP_AGRIF_DECLARE_VAR' conflicts with a previous declaration
      subroutine Sub_Loop_agrif_declare_var(npt_connect,npt_copy,bottom_&
compilation aborted

by implementing Mattia's solution compilation completes.

Note: See TracTickets for help on using tickets.