This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Fenics on Windows10 Ubuntu-subsystem

+1 vote

This is not of utmost importance. But if anyone did it, knows what i could try or knows, that it wont work, i would be very thankful.

I am trying to run my fenics-python-code on the Windows10 ubuntu-linux-subsystem. Its running on ubuntu 16, but not on this new subsystem. I am pretty sure, i used the same installation routine on both systems.

I installed fenics using "sudo add-apt-repository ppa:fenics-packages/fenics" on both systems and updated the used packages (maybe not all on windows?) using pip.

The packages i use:

fenics import
petsc4py
numpy
os
scipy.sparse
scipy
scipy.sparse.linalg
timeit
multiprocessing
matplotlib.pyplot

The error message i get under windows10-ubuntu:

[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range
[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
[0]PETSC ERROR: or see http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind[0]PETSC ERROR: or try http://valgrind.org on GNU/linux and Apple Mac OS X to find memory corruption errors
[0]PETSC ERROR: configure using --with-debugging=yes, recompile, link, and run

[0]PETSC ERROR: to get more information on the crash.

MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 2112380523.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.

You may or may not see output from other processes, depending on exactly when Open MPI kills them.

asked Dec 30, 2016 by titusf FEniCS Novice (570 points)

Did you install petsc4py and NumPy using pip? That is not a good idea since they are build time dependencies for DOLFIN.

I have not tried to run FEniCS on Windows 10 with Ubuntu, so I cannot say if it should work or not.

...