khanna-lab / cadre

Other
0 stars 0 forks source link

EMEWS installation #71

Closed khanna7 closed 1 year ago

khanna7 commented 2 years ago

I decided to install EMEWS early so I can start generating data under multiple parameter combinations to efficiently calibrate the input parameters. Following the step in the tutorial, I get the following error(s) when trying to install eqr:

adityakhanna@adityakhanna spack_emews % spack install eqr
==> Bootstrapping clingo from pre-built binaries
==> Bootstrapping clingo from sources
[+] /Users/adityakhanna/.spack/bootstrap/store/darwin-monterey-aarch64/apple-clang-13.1.6/gnuconfig-2021-08-14-2si73ojc5gepmzzr7oermj233gcao3zx
==> Installing zlib-1.2.12-sumirksd2mzkxllpmtnhwoo5p6yruwls
==> No binary for zlib-1.2.12-sumirksd2mzkxllpmtnhwoo5p6yruwls found: installing from source
==> Using cached archive: /Volumes/GoogleDrive/My Drive/code/cadre/python/spack/var/spack/cache/_source-cache/archive/91/91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9.tar.gz
==> Already patched zlib
==> zlib: Executing phase: 'install'
==> Error: ProcessError: Command exited with status 1:
    './configure' '--prefix=/Users/adityakhanna/.spack/bootstrap/store/darwin-monterey-aarch64/apple-clang-13.1.6/zlib-1.2.12-sumirksd2mzkxllpmtnhwoo5p6yruwls'
See build log for details:
  /var/folders/17/5j7qx3p924sgfpcfft1tbvd00000gr/T/adityakhanna/spack-stage/spack-stage-zlib-1.2.12-sumirksd2mzkxllpmtnhwoo5p6yruwls/spack-build-out.txt

==> Warning: Skipping build of openssl-1.1.1q-uvwh5ua7a345naplti6lshuq6mdc556y since zlib-1.2.12-sumirksd2mzkxllpmtnhwoo5p6yruwls failed
==> Warning: Skipping build of cmake-3.23.2-movcuolmo7g2puqquibpis6j5bt253tz since openssl-1.1.1q-uvwh5ua7a345naplti6lshuq6mdc556y failed
==> Warning: Skipping build of clingo-bootstrap-spack-tyhenmhzdryb37zcsnkabactf2lbkb52 since cmake-3.23.2-movcuolmo7g2puqquibpis6j5bt253tz failed
==> Warning: Skipping build of perl-5.34.1-2lht2bvr7erdigynqhxucvygecq4qsf7 since zlib-1.2.12-sumirksd2mzkxllpmtnhwoo5p6yruwls failed
==> Warning: Skipping build of bison-3.8.2-m6v6mtbqsy7ws5ydetr7za6fewxnhw5l since perl-5.34.1-2lht2bvr7erdigynqhxucvygecq4qsf7 failed
==> Error: cannot bootstrap the "clingo" Python module from spec "clingo-bootstrap@spack+python %apple-clang target=aarch64" due to the following failures:
github-actions-v0.1 raised ValueError: source is not trusted
spack-install raised InstallError: Terminating after first install failure: ProcessError: Command exited with status 1:
    './configure' '--prefix=/Users/adityakhanna/.spack/bootstrap/store/darwin-monterey-aarch64/apple-clang-13.1.6/zlib-1.2.12-sumirksd2mzkxllpmtnhwoo5p6yruwls'
Run `spack --debug ...` for more detailed errors
adityakhanna@adityakhanna spack_emews % ls -ltr
total 32
-rwx------@ 1 adityakhanna  staff     27 Aug  5 11:00 repo.yaml
drwx------@ 1 adityakhanna  staff  16384 Aug  5 11:00 packages
-rwx------@ 1 adityakhanna  staff    628 Aug  5 11:00 README.md
-rwx------@ 1 adityakhanna  staff   1505 Aug  5 11:00 LICENSE

OR turbine

