-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
40 additions
and
44 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 |
---|---|---|
@@ -1,6 +1,2 @@ | ||
config: | ||
suppress_gpg_warnings: true | ||
# This is needed to be able to use [email protected] | ||
# or earlier as of v0.18.0 | ||
deprecated: true | ||
|
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 |
---|---|---|
|
@@ -15,35 +15,35 @@ cd ~/spack || exit | |
. share/spack/setup-env.sh | ||
spack config add "config:suppress_gpg_warnings:true" | ||
|
||
example basics/source-setup ". share/spack/setup-env.sh" | ||
example basics/source-setup ". share/spack/setup-env.sh" | ||
|
||
# spack list | ||
example basics/list "spack list" | ||
example basics/list-py "spack list 'py-*'" | ||
|
||
# spack install | ||
example basics/zlib "spack install zlib" | ||
example basics/gmake "spack install gmake" | ||
|
||
example basics/mirror "spack mirror add tutorial /mirror" | ||
example basics/mirror "spack buildcache keys --install --trust" | ||
|
||
example basics/zlib-clang "spack install zlib %clang" | ||
example basics/gmake-clang "spack install gmake %clang" | ||
|
||
example basics/versions-zlib "spack versions zlib" | ||
example basics/zlib-1.2.8 "spack install [email protected]" | ||
example basics/zlib-gcc-10.4.0 "spack install zlib %gcc@10" | ||
example basics/versions-gmake "spack versions gmake" | ||
example basics/gmake-4.3 "spack install [email protected]" | ||
example basics/gmake-gcc-10 "spack install gmake %gcc@10" | ||
|
||
example basics/zlib-O3 "spack install [email protected] cflags=-O3" | ||
example basics/gmake-O3 "spack install [email protected] cflags=-O3" | ||
|
||
example basics/find "spack find" | ||
example basics/find-lf "spack find -lf" | ||
|
||
example basics/tcl "spack install tcl" | ||
|
||
example basics/tcl-zlib-clang "spack install tcl ^[email protected] %clang" | ||
example basics/tcl-gmake-clang "spack install tcl ^[email protected] %clang" | ||
|
||
zlib_hash=$(spack find --format "{hash:3}" zlib cflags=-O3) | ||
example basics/tcl-zlib-hash "spack install tcl ^/${zlib_hash}" | ||
gmake_hash=$(spack find --format "{hash:3}" gmake cflags=-O3) | ||
example basics/tcl-gmake-hash "spack install tcl ^/${gmake_hash}" | ||
|
||
example basics/find-ldf "spack find -ldf" | ||
|
||
|
@@ -66,15 +66,15 @@ example basics/graph-trilinos "spack graph trilinos" | |
|
||
example basics/find-d-tcl "spack find -d tcl" | ||
|
||
example basics/find-zlib "spack find zlib" | ||
example basics/find-gmake "spack find gmake" | ||
|
||
example basics/uninstall-zlib "spack uninstall -y zlib %gcc@10" | ||
example basics/uninstall-gmake "spack uninstall -y gmake %gcc@10" | ||
|
||
example basics/find-lf-zlib "spack find -lf zlib" | ||
example basics/find-lf-gmake "spack find -lf gmake" | ||
|
||
zlib_hash="$(spack find --format '{hash:3}' [email protected] %clang)" | ||
example --expect-error basics/uninstall-needed "spack uninstall zlib/$zlib_hash" | ||
example basics/uninstall-r-needed "spack uninstall -y -R zlib/$zlib_hash" | ||
gmake_hash="$(spack find --format '{hash:3}' [email protected] %clang)" | ||
example --expect-error basics/uninstall-needed "spack uninstall gmake/$gmake_hash" | ||
example basics/uninstall-r-needed "spack uninstall -y -R gmake/$gmake_hash" | ||
|
||
example --expect-error basics/uninstall-ambiguous "spack uninstall trilinos" | ||
|
||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
|
@@ -10,12 +10,12 @@ rm -rf "${raw_outputs:?}/environments" | |
# In the basics section a bunch of packages were already installed, | ||
# they are referenced here. Reinstall them so we can generate outputs | ||
# independently. | ||
spack install zlib \ | ||
zlib %clang \ | ||
[email protected] \ | ||
[email protected] cflags=-O3 \ | ||
spack install gmake \ | ||
gmake %clang \ | ||
[email protected] \ | ||
[email protected] cflags=-O3 \ | ||
tcl \ | ||
tcl ^zlib cflags=-O3 \ | ||
tcl ^gmake cflags=-O3 \ | ||
hdf5 \ | ||
hdf5~mpi \ | ||
hdf5+hl+mpi ^mpich \ | ||
|
@@ -114,10 +114,10 @@ int main(int argc, char **argv) { | |
MPI_Finalize(); | ||
} | ||
EOF | ||
example environments/use-mpi-1 'mpicc ./mpi-hello.c -I$(spack location -i zlib)/include' | ||
example environments/use-mpi-1 'mpicc ./mpi-hello.c -I$(spack location -i zlib-ng)/include' | ||
example environments/use-mpi-1 "mpirun -n 4 ./a.out" | ||
|
||
example environments/myproject-zlib-1 "spack find zlib" | ||
example environments/myproject-zlib-ng-1 "spack find zlib-ng" | ||
|
||
example --tee environments/filenames-1 "spack cd -e myproject" | ||
spack cd -e myproject | ||
|
File renamed without changes.
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
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