Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation issue: intel-tbb #16825

Closed
tamaradanceva opened this issue May 27, 2020 · 3 comments
Closed

Installation issue: intel-tbb #16825

tamaradanceva opened this issue May 27, 2020 · 3 comments

Comments

@tamaradanceva
Copy link

#14608 # Steps to reproduce the issue

I got the issue while trying to install hpctoolkit

$ spack install hpctoolkit all-static=True mpi=True ^intel-mpi@2019.5.281 ^intel-tbb@2019.5`

A minimal example:

$ spack install intel-tbb@2019.5`

Error:

==> Error: ChecksumError: sha256 checksum failed for /tmp/ubuntu/spack-stage/spack-stage-intel-tbb-2019.5-jf44x6rzrwqk2asrjgpm53dbe44bokjs/2019_U5.tar.gz
    Expected 2ea82d74dec50e18075b4982b8d360f8bd2bf2950f38e2db483aef82e0047444 but got abf9236e6ec9a3675fa59ab56c2192c7ab4f7096a82af118e8efa514b2541578

/shared/spack/lib/spack/spack/package.py:1114, in do_fetch:
       1111        self.stage.fetch(mirror_only)
       1112        self._fetch_time = time.time() - start_time
       1113
  >>   1114        if checksum and self.version in self.versions:
       1115            self.stage.check()
       1116
       1117        self.stage.cache_local()

I have found this related thread, oneapi-src/oneTBB#30, but I was not sure it s appropriate to reopen it. I also saw a patch in the develop branch for intel-tbb@2020/. Thanks in advance.

@mwkrentel
Copy link
Member

How old is your copy of spack?
This works for me with today's spack.

Intel keeps moving their repo around. This was updated in spack in
#15675 on March 27 and AFAIK, versions after that work.

@mwkrentel
Copy link
Member

I checked commit 16f104a that I mentioned above, and it includes:

-    version('2019.5', sha256='2ea82d74dec50e18075b4982b8d360f8bd2bf2950f38e2db483aef82e0047444')
+    version('2019.5', sha256='abf9236e6ec9a3675fa59ab56c2192c7ab4f7096a82af118e8efa514b2541578')

So, the old sha is what your spack expected, but what it got was the
new sha. This confirms that you have an old version of spack and this
was fixed two months ago.

@tamaradanceva
Copy link
Author

That is right, thanks, I got into another issue now though with hpctoolkit. I will open anohter issue and close this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants