Hello!
When I try to run my program with
docker run --rm -v instant-cache:/home/fenics/.instant -v $(pwd):/home/fenics/shared \
-w /home/fenics/shared quay.io/fenicsproject/stable "python test.py"
I get the error:
File "test.py", line 5, in <module>
V = FunctionSpace(mesh, 'Lagrange', 3)
File "/usr/local/lib/python2.7/dist-packages/dolfin/functions/functionspace.py", line 206,
in __init__
self._init_convenience(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/dolfin/functions/functionspace.py", line 258, in _init_convenience
constrained_domain=constrained_domain)
File "/usr/local/lib/python2.7/dist-packages/dolfin/functions/functionspace.py", line 224, in _init_from_ufl
dolfin_element, dolfin_dofmap = _compile_dolfin_element(element, mesh, constrained_domain=constrained_domain)
File "/usr/local/lib/python2.7/dist-packages/dolfin/functions/functionspace.py", line 89, in _compile_dolfin_element
ufc_element, ufc_dofmap = jit(element, mpi_comm=mesh.mpi_comm())
File "/usr/local/lib/python2.7/dist-packages/dolfin/compilemodules/jit.py", line 65, in mpi_jit
return local_jit(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/dolfin/compilemodules/jit.py", line 124, in jit
result = ffc.jit(ufl_object, parameters=p)
File "/usr/local/lib/python2.7/dist-packages/ffc/jitcompiler.py", line 201, in jit
module = jit_build_with_instant(ufl_object, module_name, parameters)
File "/usr/local/lib/python2.7/dist-packages/ffc/jitcompiler.py", line 101, in jit_build_with_instant
write_code(code_h, code_c, module_name, parameters)
File "/usr/local/lib/python2.7/dist-packages/ffc/formatting.py", line 136, in write_code
_write_file(code_h, prefix, ".h", parameters)
File "/usr/local/lib/python2.7/dist-packages/ffc/formatting.py", line 161, in _write_file
with open(filename, "w") as hfile:
IOError: [Errno 13] Permission denied: './ffc_element_478f00bfd860ae989df3918531d699e4a2ab34be.h'
The examples in the Fenicsproject folder work however. What should I do?