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

hypre not handling '--with-lapack-libs=['"'"'openblas'"'"']' correctly #1840

Closed
sarich opened this issue Sep 23, 2016 · 2 comments · Fixed by #1841
Closed

hypre not handling '--with-lapack-libs=['"'"'openblas'"'"']' correctly #1840

sarich opened this issue Sep 23, 2016 · 2 comments · Fixed by #1841
Labels

Comments

@sarich
Copy link
Contributor

sarich commented Sep 23, 2016

I'm trying to install HYPRE, which launches its own install of openblas. However, the link line for compiling HYPRE contains -l['openblas'] instead of -lopenblas.

From spack-build.out:

'./configure' '--prefix=/sandbox/sarich/sarich/spack/opt/spack/linux-Ubuntu14-x86_64/gcc-4.8/hypre-2.10.1-unr2epq7jznxeg5onw7osjj4w5j3v67j' '--with-lapack-libs=['"'"'openblas'"'"']' '--with-lapack-lib-dirs=/sandbox/sarich/sarich/spack/opt/spack/linux-Ubuntu14-x86_64/gcc-4.8/openblas-0.2.19-wofufd7oxokwglvljpcd4w6hexx3urzo/lib' '--with-blas-libs=['"'"'openblas'"'"']' '--with-blas-lib-dirs=/sandbox/sarich/sarich/spack/opt/spack/linux-Ubuntu14-x86_64/gcc-4.8/openblas-0.2.19-wofufd7oxokwglvljpcd4w6hexx3urzo/lib' '--enable-shared'

...
Building libHYPRE.so ...

mpic++ ... -L/sandbox/sarich/sarich/spack/opt/spack/linux-Ubuntu14-x86_64/gcc-4.8/openblas-0.2.19-wofufd7oxokwglvljpcd4w6hexx3urzo/lib -l['openblas'] ...

/usr/bin/ld: cannot find -l[openblas]

Also, is there an automatically generated log or info text somewhere that I can attach to an issue that contains all the information about my architecture, compilers, package versions, etc?

@tgamblin tgamblin added bug Something isn't working blas-lapack-scalapack labels Sep 23, 2016
@tgamblin
Copy link
Member

tgamblin commented Sep 23, 2016

We don't have a log of users' setup yet, but that is a good idea.

This looks like an issue with #1682 -- @alalazo @davydden

@davydden
Copy link
Member

I am looking at it... PR incoming

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

Successfully merging a pull request may close this issue.

3 participants