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

package.py says that arpack depends on MPI, but configure says that it depends on lapack #7267

Closed
yurivict opened this issue Oct 4, 2018 · 5 comments

Comments

@yurivict
Copy link

yurivict commented Oct 4, 2018

https://github.com/davydden/spack/blob/ca97d8c928eaa84eb25c3ecf2e4c86856458ac32/var/spack/repos/builtin/packages/dealii/package.py

configure passes when MPI is off, but not when LAPACK is off.

Which one is correct?

@davydden
Copy link
Contributor

davydden commented Oct 4, 2018

Can you please elaborate what is the problem with configure of deal.ii?

EDIT: from your post, I am also not sure whether you have a problem with arpack or deal.II.

p.s. Note that Spack is a separate project that some of deal.ii developers use.

@davydden
Copy link
Contributor

davydden commented Oct 4, 2018

also please check README and installation instructions at https://www.dealii.org/developer/index.html / https://www.dealii.org/developer/readme.html

@yurivict
Copy link
Author

yurivict commented Oct 4, 2018

Can you please elaborate what is the problem with configure of deal.ii?

There is an obvious discrepancy. ARPACK seems to really depend on LAPACK, not MPI, unless there is also a bug in cmake scripts. I just wanted to confirm. In the FreeBSD port dependency between options needs to be specified.

@davydden
Copy link
Contributor

davydden commented Oct 4, 2018

arpack depends on LAPACK unconditionally, it may also depends on MPI in that case you also build parallel Arpack (pArpack) part of it. But that's NOT required by deal.II, deal.II can distinguish between Arpack or Arpack + pArpack.

p.s. A side note, I strongly recommend using arpack-ng, which have several important fixes like opencollab/arpack-ng#85 and opencollab/arpack-ng#21

There is an obvious discrepancy.

p.p.s. In Spack we always build Arpack with MPI, but that's just a convenience decision solely for Spack.

@tamiko
Copy link
Member

tamiko commented Oct 5, 2018

I think this question has been resolved let's close the issue for the time being. 😺

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

No branches or pull requests

3 participants