sw4 icon indicating copy to clipboard operation
sw4 copied to clipboard

Installation request failed

Open TivoGT opened this issue 11 months ago • 1 comments

Hey, I'm Steven. I'm trying to install SW4 with the Spack package, but, I have an error: Installing proj-9.2.1-bm6yr6nwfixwn6j2rhltmfgvucqnafmt [67/72] ==> No binary for proj-9.2.1-bm6yr6nwfixwn6j2rhltmfgvucqnafmt found: installing from source ==> Fetching https://mirror.spack.io/_source-cache/archive/15/15ebf4afa8744b9e6fccb5d571fc9f338dc3adcf99907d9e62d1af815d4971a1.tar.gz ==> Fetching https://mirror.spack.io/_source-cache/archive/f1/f1e5e42ba15426d01d1970be727af77ac9b88c472215497a5a433d0a16dd105b.tar.gz ==> Error: TimeoutError: The read operation timed out ==> Warning: Skipping build of sw4-3.0-povy2xitbl2zbbgsa2rim2wzcrgk5id6 since proj-9.2.1-bm6yr6nwfixwn6j2rhltmfgvucqnafmt failed ==> Installing py-pyproject-metadata-0.7.1-cf5fxex4mmnketbfz524wabahqwfp6um [68/72] ==> No binary for py-pyproject-metadata-0.7.1-cf5fxex4mmnketbfz524wabahqwfp6um found: installing from source ==> Fetching https://mirror.spack.io/_source-cache/archive/0a/0a94f18b108b9b21f3a26a3d541f056c34edcb17dc872a144a15618fed7aef67.tar.gz ==> No patches needed for py-pyproject-metadata ==> py-pyproject-metadata: Executing phase: 'install' ==> py-pyproject-metadata: Successfully installed py-pyproject-metadata-0.7.1-cf5fxex4mmnketbfz524wabahqwfp6um Stage: 1.11s. Install: 1.24s. Post-install: 0.06s. Total: 2.54s [+] /home/vboxuser/spack/opt/spack/linux-ubuntu22.04-x86_64_v2/gcc-11.4.0/py-pyproject-metadata-0.7.1-cf5fxex4mmnketbfz524wabahqwfp6

Which, leads me to a final mistake on the 71/72 lapse: ==> Installing py-h5py-3.10.0-nentzq36mlbosi4roc5qbcfvnbkqz5cf [71/72] ==> No binary for py-h5py-3.10.0-nentzq36mlbosi4roc5qbcfvnbkqz5cf found: installing from source ==> Fetching https://files.pythonhosted.org/packages/source/h/h5py/h5py-3.10.0.tar.gz ==> No patches needed for py-h5py ==> py-h5py: Executing phase: 'install' ==> py-h5py: Successfully installed py-h5py-3.10.0-nentzq36mlbosi4roc5qbcfvnbkqz5cf Stage: 3.80s. Install: 1m 46.80s. Post-install: 0.17s. Total: 1m 50.98s [+] /home/vboxuser/spack/opt/spack/linux-ubuntu22.04-x86_64_v2/gcc-11.4.0/py-h5py-3.10.0-nentzq36mlbosi4roc5qbcfvnbkqz5cf ==> Error: sw4-3.0-povy2xitbl2zbbgsa2rim2wzcrgk5id6: Package was not installed ==> Error: Installation request failed. Refer to reported errors for failing package(s).

Thanks in advance.

TivoGT avatar Mar 15 '24 14:03 TivoGT

Hi Steven, Looks like spack is having problems installing the proj library because your connection timed out. Perhaps your machine had problems connecting to the internet? The proj library provides geographic projections that are used by sw4. I would recommend installing proj separately and then installing sw4 using cmake instead of spack. See the installation instructions for details (doc/SW4-Installation.pdf). -Anders

andersp avatar Mar 15 '24 16:03 andersp