homebrew install won't run full test suite option
Posted: Mon Dec 16, 2019 6:22 pm
Hi there,
New to ABINIT and slightly less new to Homebrew, although I've used it to install other computational codes on my Mac. I ran into trouble trying to run the python runtests.py program after installing 8.10.3 ABINIT via Homebrew:
Traceback (most recent call last):
File "../share/tests/runtests.py", line 679, in <module>
sys.exit(main())
File "../share/tests/runtests.py", line 379, in main
build_env = BuildEnvironment(build_dir_path)
File "/usr/local/Cellar/abinit/8.10.3/share/tests/pymods/testsuite.py", line 988, in __init__
build_dir = find_top_build_tree(build_dir)
File "/usr/local/Cellar/abinit/8.10.3/share/tests/pymods/testsuite.py", line 814, in find_top_build_tree
raise RuntimeError("Cannot find the ABINIT build tree after %s trials" % ntrials)
RuntimeError: Cannot find the ABINIT build tree after 10 trials
I'm wondering if I need to modify the code somewhere, as it's not pointing to the right place for the ABINIT executable? The Homebrew test log indicated that all of the built-in and fast tests passed, but I'd like to run all the tests just to be sure.
I tried to work around the problem by uninstalling and then attempting to reinstall ABINIT via Homebrew using the --with-testsuite option, but then I get the following error message:
Error: An exception occurred within a child process:
ChecksumMismatchError: SHA256 mismatch
Expected: ede1f6b5ab75c94fe29084443d245f1d934d896d0ac64825ef3a15214f83a7f9
Actual: 2674119e0aaea6f5e2f4f95aea8c056d9f0d0606d5f0f3a03401a5c435b8d078
Archive: /Users/ehofmann/Library/Caches/Homebrew/downloads/049b39673b06dfc6836eb9a7463691364d58fded5a3a352ebadd6021e501fcb8--libxc_3to4_patch.diff
To retry an incomplete download, remove the file above.
Removed the file, tried again, same error message. I saw a similar problem (for a different reason) in a much older post, and it seemed the underlying problem was in homebrew-science. I guess I would have expected that that was solved by 8.10.3, so I'm wondering what I might be doing wrong.
Any help would be greatly appreciated!
Thanks!
New to ABINIT and slightly less new to Homebrew, although I've used it to install other computational codes on my Mac. I ran into trouble trying to run the python runtests.py program after installing 8.10.3 ABINIT via Homebrew:
Traceback (most recent call last):
File "../share/tests/runtests.py", line 679, in <module>
sys.exit(main())
File "../share/tests/runtests.py", line 379, in main
build_env = BuildEnvironment(build_dir_path)
File "/usr/local/Cellar/abinit/8.10.3/share/tests/pymods/testsuite.py", line 988, in __init__
build_dir = find_top_build_tree(build_dir)
File "/usr/local/Cellar/abinit/8.10.3/share/tests/pymods/testsuite.py", line 814, in find_top_build_tree
raise RuntimeError("Cannot find the ABINIT build tree after %s trials" % ntrials)
RuntimeError: Cannot find the ABINIT build tree after 10 trials
I'm wondering if I need to modify the code somewhere, as it's not pointing to the right place for the ABINIT executable? The Homebrew test log indicated that all of the built-in and fast tests passed, but I'd like to run all the tests just to be sure.
I tried to work around the problem by uninstalling and then attempting to reinstall ABINIT via Homebrew using the --with-testsuite option, but then I get the following error message:
Error: An exception occurred within a child process:
ChecksumMismatchError: SHA256 mismatch
Expected: ede1f6b5ab75c94fe29084443d245f1d934d896d0ac64825ef3a15214f83a7f9
Actual: 2674119e0aaea6f5e2f4f95aea8c056d9f0d0606d5f0f3a03401a5c435b8d078
Archive: /Users/ehofmann/Library/Caches/Homebrew/downloads/049b39673b06dfc6836eb9a7463691364d58fded5a3a352ebadd6021e501fcb8--libxc_3to4_patch.diff
To retry an incomplete download, remove the file above.
Removed the file, tried again, same error message. I saw a similar problem (for a different reason) in a much older post, and it seemed the underlying problem was in homebrew-science. I guess I would have expected that that was solved by 8.10.3, so I'm wondering what I might be doing wrong.
Any help would be greatly appreciated!
Thanks!