adityakhanna@adityakhanna python % spack install stc ^turbine+python+r
==> Bootstrapping clingo from pre-built binaries
==> Bootstrapping clingo from sources
==> Installing gnuconfig-2021-08-14-2si73ojc5gepmzzr7oermj233gcao3zx
==> No binary for gnuconfig-2021-08-14-2si73ojc5gepmzzr7oermj233gcao3zx found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/69/69b6d2868e70167ba1bdb9030b49beeb20f00b37e30825e83fd04291d96bc5f7.tar.gz
==> No patches needed for gnuconfig
==> gnuconfig: Executing phase: 'install'
==> gnuconfig: Successfully installed gnuconfig-2021-08-14-2si73ojc5gepmzzr7oermj233gcao3zx
  Fetch: 0.14s.  Build: 0.84s.  Total: 0.98s.
[+] /Users/adityakhanna/.spack/bootstrap/store/darwin-monterey-aarch64/apple-clang-13.1.6/gnuconfig-2021-08-14-2si73ojc5gepmzzr7oermj233gcao3zx
==> Installing zlib-1.2.12-sumirksd2mzkxllpmtnhwoo5p6yruwls
==> No binary for zlib-1.2.12-sumirksd2mzkxllpmtnhwoo5p6yruwls found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/91/91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9.tar.gz
==> Applied patch /Volumes/GoogleDrive/My Drive/code/cadre/python/spack/var/spack/repos/builtin/packages/zlib/configure-cc.patch
==> zlib: Executing phase: 'install'
==> Error: ProcessError: Command exited with status 1:
    './configure' '--prefix=/Users/adityakhanna/.spack/bootstrap/store/darwin-monterey-aarch64/apple-clang-13.1.6/zlib-1.2.12-sumirksd2mzkxllpmtnhwoo5p6yruwls'
See build log for details:
  /var/folders/17/5j7qx3p924sgfpcfft1tbvd00000gr/T/adityakhanna/spack-stage/spack-stage-zlib-1.2.12-sumirksd2mzkxllpmtnhwoo5p6yruwls/spack-build-out.txt

==> Warning: Skipping build of openssl-1.1.1q-uvwh5ua7a345naplti6lshuq6mdc556y since zlib-1.2.12-sumirksd2mzkxllpmtnhwoo5p6yruwls failed
==> Warning: Skipping build of cmake-3.23.2-movcuolmo7g2puqquibpis6j5bt253tz since openssl-1.1.1q-uvwh5ua7a345naplti6lshuq6mdc556y failed
==> Warning: Skipping build of clingo-bootstrap-spack-tyhenmhzdryb37zcsnkabactf2lbkb52 since cmake-3.23.2-movcuolmo7g2puqquibpis6j5bt253tz failed
==> Warning: Skipping build of perl-5.34.1-2lht2bvr7erdigynqhxucvygecq4qsf7 since zlib-1.2.12-sumirksd2mzkxllpmtnhwoo5p6yruwls failed
==> Warning: Skipping build of bison-3.8.2-m6v6mtbqsy7ws5ydetr7za6fewxnhw5l since perl-5.34.1-2lht2bvr7erdigynqhxucvygecq4qsf7 failed
==> Error: cannot bootstrap the "clingo" Python module from spec "clingo-bootstrap@spack+python %apple-clang target=aarch64" due to the following failures:
github-actions-v0.1 raised ValueError: source is not trusted
spack-install raised InstallError: Terminating after first install failure: ProcessError: Command exited with status 1:
    './configure' '--prefix=/Users/adityakhanna/.spack/bootstrap/store/darwin-monterey-aarch64/apple-clang-13.1.6/zlib-1.2.12-sumirksd2mzkxllpmtnhwoo5p6yruwls'
Run `spack --debug ...` for more detailed errors

I would be grateful for any suggestions.

khanna7 commented 1 year ago

With Nick's help we have installed swift-t, but we still need to troubleshoot.