#1573 closed Bug (fixed)
NEMO-AGRIF compilation with recent version of gfortran
Reported by: | rblod | Owned by: | nemo |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | AGRIF | Version: | v3.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)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
5574 | rblod | 2015-07-09T12:38:43+02:00 | Fix ticket #1573 for nemo_v3_6_STABLE |
5573 | rblod | 2015-07-09T12:38:34+02:00 | Fix ticket #1573 for the trunk |
Change History (3)
comment:1 Changed 9 years ago by rblod
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 8 years ago by nicolasmartin
- Keywords fortran added; gfortran removed
Done at revision r5574 and r5573