Opened 4 months ago

Closed 4 months ago

#2592 closed Defect (fixed)

Model hangs if reading 2d tidal files to feed open boundary data

Reported by: jchanut Owned by: jchanut
Priority: low Milestone:
Component: BDY Version: trunk
Severity: minor Keywords: BDY, tides
Cc: Branch review: failed
MP ready?: no Task progress: Unspecified

Description

Context

Reading of tidal open boundary harmonics from 2d files in bdytides.F90 (e.g. ln_bdytide_2ddta=T)
(Issue reported by G. Reffray and E. O'Dea)

Analysis

Boundary data arrays are allocated only on processors that do contain an open boundary segment in their domain. Using an ASSOCIATED statement in bdytide_init, the code eventually open the 2d tidal harmonics file. It seems that opening a data file on a subset of the processor pool causes some synchronisation problems or so which makes the model hang.

Recommendation

(Pragmatic)

  • Open the tidal harmonics file and read on ALL processors.
  • Only fill open boundary data arrays if their allocated.


Commit History (2)

ChangesetAuthorTimeChangeLog
14169jchanut2020-12-14T19:32:36+01:00

#2592, ensure all processors read 2d tidal data

14168jchanut2020-12-14T19:32:04+01:00

#2592, ensure all processors read 2d tidal data

Change History (3)

comment:1 Changed 4 months ago by jchanut

In 14168:

#2592, ensure all processors read 2d tidal data

comment:2 Changed 4 months ago by jchanut

In 14169:

#2592, ensure all processors read 2d tidal data

comment:3 Changed 4 months ago by jchanut

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