Skip to content

Commit b714050

Browse files
sbryngelsonclaude
andcommitted
Use real copies instead of hardlinks and increase parallel builds to 3
Hardlinked source copies caused deterministic Cray compiler segfaults in optcg during IPA when compiling m_phase_change.fpp.f90 with OpenACC. Switching to real copies avoids inode sharing on Lustre that triggers the compiler bug. Also bump MAX_PARALLEL from 2 to 3. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f9e63af commit b714050

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/scripts/run_frontier_all_benchmarks.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ for cfg in "${configs[@]}"; do
4242
dir="${version}-${cluster}-${device}-${interface}"
4343
echo "Creating source copy: $dir from $version/"
4444
rm -rf "$dir"
45-
cp -al "$version" "$dir" 2>/dev/null || cp -r "$version" "$dir"
45+
cp -r "$version" "$dir"
4646
done
4747

4848
# --- Phase 2: Build all configs on login node in parallel ---
4949
# Avoid setuptools_scm git conflicts in hardlink copies (shared .git/index)
5050
export SETUPTOOLS_SCM_PRETEND_VERSION=0.0.0
5151

52-
MAX_PARALLEL=2
52+
MAX_PARALLEL=3
5353

5454
echo ""
5555
echo "=========================================="

.github/scripts/run_frontier_all_tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ for cfg in "${configs[@]}"; do
4747
dir="test-${cluster}-${device}-${interface}"
4848
echo "Creating source copy: $dir"
4949
rm -rf "$dir"
50-
rsync -a --link-dest="$(pwd)" $excludes ./ "$dir/"
50+
rsync -a $excludes ./ "$dir/"
5151
done
5252

5353
# --- Phase 2: Build all configs on login node in parallel ---
5454
# Avoid setuptools_scm git conflicts in hardlink copies (shared .git/index)
5555
export SETUPTOOLS_SCM_PRETEND_VERSION=0.0.0
5656

57-
MAX_PARALLEL=2
57+
MAX_PARALLEL=3
5858

5959
echo ""
6060
echo "=========================================="

0 commit comments

Comments
 (0)