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.
#2370 (dev_r12072_MERGE_OPTION2_2019 does not compile with gcc) – NEMO

Opened 4 years ago

Closed 4 years ago

Last modified 2 years 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: trunk
Severity: minor Keywords: v4.2
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 (4)

comment:1 Changed 4 years ago by mathiot

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

comment:2 Changed 4 years ago by acc

In 12342:

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

comment:3 Changed 4 years ago by acc

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

comment:4 Changed 2 years ago by nemo

  • Keywords v4.2 added
Note: See TracTickets for help on using tickets.