Skip to content

Commit 97470a1

Browse files
committed
hostname
1 parent d15d3f4 commit 97470a1

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ calculators which return a 3x3 matrix for stress will break. One can modify
1717
ASE source for this as ASIMTools can't go into the calculator code.
1818
- asim_check now also reports the job_ids
1919
- get_atoms now allows addition of FixAtoms constraint
20+
- output.yaml now includes hostname
2021

2122
### Changed
2223
- VASP interface changed to align more with pymatgen

asimtools/scripts/asim_run.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import importlib
99
import sys
1010
import os
11+
import socket
1112
from pathlib import Path
1213
import argparse
1314
import subprocess
@@ -165,6 +166,8 @@ def main(args=None) -> None:
165166
job_ids = os.getenv('SLURM_JOB_ID')
166167
results['job_ids'] = job_ids
167168

169+
results['hostname'] = socket.gethostname()
170+
168171
job.update_output(results)
169172
job.complete()
170173

0 commit comments

Comments
 (0)