New URL for NEMO forge!

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
#2548 (DOMAINcfg does not compile with key_agrif) – NEMO

Opened 3 years ago

Closed 3 years ago

#2548 closed Bug (fixed)

DOMAINcfg does not compile with key_agrif

Reported by: malmans Owned by: systeam
Priority: low Milestone:
Component: AGRIF 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 (1)


#2548, Mattia's fix to compile DOMAINcfg with key_agrif

Change History (4)

comment:1 Changed 3 years 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.

comment:2 Changed 3 years ago by jchanut

  • Component changed from tools to AGRIF

comment:3 Changed 3 years ago by jchanut

In 14606:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found

comment:4 Changed 3 years ago by jchanut

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