pnnl / ExaGO

High-performance power grid optimization for stochastic, security-constrained, and multi-period ACOPF problems.
Other
60 stars 9 forks source link

Installation Problem #136

Open SalehSG opened 2 months ago

SalehSG commented 2 months ago

Issue type

Relates to

Summary

I attempted to install ExaGo using Spack, but encountered the following error:

"==> Installing py-pytest-8.0.0-tvumi3icj3hvjbye3g52iiwgu3roei6u [76/79] ==> No binary for py-pytest-8.0.0-tvumi3icj3hvjbye3g52iiwgu3roei6u found: installing from source ==> Fetching https://files.pythonhosted.org/packages/source/p/pytest/pytest-8.0.0.tar.gz ==> No patches needed for py-pytest ==> py-pytest: Executing phase: 'install' ==> py-pytest: Successfully installed py-pytest-8.0.0-tvumi3icj3hvjbye3g52iiwgu3roei6u Stage: 0.79s. Install: 14.89s. Post-install: 8.28s. Total: 32.32s [+] /mnt/c/ExaGo4/spack/opt/spack/linux-ubuntu22.04-skylake/gcc-11.4.0/py-pytest-8.0.0-tvumi3icj3hvjbye3g52iiwgu3roei6u ==> Error: exago-develop-5jocgbesq6wcf3up3jlt4ep3i2nxopor: Package was not installed ==> Error: Installation request failed. Refer to reported errors for failing package(s)."

How can I resolve this issue?

Thank you.

cameronrutherford commented 2 months ago

Hi there. Thanks for reporting the issue. It's impossible to determine what caused your spack build failure here, so it would be good if you could provide the entire spack build output, along with the spack-build-out.txt of the specific failing package in the build process.

While your error shows exago failed to install, it does not show which package(s) failed. Try installing with spack install --fail-fast so you can have spack error at the first failing installation if you want a cleaner set of error logs.