From 7a292bc4c614f9205e195ce3a2022d9cd12803ce Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Tue, 25 Aug 2026 18:46:18 -0400 Subject: [PATCH] Slate compile fix --- systems/Frontier/config-command | 4 +++- systems/Frontier/sourceme-rocm7.2.sh | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/systems/Frontier/config-command b/systems/Frontier/config-command index 0f7cb10be..6ed3fc3d6 100644 --- a/systems/Frontier/config-command +++ b/systems/Frontier/config-command @@ -2,7 +2,9 @@ CLIME=`spack find --paths c-lime@2-3-9 | grep c-lime| cut -c 15-` ../../configure --enable-comms=mpi-auto \ --with-lime=$CLIME \ ---with-slate=$OLCF_SLATE_ROOT \ +--with-slate=$SLATE \ +--with-blaspp=$BLASPP \ +--with-lapackpp=$LAPACKPP \ --enable-unified=no \ --enable-shm=nvlink \ --enable-tracing=roctx \ diff --git a/systems/Frontier/sourceme-rocm7.2.sh b/systems/Frontier/sourceme-rocm7.2.sh index cb8eab352..2701c15e0 100644 --- a/systems/Frontier/sourceme-rocm7.2.sh +++ b/systems/Frontier/sourceme-rocm7.2.sh @@ -1,8 +1,8 @@ +module unload slate 2>/dev/null echo spack . /autofs/nccs-svm1_home1/paboyle/spack-frontier/share/spack/setup-env.sh - export SLATE=`spack find --paths slate | grep ^slate | awk '{print $2}' ` export BLASPP=`spack find --paths blaspp | grep ^blaspp | awk '{print $2}' ` export LAPACKPP=`spack find --paths lapackpp | grep ^lapackpp | awk '{print $2}' ` @@ -24,6 +24,8 @@ module load cce/21.0.0 module load cpe/26.03 module load rocm/7.2.0 export LD_LIBRARY_PATH=/opt/rocm-7.2.0/lib/llvm/lib/:$LD_LIBRARY_PATH +export LD_LIBRARY_PATH=$LAPACKPP/lib64:$LD_LIBRARY_PATH +export LD_LIBRARY_PATH=$BLASPP/lib64:$LD_LIBRARY_PATH +export LD_LIBRARY_PATH=$SLATE/lib64:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CRAY_LD_LIBRARY_PATH -module load slate module load emacs