Closed DevinBayly closed 3 years ago
So I think this is about the autamus container, which means it's about the spack install, and not shpc directly. SHPC just provides these containers, but is not responsible for the executables functionality. For example, I can reproduce your error just putting the container with singularity, and doing the same:
cd /tmp
git clone https://github.com/DevinBayly/boids_recreated
singularity pull docker://ghcr.io/autamus/rust:1.50.0
$ singularity shell rust_1.50.0.sif
# double check version
Singularity> which cargo
/opt/view/bin/cargo
Singularity> cargo --version
cargo 1.50.0
# There is no cc
Singularity> which cc
Singularity> cd boids_recreated/
Singularity> cargo check
# the same error reproduces
So if you believe rust is missing a dependency, you should open this issue in spack. If this isn't technically a dependency and you need the executable cc, then you can add a container to autamus. Let me know if you have any questions.
Yea I posted here because I really didn't know where else made sense. I'll go ahead and close this one.
Would you also suggest that I move the issue here https://github.com/autamus/registry/issues because the rust spack python recipe (if it's even called that? totally out of my depth) https://github.com/autamus/registry/blob/main/spack/r/rust/package.py is in this repo https://github.com/autamus/registry?
Or when you say open the issue in spack, like post it here https://github.com/spack/spack/issues?
I think it depends if we think this is a package bug (eg cc is a Dependency of rust) and thus is a spack issue, or “would be nice to have” in which case we could add in autamus. Ping @alecbcs for his thoughts!
Will do! Thanks @vsoch =D
Describe the bug I'm currently unable to compile my rust code using this container
ghcr.io/autamus/rust:1.50.0
from https://singularityhub.github.io/singularity-hpc/r/ghcr.io-autamus-rust/ and the repository https://github.com/DevinBayly/boids_recreated To ReproduceExpected behavior
The cargo check should compile without errors
Version of Singularity and Singularity Registry HPC Client
singularity version 3.8.0-1.el7
shpc version 0.0.31