Skip to content

Commit

Permalink
More logging for nmpi_saga
Browse files Browse the repository at this point in the history
  • Loading branch information
apdavison committed Jan 24, 2024
1 parent 5117ae5 commit 1c18907
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nmpi/nmpi_saga.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ def __init__(self, config):
platform=config["PLATFORM_NAME"],
verify=config.get("VERIFY_SSL", True),
)
logger.info(f"JobRunner config: {config}")

def next(self):
"""
Expand Down Expand Up @@ -528,7 +529,9 @@ def _handle_output_data(self, nmpi_job, saga_job):


def main():
config = load_config(os.environ.get("NMPI_CONFIG", os.path.join(os.getcwd(), "nmpi.cfg")))
config_file = os.environ.get("NMPI_CONFIG", os.path.join(os.getcwd(), "nmpi.cfg"))
logger.info(f"Loading config from {config_file}")
config = load_config(config_file)
runner = JobRunner(config)
try:
jobs = runner.next()
Expand Down

0 comments on commit 1c18907

Please sign in to comment.