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

spack install takes an infinite time when installing cardioid #11

Open
StreamAzure opened this issue Sep 3, 2021 · 1 comment
Open

Comments

@StreamAzure
Copy link

environment: CentOS7+gcc 8.3.0+cmake 3.21.1+cuda 11.1.105+perl 5.16.3

I was trying to install Cardioid following the instruction in README.
After running spack add cardioid+cuda and spack install, the process after ==> cardioid: Executing phase: 'cmake' is printed on my screen seems to take an infinite time to complete (I waited for at least 20 min yet nothing proceeded).

The details is as follows:

$ spack install
==> Installing environment /home/myenv
[+] /home/cmake-3.21.1 (external cmake-3.21.1-kgvtacydi7vchye4nll5bq6xatv3kzal)
[+] /usr/local/cuda (external cuda-11.1.105-szapcmcc4oxqlsjoqlmbq7b4tr6vhhs7)
[+] /usr (external perl-5.16.3-lcr6qhivgtjs74edphkzngm7ofvmpvv2)
[+] /home/openmpi (external openmpi-3.1.5-hlafh73mwzxiolbptzntznccqefxzvxt)
==> Installing openblas-0.3.17-33sulnfbl6uv34rg4htzxyou7p6enf2f
==> No binary for openblas-0.3.17-33sulnfbl6uv34rg4htzxyou7p6enf2f found: installing from source
==> Using cached archive: /home/spack/spack-develop/var/spack/cache/_source-cache/archive/df/df2934fa33d04fd84d839ca698280df55c690c86a5a1133b3f7266fce1de279f.tar.gz
==> No patches needed for openblas
==> openblas: Executing phase: 'edit'
==> openblas: Executing phase: 'build'
==> openblas: Executing phase: 'install'
==> openblas: Successfully installed openblas-0.3.17-33sulnfbl6uv34rg4htzxyou7p6enf2f
  Fetch: 0.13s.  Build: 1m 33.61s.  Total: 1m 33.74s.
[+] /home/spack/spack-develop/opt/spack/linux-centos7-skylake_avx512/gcc-8.3.0/openblas-0.3.17-33sulnfbl6uv34rg4htzxyou7p6enf2f
==> Installing cardioid-develop-lei4go23dpiitmnde5zkcmaaf5umwdgi
==> No binary for cardioid-develop-lei4go23dpiitmnde5zkcmaaf5umwdgi found: installing from source
==> No patches needed for cardioid
==> cardioid: Executing phase: 'cmake'

Same problem occurs when trying the following way to install/build:

  • make
  • modified the option in Cmakecache to enable cuda
@asesidaa
Copy link

See #9, this should be able to fix the issue

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

No branches or pull requests

2 participants