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

PETSc fails to build with ML #872

Open
dajuno opened this issue Nov 6, 2015 · 2 comments
Open

PETSc fails to build with ML #872

dajuno opened this issue Nov 6, 2015 · 2 comments

Comments

@dajuno
Copy link

dajuno commented Nov 6, 2015

Hello.

I'm trying to build fenics which uses petsc with ML. However, the petsc compilation fails on my system (ArchLinux) during the compilation of ML, which is downloaded from https://bitbucket.org/petsc/pkg-ml.git. Compiling without ML works.

I stripped down the yaml file to build petsc with ML alone, the same error occurs:

extends:
- file: arch.yaml
packages:
  mpi:
    use: mpich
  blas:
    use: openblas
  petsc:
    version: '3.6.1'
    download: ml
    coptflags: -O2
    link: shared
    debug: false

(blas and mpi were required)

Here is the build.log.

Best, David

@johannesring
Copy link
Contributor

This looks like the same problem. I didn't know that the ML build system is using Perl. Maybe you can try to build PETSc with Perl? Like this:

  ...
  petsc:
    build_with: |
      perl
    ...

@dajuno
Copy link
Author

dajuno commented Nov 9, 2015

That did it!
Thanks

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