Giter Club home page Giter Club logo

Comments (6)

AlexanderRichert-NOAA avatar AlexanderRichert-NOAA commented on July 30, 2024

@climbfuji can you try adding these to setup.sh and see if it clears things up?

export SPACK_DISABLE_LOCAL_CONFIG=true
export SPACK_USER_CONFIG_PATH=/dev/null

from spack-stack.

climbfuji avatar climbfuji commented on July 30, 2024

Thanks @AlexanderRichert-NOAA. I tried but with that spack external find --scope=system no longer works:

Configuring basic directory information ...
  ... script directory: /Users/heinzell/scratch/spack-stack-user-config-test/spack-stack/spack-ext/lib/jcsda-emc/spack-stack/stack
  ... base directory: /Users/heinzell/scratch/spack-stack-user-config-test/spack-stack/spack-ext/lib/jcsda-emc/spack-stack
  ... spack directory: /Users/heinzell/scratch/spack-stack-user-config-test/spack-stack/spack
Creating environment from command-line args
Successfully wrote environment at /Users/heinzell/scratch/spack-stack-user-config-test/spack-stack/envs/unified-env/spack.yaml

Checked user umask and found no issues (0022)

==> Created environment /Users/heinzell/scratch/spack-stack-user-config-test/spack-stack/envs/unified-env
usage: spack external find [-h] [--not-buildable] [--exclude EXCLUDE] [-p PATH] [--scope {defaults,system,site,user}[/PLATFORM] or env:ENVIRONMENT] [--all] [-t TAG] [-j JOBS] ...
spack external find: error: argument --scope: invalid choice: 'system' choose from:

Since that is by now so deeply enshrined in our user's brains (and mine!) I would had to change that unless it makes the process simpler.

from spack-stack.

AlexanderRichert-NOAA avatar AlexanderRichert-NOAA commented on July 30, 2024

Ah right. How about just the SPACK_USER_CONFIG_PATH setting (skip setting SPACK_DISABLE_LOCAL_CONFIG)?

from spack-stack.

climbfuji avatar climbfuji commented on July 30, 2024

With only SPACK_USER_CONFIG_PATH, I am still getting these warnings:

[unified-env] heinzell@JCSDA-L-18146:~/scratch/spack-stack-test-alex-stuff [brew-arch64]> spack concretize 2>&1 | tee log.concretize.unified-env.001
/Users/heinzell/scratch/spack-stack-test-alex-stuff/spack/user_cache/bootstrap/store/darwin-ventura-aarch64/apple-clang-14.0.3/libgpg-error-1.47-stcmj3wdfxrohn2a53ecvsfsxe7rzrn4/bin/gpg-error: replacing existing signature
/Users/heinzell/scratch/spack-stack-test-alex-stuff/spack/user_cache/bootstrap/store/darwin-ventura-aarch64/apple-clang-14.0.3/libgpg-error-1.47-stcmj3wdfxrohn2a53ecvsfsxe7rzrn4/bin/yat2m: replacing existing signature
/Users/heinzell/scratch/spack-stack-test-alex-stuff/spack/user_cache/bootstrap/store/darwin-ventura-aarch64/apple-clang-14.0.3/libgpg-error-1.47-stcmj3wdfxrohn2a53ecvsfsxe7rzrn4/lib/libgpg-error.0.dylib: replacing existing signature
/Users/heinzell/scratch/spack-stack-test-alex-stuff/spack/user_cache/bootstrap/store/darwin-ventura-aarch64/apple-clang-14.0.3/libassuan-2.5.6-z27suzptvelnavipmldx6dcntiwqmguq/lib/libassuan.0.dylib: replacing existing signature
/Users/heinzell/scratch/spack-stack-test-alex-stuff/spack/user_cache/bootstrap/store/darwin-ventura-aarch64/apple-clang-14.0.3/libgcrypt-1.10.2-if4uocx75kk6nc5vwvvuxq4dvaoljxkm/bin/dumpsexp: replacing existing signature
/Users/heinzell/scratch/spack-stack-test-alex-stuff/spack/user_cache/bootstrap/store/darwin-ventura-aarch64/apple-clang-14.0.3/libgcrypt-1.10.2-if4uocx75kk6nc5vwvvuxq4dvaoljxkm/bin/hmac256: replacing existing signature
/Users/heinzell/scratch/spack-stack-test-alex-stuff/spack/user_cache/bootstrap/store/darwin-ventura-aarch64/apple-clang-14.0.3/libgcrypt-1.10.2-if4uocx75kk6nc5vwvvuxq4dvaoljxkm/bin/mpicalc: replacing existing signature
/Users/heinzell/scratch/spack-stack-test-alex-stuff/spack/user_cache/bootstrap/store/darwin-ventura-aarch64/apple-clang-14.0.3/libgcrypt-1.10.2-if4uocx75kk6nc5vwvvuxq4dvaoljxkm/lib/libgcrypt.20.dylib: replacing existing signature
/Users/heinzell/scratch/spack-stack-test-alex-stuff/spack/user_cache/bootstrap/store/darwin-ventura-aarch64/apple-clang-14.0.3/libiconv-1.17-nccvt7adwkq5anilrjspffdzl4hggon5/bin/iconv: replacing existing signature
/Users/heinzell/scratch/spack-stack-test-alex-stuff/spack/user_cache/bootstrap/store/darwin-ventura-aarch64/apple-clang-14.0.3/libiconv-1.17-nccvt7adwkq5anilrjspffdzl4hggon5/lib/libcharset.1.dylib: replacing existing signature
/Users/heinzell/scratch/spack-stack-test-alex-stuff/spack/user_cache/bootstrap/store/darwin-ventura-aarch64/apple-clang-14.0.3/libiconv-1.17-nccvt7adwkq5anilrjspffdzl4hggon5/lib/libiconv.2.dylib: replacing existing signature
...

from spack-stack.

AlexanderRichert-NOAA avatar AlexanderRichert-NOAA commented on July 30, 2024

Googling for "replacing existing signature" it appears to be a MacOS thing, not a Spack thing. Somewhere there are settings that need to be removed/refreshed, but I don't know where (it's something to do with Apple's 3rd party developer system, but that's all I can figure out... maybe there's some certificates in your Keychain settings that can be reset..?). Unless you're able to identify what/where that is, can we either disable this on MacOS for now, or give it an optional flag which we will just use when deploying on the tier-1 systems?

from spack-stack.

climbfuji avatar climbfuji commented on July 30, 2024

from spack-stack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.