hashdist / hashstack

Collection of software profiles for HashDist
https://hashdist.github.io/
51 stars 60 forks source link

PETSc fails to build with ML #872

Open dajuno opened 9 years ago

dajuno commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

That did it! Thanks