Skip to content

Commit

Permalink
Update spack.yaml for gcc compiler & remove LD library hack
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeekman committed Dec 3, 2024
1 parent 7b3727e commit b52ecf3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
1 change: 0 additions & 1 deletion activate-salt-fm-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ module load llvm/git.086d8e6bb5daf8de43880ba90258c49e0fabf2c9_19.1.4-zpacv56
#module load mpich/4.2.3-ugxzfxf
module load gcc/14.2.0-ttkqi3s
#module load tau/master-l3jx42k
export LD_LIBRARY_PATH="/storage/packages/salt-fm/spack/opt/spack/linux-centos7-x86_64/gcc-10.2.1/gcc-14.2.0-ttkqi3sp7xwrxtwftfysf54cl4jje4qk/lib64:$LD_LIBRARY_PATH"
echo "listing loaded modules:"
module list
echo "Finished"
15 changes: 14 additions & 1 deletion spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spack:

packages:
all:
require: "target=x86_64 %gcc"
require: target=x86_64 %gcc

modules:
default:
Expand Down Expand Up @@ -42,6 +42,19 @@ spack:
modules: []
environment: {}
extra_rpaths: []
- compiler:
spec: clang@=19.1.5
paths:
cc: /storage/packages/salt-fm/spack/opt/spack/linux-rhel8-x86_64/gcc-14.2.0/llvm-git.086d8e6bb5daf8de43880ba90258c49e0fabf2c9_19.1.4-zpacv56yg4t4223ih6aqzzzrt3b3i4sg/bin/clang
cxx: /storage/packages/salt-fm/spack/opt/spack/linux-rhel8-x86_64/gcc-14.2.0/llvm-git.086d8e6bb5daf8de43880ba90258c49e0fabf2c9_19.1.4-zpacv56yg4t4223ih6aqzzzrt3b3i4sg/bin/clang++
f77: /storage/packages/salt-fm/spack/opt/spack/linux-rhel8-x86_64/gcc-14.2.0/llvm-git.086d8e6bb5daf8de43880ba90258c49e0fabf2c9_19.1.4-zpacv56yg4t4223ih6aqzzzrt3b3i4sg/bin/flang
fc: /storage/packages/salt-fm/spack/opt/spack/linux-rhel8-x86_64/gcc-14.2.0/llvm-git.086d8e6bb5daf8de43880ba90258c49e0fabf2c9_19.1.4-zpacv56yg4t4223ih6aqzzzrt3b3i4sg/bin/flang
flags: {}
operating_system: rhel8
target: x86_64
modules: []
environment: {}
extra_rpaths: []

specs:
- [email protected]=19.1.4 +flang +mlir openmp=project
Expand Down

0 comments on commit b52ecf3

Please sign in to comment.