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.
#2072 (PGI fails in AGRIF compilation) – NEMO

Opened 6 years ago

Closed 5 years ago

#2072 closed Bug (fixed)

PGI fails in AGRIF compilation

Reported by: nicolasmartin Owned by: nicolasmartin
Priority: low Milestone:
Component: AGRIF Version: trunk
Severity: minor Keywords: PGI, compilation,
Cc:

Description

Context

Build an AGRIF configuration with pgfortran stops at modlinktomodel routine

PGF90-S-0034-Syntax error at or near identifier def_proc (...: 59)
  0 inform,   0 warnings,   1 severes, 0 fatal for agrif_link

Analysis

PGI seems to complain about using 'type' string in subroutine name whereas 'type' is firstly a keyword.

Fix

Change subroutine name from 'typedef' by 'typdef' in AGRIF_FILES modlinktomodel and modutil routines

Commit History (2)

ChangesetAuthorTimeChangeLog
10586nicolasmartin2019-01-27T20:42:34+01:00

Apply bugfix for PGI compilation of AGRIF, close #2072

9445nicolasmartin2018-03-28T15:17:56+02:00

Fix for PGI compilation of AGRIF on 3.6, ref #2072

Change History (4)

comment:1 Changed 6 years ago by nicolasmartin

In 9445:

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

comment:2 Changed 6 years ago by nicolasmartin

  • Version changed from v3.6 to trunk

Currently, the head of [xios:source:/XIOS/trunk@1469 XIOS trunk] fails to compile with PGI.

I will wait the resolution to apply the same fix.

comment:3 Changed 6 years ago by clevy

  • Status changed from new to assigned

comment:4 Changed 5 years ago by nicolasmartin

  • Resolution set to fixed
  • Status changed from assigned to closed

In 10586:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found
Note: See TracTickets for help on using tickets.