Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#1573 closed Bug (fixed)

NEMO-AGRIF compilation with recent version of gfortran

Reported by: rblod Owned by: nemo
Priority: low Milestone:
Component: AGRIF Version: release-3.6
Severity: Keywords: compilation fortran
Cc:

Description

Compilation failed with recent version of gfortran (4.9 vor me) for routines Agrif_InitWorkspace.f90 and SubLoop_Agrif_InvLoc.f90 (in file agrif_user.F90). It was also reported by Xavier Couvelard a while ago.
The conv automatically insert USE Agrif_Utils in the routines but their interface is defined in agri2model.F, which is itself used by agrif_utils. This is not supported anymore by gfortran.
A quick fix is to modify the source of the conv to have a specific treatment for these 2 routines. It shouldn't affect people not having the problem with other compilers. Note that this fix will not be needed anymore as soon as we merge the AGRIF branch.

Commit History (2)

ChangesetAuthorTimeChangeLog
5574rblod2015-07-09T12:38:43+02:00

Fix ticket #1573 for nemo_v3_6_STABLE

5573rblod2015-07-09T12:38:34+02:00

Fix ticket #1573 for the trunk

Change History (3)

comment:1 Changed 5 years ago by rblod

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

Done at revision r5574 and r5573

comment:2 Changed 4 years ago by nicolasmartin

  • Keywords fortran added; gfortran removed

comment:3 Changed 4 years ago by nicolasmartin

  • Milestone AGRIF deleted

Milestone AGRIF deleted

Note: See TracTickets for help on using tickets.