Skip to content

Commit

Permalink
Update output for scripting (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
alalazo committed May 21, 2023
1 parent 12d0eb9 commit cdb9c80
Show file tree
Hide file tree
Showing 8 changed files with 340 additions and 318 deletions.
6 changes: 3 additions & 3 deletions outputs/scripting.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ project="$(dirname "$0")"
rm -rf "${raw_outputs:?}/scripting"
. "$project/init_spack.sh"

spack install gcc@8.4.0
spack compiler find "$(spack location -i gcc@8.4.0)"
spack install gcc@12.1.0
spack compiler find "$(spack location -i gcc@12.1.0)"

example scripting/setup "spack uninstall -ay"
example scripting/setup "spack compiler rm gcc@8.4.0"
example scripting/setup "spack compiler rm gcc@12.1.0"
example scripting/setup "spack install hdf5"
example scripting/setup "spack install zlib%clang"

Expand Down
9 changes: 5 additions & 4 deletions outputs/scripting/find-exclude-1.out
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
$ spack python find_exclude.py %gcc ^mpich
-- linux-ubuntu18.04-x86_64 / gcc@7.5.0 -------------------------
autoconf@2.69 bison@3.8.2 cmake@3.24.3 gettext@0.21.1 krb5@1.19.3 libiconv@1.16 libtool@2.4.7 ncurses@6.3 openssh@9.1p1 pigz@2.7 readline@8.1.2 xz@5.2.7
automake@1.16.5 bzip2@1.0.8 diffutils@3.8 hdf5@1.12.2 libedit@3.1-20210216 libpciaccess@0.16 libxml2@2.10.1 numactl@2.0.14 openssl@1.1.1s pkgconf@1.8.0 tar@1.34 zlib@1.2.13
berkeley-db@18.1.40 ca-certificates-mozilla@2022-10-11 gdbm@1.23 hwloc@2.8.0 libevent@2.1.12 libsigsegv@2.13 m4@1.4.19 openmpi@4.1.4 perl@5.36.0 pmix@4.1.2 util-macros@1.19.3 zstd@1.5.2
-- linux-ubuntu22.04-x86_64_v3 / gcc@11.3.0 ---------------------
autoconf@2.69 bzip2@1.0.8 gdbm@1.23 hwloc@2.9.1 libiconv@1.17 libxcrypt@4.4.33 numactl@2.0.14 perl@5.36.0 readline@8.2 zlib@1.2.13
automake@1.16.5 ca-certificates-mozilla@2023-01-10 gettext@0.21.1 krb5@1.20.1 libpciaccess@0.17 libxml2@2.10.3 openmpi@4.1.5 pigz@2.7 tar@1.34 zstd@1.5.5
berkeley-db@18.1.40 cmake@3.26.3 gmake@4.4.1 libedit@3.1-20210216 libsigsegv@2.14 m4@1.4.19 openssh@9.3p1 pkgconf@1.9.5 util-macros@1.19.3
bison@3.8.2 diffutils@3.9 hdf5@1.14.1-2 libevent@2.1.12 libtool@2.4.7 ncurses@6.4 openssl@1.1.1t pmix@4.2.3 xz@5.4.1
9 changes: 5 additions & 4 deletions outputs/scripting/find-exclude-2.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
$ chmod u+x find_exclude.py
$ ./find_exclude.py %gcc ^mpich
-- linux-ubuntu18.04-x86_64 / gcc@7.5.0 -------------------------
autoconf@2.69 bison@3.8.2 cmake@3.24.3 gettext@0.21.1 krb5@1.19.3 libiconv@1.16 libtool@2.4.7 ncurses@6.3 openssh@9.1p1 pigz@2.7 readline@8.1.2 xz@5.2.7
automake@1.16.5 bzip2@1.0.8 diffutils@3.8 hdf5@1.12.2 libedit@3.1-20210216 libpciaccess@0.16 libxml2@2.10.1 numactl@2.0.14 openssl@1.1.1s pkgconf@1.8.0 tar@1.34 zlib@1.2.13
berkeley-db@18.1.40 ca-certificates-mozilla@2022-10-11 gdbm@1.23 hwloc@2.8.0 libevent@2.1.12 libsigsegv@2.13 m4@1.4.19 openmpi@4.1.4 perl@5.36.0 pmix@4.1.2 util-macros@1.19.3 zstd@1.5.2
-- linux-ubuntu22.04-x86_64_v3 / gcc@11.3.0 ---------------------
autoconf@2.69 bzip2@1.0.8 gdbm@1.23 hwloc@2.9.1 libiconv@1.17 libxcrypt@4.4.33 numactl@2.0.14 perl@5.36.0 readline@8.2 zlib@1.2.13
automake@1.16.5 ca-certificates-mozilla@2023-01-10 gettext@0.21.1 krb5@1.20.1 libpciaccess@0.17 libxml2@2.10.3 openmpi@4.1.5 pigz@2.7 tar@1.34 zstd@1.5.5
berkeley-db@18.1.40 cmake@3.26.3 gmake@4.4.1 libedit@3.1-20210216 libsigsegv@2.14 m4@1.4.19 openssh@9.3p1 pkgconf@1.9.5 util-macros@1.19.3
bison@3.8.2 diffutils@3.9 hdf5@1.14.1-2 libevent@2.1.12 libtool@2.4.7 ncurses@6.4 openssl@1.1.1t pmix@4.2.3 xz@5.4.1
9 changes: 5 additions & 4 deletions outputs/scripting/find-exclude-3.out
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
$ ./find_exclude.py %gcc ^mpich
-- linux-ubuntu18.04-x86_64 / gcc@7.5.0 -------------------------
autoconf@2.69 bison@3.8.2 cmake@3.24.3 gettext@0.21.1 krb5@1.19.3 libiconv@1.16 libtool@2.4.7 ncurses@6.3 openssh@9.1p1 pigz@2.7 readline@8.1.2 xz@5.2.7
automake@1.16.5 bzip2@1.0.8 diffutils@3.8 hdf5@1.12.2 libedit@3.1-20210216 libpciaccess@0.16 libxml2@2.10.1 numactl@2.0.14 openssl@1.1.1s pkgconf@1.8.0 tar@1.34 zlib@1.2.13
berkeley-db@18.1.40 ca-certificates-mozilla@2022-10-11 gdbm@1.23 hwloc@2.8.0 libevent@2.1.12 libsigsegv@2.13 m4@1.4.19 openmpi@4.1.4 perl@5.36.0 pmix@4.1.2 util-macros@1.19.3 zstd@1.5.2
-- linux-ubuntu22.04-x86_64_v3 / gcc@11.3.0 ---------------------
autoconf@2.69 bzip2@1.0.8 gdbm@1.23 hwloc@2.9.1 libiconv@1.17 libxcrypt@4.4.33 numactl@2.0.14 perl@5.36.0 readline@8.2 zlib@1.2.13
automake@1.16.5 ca-certificates-mozilla@2023-01-10 gettext@0.21.1 krb5@1.20.1 libpciaccess@0.17 libxml2@2.10.3 openmpi@4.1.5 pigz@2.7 tar@1.34 zstd@1.5.5
berkeley-db@18.1.40 cmake@3.26.3 gmake@4.4.1 libedit@3.1-20210216 libsigsegv@2.14 m4@1.4.19 openssh@9.3p1 pkgconf@1.9.5 util-macros@1.19.3
bison@3.8.2 diffutils@3.9 hdf5@1.14.1-2 libevent@2.1.12 libtool@2.4.7 ncurses@6.4 openssl@1.1.1t pmix@4.2.3 xz@5.4.1
11 changes: 6 additions & 5 deletions outputs/scripting/find-format.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
$ spack find --format "{name} {version} {hash:10}"
autoconf 2.69 btoteeiz74 ca-certificates-mozilla 2022-10-11 aurd37jjeb hdf5 1.12.2 xfftbwlx2f libiconv 1.16 ltvovvvjgm m4 1.4.19 z7d5q4f2qz openssl 1.1.1s yr4z2pt4jn readline 8.1.2 kgyvtw5h6m zlib 1.2.13 2hfr5rbzef
automake 1.16.5 rxjqnjw5jk cmake 3.24.3 stszbnscxr hwloc 2.8.0 5yywrk2zoi libpciaccess 0.16 p7f5n6q6kw ncurses 6.3 zcuawlif55 perl 5.36.0 eydiwimku2 tar 1.34 kawegoyhus zstd 1.5.2 fprmzmoubd
berkeley-db 18.1.40 53fb72wzis diffutils 3.8 c3uhkcjt7t krb5 1.19.3 y6ek4vz7nt libsigsegv 2.13 e262sf6ptg numactl 2.0.14 qbwqmk6qyl pigz 2.7 wod35nye4q util-macros 1.19.3 ao5w53rpwh
bison 3.8.2 wobmzgvlc2 gdbm 1.23 cpmyntybsn libedit 3.1-20210216 6pzeykrtvr libtool 2.4.7 bdxu4wnbhl openmpi 4.1.4 mfxvu5fnaa pkgconf 1.8.0 k2lfw6fht6 xz 5.2.7 nrwxythffg
bzip2 1.0.8 cxcrelnw64 gettext 0.21.1 hj6szikaqz libevent 2.1.12 nblr6w4gwb libxml2 2.10.1 4aq5aj2n5u openssh 9.1p1 xevso22q5f pmix 4.1.2 76ul6unbdp zlib 1.2.13 fdbomoa6xo
autoconf 2.69 t4nuen3izo cmake 3.26.3 ofsadgmnqq hwloc 2.9.1 h7l4t7laxg libsigsegv 2.14 okig24f4hx numactl 2.0.14 dwr5rmxxc4 pkgconf 1.9.5 mh73nkpzo3 zlib 1.2.13 gephbceg3r
automake 1.16.5 oa3w4kfggb diffutils 3.9 zdl3dicv5j krb5 1.20.1 a2oph6kjqh libtool 2.4.7 qkvj7amqg5 openmpi 4.1.5 6rh6midoap pmix 4.2.3 uh4fmi5i7b zlib 1.2.13 mntflxrgek
berkeley-db 18.1.40 7sohpazzva gdbm 1.23 ba4juc3qta libedit 3.1-20210216 3gz2afaph6 libxcrypt 4.4.33 6oeb4y7sqn openssh 9.3p1 zhdviyjva2 readline 8.2 tddm2ffpgb zstd 1.5.5 qoo4rlopj4
bison 3.8.2 iavvoedsn6 gettext 0.21.1 p4obvgx443 libevent 2.1.12 pmjxzdssnb libxml2 2.10.3 pcbenkircu openssl 1.1.1t w2by2b2vep tar 1.34 e77cf6ahyu
bzip2 1.0.8 dca2qygvz7 gmake 4.4.1 guaj3kbmbr libiconv 1.17 7wr75cescb m4 1.4.19 llbjfk2fqz perl 5.36.0 j5tavdsri7 util-macros 1.19.3 pmmxgx45h2
ca-certificates-mozilla 2023-01-10 5pxkrf4bc5 hdf5 1.14.1-2 kzpm5bq6mw libpciaccess 0.17 ajkyiz5txl ncurses 6.4 4dokmxjlga pigz 2.7 aln73eomrj xz 5.4.1 4kpkw5anjs
20 changes: 10 additions & 10 deletions outputs/scripting/find-json.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ $ spack find --json zlib
"version": "1.2.13",
"arch": {
"platform": "linux",
"platform_os": "ubuntu18.04",
"target": "x86_64"
"platform_os": "ubuntu22.04",
"target": "x86_64_v3"
},
"compiler": {
"name": "clang",
"version": "7.0.0"
"version": "14.0.0"
},
"namespace": "builtin",
"parameters": {
Expand All @@ -25,20 +25,20 @@ $ spack find --json zlib
"ldflags": [],
"ldlibs": []
},
"package_hash": "ghj4qyx3sv3so5vpvnodld6r372mc6oqefofmoer3xbpq5tcwvca====",
"hash": "fdbomoa6xopqvfi4a7jvad27yinnw47a"
"package_hash": "y6ahhnjjjsfh5dx2y7sci7fhthq5aolyl5dgwif57qqbtjxwdwbq====",
"hash": "gephbceg3rl2e77o46xyzlk5e4kd3gt3"
},
{
"name": "zlib",
"version": "1.2.13",
"arch": {
"platform": "linux",
"platform_os": "ubuntu18.04",
"target": "x86_64"
"platform_os": "ubuntu22.04",
"target": "x86_64_v3"
},
"compiler": {
"name": "gcc",
"version": "7.5.0"
"version": "11.3.0"
},
"namespace": "builtin",
"parameters": {
Expand All @@ -53,6 +53,6 @@ $ spack find --json zlib
"ldflags": [],
"ldlibs": []
},
"package_hash": "ghj4qyx3sv3so5vpvnodld6r372mc6oqefofmoer3xbpq5tcwvca====",
"hash": "2hfr5rbzefrxf6t6kv4trbsl63puaza6"
"package_hash": "y6ahhnjjjsfh5dx2y7sci7fhthq5aolyl5dgwif57qqbtjxwdwbq====",
"hash": "mntflxrgekkm5lbpbl5r66lh2ieted4y"
}

0 comments on commit cdb9c80

Please sign in to comment.