-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add spack.yaml file and environment setup script for Gilgamesh
- Loading branch information
Showing
2 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
echo "purging loaded modules" | ||
module purge | ||
echo "listing loaded modules:" | ||
module list | ||
#echo "loading llvm and mpich:" | ||
echo "loading llvm and gcc:" | ||
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# export SALT_ROOT=/storage/packages/salt-fm | ||
# export PATH=$SALT_ROOT/base/tools/bin:$PATH | ||
# module use /storage/packages/salt-fm/spack/share/spack/modules/linux-rhel8-x86_64 | ||
# module use /storage/packages/salt-fm/spack/share/spack/modules/linux-centos7-x86_64/ | ||
|
||
spack: | ||
view: false | ||
|
||
concretizer: | ||
reuse: false | ||
unify: true | ||
|
||
packages: | ||
all: | ||
require: "target=x86_64 %gcc" | ||
|
||
modules: | ||
default: | ||
enable: | ||
- tcl | ||
tcl: | ||
projections: | ||
all: '{name}/{version}' | ||
verbose: true | ||
all: | ||
autoload: direct | ||
environment: | ||
set: | ||
'{name}_ROOT': '{PREFIX}' | ||
|
||
compilers: | ||
- compiler: | ||
spec: gcc@=14.2.0 | ||
paths: | ||
cc: /storage/packages/salt-fm/spack/opt/spack/linux-centos7-x86_64/gcc-10.2.1/gcc-14.2.0-ttkqi3sp7xwrxtwftfysf54cl4jje4qk/bin/gcc | ||
cxx: /storage/packages/salt-fm/spack/opt/spack/linux-centos7-x86_64/gcc-10.2.1/gcc-14.2.0-ttkqi3sp7xwrxtwftfysf54cl4jje4qk/bin/g++ | ||
f77: /storage/packages/salt-fm/spack/opt/spack/linux-centos7-x86_64/gcc-10.2.1/gcc-14.2.0-ttkqi3sp7xwrxtwftfysf54cl4jje4qk/bin/gfortran | ||
fc: /storage/packages/salt-fm/spack/opt/spack/linux-centos7-x86_64/gcc-10.2.1/gcc-14.2.0-ttkqi3sp7xwrxtwftfysf54cl4jje4qk/bin/gfortran | ||
flags: {} | ||
operating_system: rhel8 | ||
target: x86_64 | ||
modules: [] | ||
environment: {} | ||
extra_rpaths: [] | ||
|
||
specs: | ||
- [email protected]=19.1.4 +flang +mlir openmp=project | ||
# - tau@master%[email protected]~adios2+binutils~comm~craycnl~cuda~disable-no-pie~dyninst+elf+fortran~gasnet+io~level_zero+libdwarf+libunwind+mpi~ompt~opari~opencl+openmp+otf2+papi+pdt~phase~ppc64le~profileparam+pthreads~python~rocm~rocprofiler~rocprofv2~roctracer~scorep~shmem~sqlite~syscall~x86_64 build_system=generic arch=linux-rhel8-x86_64 | ||
- tau@master +mpi +openmp cflags=-Wno-error=implicit-function-declaration | ||
- mpich ~wrapperrpath |