Opened 2 years ago

Closed 18 months 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 2 years ago by nicolasmartin

In 9445:

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

comment:2 Changed 2 years ago by nicolasmartin

  • Version changed from release-3.6 to trunk

Currently, the head of XIOS trunk fails to compile with PGI.

I will wait the resolution to apply the same fix.

comment:3 Changed 2 years ago by clevy

  • Status changed from new to assigned

comment:4 Changed 18 months ago by nicolasmartin

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

In 10586:

Apply bugfix for PGI compilation of AGRIF, close #2072

Note: See TracTickets for help on using tickets.