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

fenics fails to install on current unstable as of Dec 18 2019 #75886

Closed
rht opened this issue Dec 18, 2019 · 2 comments · Fixed by #82356
Closed

fenics fails to install on current unstable as of Dec 18 2019 #75886

rht opened this issue Dec 18, 2019 · 2 comments · Fixed by #82356
Labels

Comments

@rht
Copy link
Member

rht commented Dec 18, 2019

Describe the bug
fenics fails to install with this error message:

builder for '/nix/store/6zyraw3jpd9aba418m419hf02bbcyp6d-python3.7-fiat-2017.1.0.drv' failed with exit code 127; last 10 log lines:
  /build/fiat-2017.1.0
  Finished executing pipInstallPhase
  post-installation fixup
  shrinking RPATHs of ELF executables and libraries in /nix/store/1i6adsv9cpwsis6zg9blkpdnk7fdymkz-python3.7-fiat-2017.1.0
  strip is /nix/store/a9ms1pkj00sgssxqr2cvryv3h5fki4an-binutils-2.31.1/bin/strip
  stripping (with command strip and flags -S) in /nix/store/1i6adsv9cpwsis6zg9blkpdnk7fdymkz-python3.7-fiat-2017.1.0/lib 
  patching script interpreter paths in /nix/store/1i6adsv9cpwsis6zg9blkpdnk7fdymkz-python3.7-fiat-2017.1.0
  checking for references to /build/ in /nix/store/1i6adsv9cpwsis6zg9blkpdnk7fdymkz-python3.7-fiat-2017.1.0...
  running install tests
  /nix/store/whpnlfj79vd8p175rp1bwg0x7wz5lmj1-stdenv-linux/setup: line 1299: py.test: command not found

To Reproduce
Run nix-build with allowUnsupportedSystem = true.

@rht rht added the 0.kind: bug Something is broken label Dec 18, 2019
@rht
Copy link
Member Author

rht commented Dec 18, 2019

Requesting @jamtrott to update fenics to 2019.1.0

@knedlsepp
Copy link
Member

knedlsepp commented Dec 26, 2019

@rht @jamtrott Did try upgrading (and actually fixing stuff on Linux): master...knedlsepp:bump-fenics. Got most of it building (some things are known issues, e.g. incompatibility with newer pytest versions). I'm however still having trouble running a simple example, which crashes with a segmentation fault:

from fenics import *

mesh = UnitSquareMesh(8, 8)
V = FunctionSpace(mesh, 'P', 1)

u_D = Expression('1 + x[0]*x[0] + 2*x[1]*x[1]', degree=2)

def boundary(x, on_boundary):
    return on_boundary

bc = DirichletBC(V, u_D, boundary)

u = TrialFunction(V)
v = TestFunction(V)
f = Constant(-6.0)
a = dot(grad(u), grad(v))*dx
L = f*v*dx

u = Function(V)
solve(a == L, u, bc)

Any help welcome. (Currently thinking that there different versions of openBLAS in the closure, openblasCompat from numpy and openblas from suitesparse)

knedlsepp added a commit to knedlsepp/nixpkgs that referenced this issue Mar 11, 2020
@knedlsepp knedlsepp mentioned this issue Mar 11, 2020
10 tasks
knedlsepp added a commit to knedlsepp/nixpkgs that referenced this issue Mar 12, 2020
jonringer pushed a commit that referenced this issue Mar 20, 2020
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