Skip to content

Commit c507dda

Browse files
committed
fix
Signed-off-by: oliver könig <okoenig@nvidia.com>
1 parent d197943 commit c507dda

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nemo_run/core/execution/templates/ft_launcher_dgxc.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ if [ -n "$FAULT_TOL_JOB_RESULTS_FILE" ]; then
5555
# We update the specific entry for this host from X to S or F
5656
# Note: 'sed -i' on a shared PVC can be risky with concurrency.
5757
# Appending a new status line is safer in K8s.
58+
mkdir -p "$(dirname "$FAULT_TOL_JOB_RESULTS_FILE")"
59+
5860
echo "$(hostname) $(date +%s) $RESULT_STATUS" >> "$FAULT_TOL_JOB_RESULTS_FILE"
5961
fi
6062

0 commit comments

Comments
 (0)