Skip to content

Commit

Permalink
Merge pull request #6 from daangeijs/development
Browse files Browse the repository at this point in the history
Fix for log output
  • Loading branch information
daangeijs authored Dec 7, 2023
2 parents 27c9f31 + 2afe89f commit 8606968
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
setup(
author='Daan Geijs',
name='slurmjob',
version='0.3.0',
version='0.3.1',
packages=find_packages(),
install_requires=requirements,
entry_points={
Expand Down
2 changes: 1 addition & 1 deletion slurmjob/run_interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def setup_ssh_and_submit_job(settings, job_name, sbatch_args):
machine_name = get_machine_attached_to_job(ssh, job_id, settings['machine_prefix'])
print(f"Job {job_id} is running on {machine_name}")

log_file = Path(settings['log_location']) / Path(f"slurm-{job_id}.out")
log_file = PurePosixPath(settings['log_location']) / Path(f"slurm-{job_id}.out")
ssh_config_pattern = re.compile(r"Started SSH on port (\d+)")

pattern_found_event = threading.Event()
Expand Down

0 comments on commit 8606968

Please sign in to comment.