Skip to content

Commit

Permalink
More debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
langmm committed Jul 15, 2024
1 parent 7b72ede commit 7134ea3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion yggdrasil/drivers/ModelDriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ def mpi_partner_process_requests(cls, self, expected):
def mpi_init(self):
r"""Context that initializes the MPI state of the model and locks
files for the 'init' condition."""
self.debug("Begin mpi_init")
self.debug(f"Begin mpi_init: {self.locked_file}")
if self.locked_file is None:
self.locked_file = self.products.root
self.debug(f"Before create_file_lock: {self.locked_file}")
Expand Down
1 change: 1 addition & 0 deletions yggdrasil/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -2381,6 +2381,7 @@ def products(self):
def root(self):
r"""str: Root directory containing all products in the set."""
out = None
logger.info(f"Looking for root:\n{pprint.pformat(self.products)}")
for k in self.products:
if not (k and os.path.isabs(k)):
continue
Expand Down

0 comments on commit 7134ea3

Please sign in to comment.