Skip to content

Commit

Permalink
More debug messages for windows command prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
langmm committed Jul 15, 2024
1 parent 9365eb7 commit 5302f20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions yggdrasil/drivers/ModelDriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -1070,9 +1070,11 @@ def mpi_init(self):
files for the 'init' condition."""
if self.locked_file is None:
self.locked_file = self.products.root
self.debug(f"Before create_file_lock: {self.locked_file}")
if self.locked_file:
self.create_file_lock(self.locked_file,
conditions=('init', 'cleanup'))
self.debug(f"Before send_mpi filelocks ({self._mpi_rank})")
if self._mpi_rank > 0:
self.send_mpi(self.file_locks.message,
tag=self._mpi_tags['FILELOCKS'])
Expand Down

0 comments on commit 5302f20

Please sign in to comment.