Opened 6 months ago

Closed 6 months ago

#2370 closed Bug (fixed)

dev_r12072_MERGE_OPTION2_2019 does not compile with gcc

Reported by: smasson Owned by: mathiot
Priority: high Milestone:
Component: USR Version: release-4.2
Severity: minor Keywords:
Cc:

Description

Context

the model does not compile with gcc… :-(

Analysis

  • some variables are undefined :
src/OCE/TDE/tide_mod.F90
-   USE phycst, ONLY : rpi     ! pi
+   USE phycst, ONLY : rpi, rad, rday

src/OCE/ISF/isfcav.F90
-   USE phycst   , ONLY: grav,rau0,r1_rau0_rcp  ! physical constants
+   USE phycst   , ONLY: grav,rau0,rau0_rcp, r1_rau0_rcp

src/OCE/ISF/isfcpl.F90
+   USE domngb  , ONLY: dom_ngb          ! find the closest grid point from a given lon/lat position

  • one format is not accepted:
src/OCE/SBC/sbcblk.F90
-               IF (lwp) WRITE(numout,'("   Mean humidity value found on proc #",i5.5," is: ",f)') narea, ztmp
+               IF (lwp) WRITE(numout,'("   Mean humidity value found on proc #",i6.6," is: ",f10.5)') narea, ztmp

Sorry, I cannot access a ssh connexion. could you please do these commits?

Recommendation

=⇒ we must also use gcc in our sette tests… at least for compilation…

Commit History (1)

ChangesetAuthorTimeChangeLog
12342acc2020-01-28T11:10:01+01:00

Branch 2019/dev_r12072_MERGE_OPTION2_2019. Implement recommended changes to fix ticket #2370

Change History (3)

comment:1 Changed 6 months ago by mathiot

  • Owner changed from systeam to mathiot
  • Status changed from new to assigned

comment:2 Changed 6 months ago by acc

In 12342:

Branch 2019/dev_r12072_MERGE_OPTION2_2019. Implement recommended changes to fix ticket #2370

comment:3 Changed 6 months ago by acc

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