impi_rt: make mpivars.deactivate.sh safe under set -e #152
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.35) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 174 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.309
Real PR Conversation Timeline
1 comments
"Review active on #152"
general
weight: 0.35
david-cortes-intel
Follow-up to #151 (which added the missing
libfabricdependency).Problem. In
impi_rt2021.19.0,etc/conda/deactivate.d/mpivars.deactivate.shruns `FIP=which fi_info. 2021.19 no longer shipsfi_info, so that command fails. conda sources the activation hooks into the same shell as other packages' post-link scripts, so underset -ethe failure aborts the whole install. For example,conda create -n t -c conda-forge gdk-pixbuf impi_rtfails withpost-link script failed for package gdk-pixbufand works withimpi_rt=2021.18. #151 doesn't fix this, becausefi_infois inlibfabric-bin, notlibfabric.Changes
(impi_rt only) patches the deactivate hook:-
which fi_infobecomes$(command -v fi_info 2>/dev/null || true);
Test: source the activate + deactivate hooks under bash -e- the build fails if the original line is still present, so a changed upstream script can't silently skip the patch.
.
linux impi impi_dstbuildnum1 → 2 (build 563).impi_rt-2021.19.0-hd2095e1_561Checked locally on the hooks extracted from
: activate + deactivate underbash --posix -ereturns 1 on the original and 0 after the patch. The guard returns 1 when thewhich fi_info` line doesn't match.This is a stopgap until Intel fixes the script upstream.
🤖 Generated with Claude Code