New URL for NEMO forge!   http://forge.nemo-ocean.eu

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 4 years ago

Closed 4 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,
Cc:

Description

Context

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

Analysis

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

Error:

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)

Fix

In DOMAINcfg/src/agrif_user.F90, replace

EXTERNAL :: longitude_linear_interp

with

REAL, EXTERNAL :: longitude_linear_interp

Commit History (1)

ChangesetAuthorTimeChangeLog
14606jchanut2021-03-09T18:12:30+01:00

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

Change History (4)

comment:1 Changed 4 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 4 years ago by jchanut

  • Component changed from tools to AGRIF

comment:3 Changed 4 years ago by jchanut

In 14606:

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

comment:4 Changed 4 years ago by jchanut

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