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

require fortran compilers for Openblas and Openmpi #1079

Merged
merged 2 commits into from
Jun 20, 2016

Conversation

davydden
Copy link
Member

this is meant to prevent delayed compiler errors for packages which need MPI/Blas/Lapack with Fortran whereas specific implementations are build without Fortran.

At some point one would need to add an option +fortran for virtual packages (mpi, blas, lapack) and propagate it to particular implementations (openmpi, openblas, mpich, etc). Then ifs will change to if (self.compiler.f77 is None) and ('+fortran' in spec):. In other words, one would still need those ifs to throw an error.

@davydden
Copy link
Member Author

this is also related to the discussion in #896

@citibeth
Copy link
Member

Looks OK to me. Why would someone want to use BLAS without Fortran?

@tgamblin tgamblin merged commit 8bdb669 into spack:develop Jun 20, 2016
alalazo added a commit to epfl-scitas/spack that referenced this pull request Jun 20, 2016
…tran)

Building OpenMPI without fortran is possible, and was already handled.
 Raising an install error we effectively renounce at clang+OpenMPI.

 build_environment : sets 'CC', 'CXX', and similar variables only if a compiler is found
@alalazo alalazo mentioned this pull request Jun 20, 2016
3 tasks
tgamblin added a commit that referenced this pull request Jun 20, 2016
@davydden davydden deleted the pkg/blas_mpi_fortran branch May 28, 2017 21:01
olupton pushed a commit to olupton/spack that referenced this pull request Feb 7, 2022
Truncate dependency trees a bit more. These should really not end up in
applications.
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

Successfully merging this pull request may close these issues.

None yet

3 participants