Skip to content

Commit 0efe1ce

Browse files
committed
fix: ignore XLA version compatibility warnings in Sella and Arkane runs
Added 'pjrt_executable.cc' to the list of ignorable phrases/keywords in both xTB adapter (for Sella runs) and Arkane runs. These warnings are harmless and were causing incorrect 'run failed' errors in CI.
1 parent dbcb6e8 commit 0efe1ce

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

arc/job/adapters/xtb_adapter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,8 @@ def opt_ts(self):
328328
'futurewarning:',
329329
'userwarning:',
330330
'deprecationwarning:',
331-
'warnings.warn('
331+
'warnings.warn(',
332+
'pjrt_executable.cc'
332333
]
333334
real_errors = []
334335
for line in stderr:

arc/statmech/arkane.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,8 @@ def run_arkane(statmech_dir: str) -> bool:
545545
ignorable_phrases = [
546546
"Open Babel Warning",
547547
"Accepted unusual valence",
548-
"=============================="
548+
"==============================",
549+
"pjrt_executable.cc",
549550
]
550551

551552
real_errors = []

0 commit comments

Comments
 (0)