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

SCOTCH/6.0.6-intel-2018a fails during sanity check #8509

Closed
moravveji opened this issue Jun 25, 2019 · 8 comments
Closed

SCOTCH/6.0.6-intel-2018a fails during sanity check #8509

moravveji opened this issue Jun 25, 2019 · 8 comments
Milestone

Comments

@moravveji
Copy link

Hey guys,

Trying to build SCOTCH/6.0.6-intel-2018a I get an error during the sanity check. I have attached EB log (with --debug on).

== FAILED: Installation ended unsuccessfully (build directory: /mySHM/easybuild/SCOTCH/6.0.6/intel-2018a): build failed (first 300 chars): Sanity check failed: sanity check command acpl -V 2>&1 | grep 'version 6.0.6' exited with code 1 (output: )

I have to mention that this SCOTCH is a prerequisite for PETSc, and this ticket is related to the other issue here: #8455.

Thanks
Ehsan
easybuild-quckQt.zip

@wpoely86
Copy link
Member

Can you check the binary of acpl in /myApps/software/SCOTCH/6.0.6-intel-2018a/bin/ ? Does it work if you run it manually?

@moravveji
Copy link
Author

yes yes yes:

$> /myApps/software/SCOTCH/6.0.6-intel-2018a/bin/acpl -V
acpl, version 6.0.4
Copyright 2004,2007,2008,2010-2012,2014 IPB, Universite de Bordeaux, INRIA & CNRS, France
This software is libre/free software under CeCILL-C -- see the user's manual for more information

@moravveji
Copy link
Author

I also see a version confusion, in the temporary build directory; check out this path please:
/mySHM/easybuild/SCOTCH/6.0.6/intel-2018a/scotch_6.0.4/
whereas I was expecting to see something like:
/mySHM/easybuild/SCOTCH/6.0.6/intel-2018a/scotch_6.0.6/
This is a very naive expectation, and I might be wrong for any reason. But, thought of sharing.

@boegel
Copy link
Member

boegel commented Jun 25, 2019

@moravveji The output shows why the sanity check failed: you're installing SCOTCH 6.0.4 rather than 6.0.6?

My guess is that you're using a SCOTCH 6.0.6 easyconfig which has a download URL for a 6.0.4 source tarball. But that also means you're deliberately ignoring failing checksums (which are there for a good reason), is that so?

See also the changes made in https://github.com/easybuilders/easybuild-easyconfigs/pull/7159/files

@moravveji
Copy link
Author

In fact, not!
I am really building v. 6.0.6. To be clear, I am attaching the EB file that I use (which is no different from what I would pull from the EB easyconfig repository).
SCOTCH-6.0.6-intel-2018a.eb.zip

@moravveji
Copy link
Author

Alright, I adapted the source_urls and checksums, and tried again. This time it fails with the checksum test:

== FAILED: Installation ended unsuccessfully (build directory: /mySHM/easybuild/SCOTCH/6.0.6/intel-2018a): build failed (first 300 chars): Checksum verification for /mySources/s/SCOTCH/scotch_6.0.6.tar.gz using 686f0cad88d033fe71c8b781735ff742b73a1d82a65b8b1586526d69729ac4cf failed.

If I comment out the checksums, EB continues until it fails at the same sanity check step, as before.

@boegel
Copy link
Member

boegel commented Jun 26, 2019

@moravveji 686f0cad88d033fe71c8b781735ff742b73a1d82a65b8b1586526d69729ac4cf is the correct SHA256 checksum for scotch_6.0.6.tar.gz.

If you have something different, then either the downloaded source tarball is corrupt, or you actually downloaded the source tarball for SCOTCH 6.0.4 but named it scotch_6.0.6.tar.gz (I'm not claiming you did this manually, that's exactly what we fixed in #7159).

So please try re-downloading scotch_6.0.6.tar.gz, either by removing it and running eb again, or by using eb --force-download ...

@boegel boegel added this to the 3.x milestone Jun 26, 2019
@moravveji
Copy link
Author

@boegel: Thanks Kenneth for the tip; the --force-download worked flawlessly. Closing this ticket now.

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

3 participants