Hi all,
I just installed fenics from source via hashdist on Linux. I had a
problem with PETSc and ML
(https://www.mail-archive.com/[email protected]/msg02887.html),
but disabling the download of ML let me compile the source successfully
(actually, what are the downsides of omitting ML?). However, now the
Poisson demo d1_p2D.py fails in the call of FunctionSpace():
from dolfin import *
mesh = UnitSquareMesh(6, 4) # <-- btw, had to add Mesh here to
UnitSquare()
V = FunctionSpace(mesh, 'Lagrange', 1)
gives the message:
Calling FFC just-in-time (JIT) compiler, this may take some time.
Traceback (most recent call last):
File "/home/david/work/fenics/demo.py", line 4, in <module>
V = FunctionSpace(mesh, 'Lagrange', 1)
File
"/home/david/.hashdist/bld/profile/nemsbmvk2e4z/lib/python2.7/site-packages/dolfin/functions/functionspace.py",
line 468, in __init__
FunctionSpaceBase.__init__(self, mesh, element, constrained_domain)
File
"/home/david/.hashdist/bld/profile/nemsbmvk2e4z/lib/python2.7/site-packages/dolfin/functions/functionspace.py",
line 153, in __init__
ufc_element, ufc_dofmap = jit(self._ufl_element,
mpi_comm=mesh.mpi_comm())
File
"/home/david/.hashdist/bld/profile/nemsbmvk2e4z/lib/python2.7/site-packages/dolfin/compilemodules/jit.py",
line 64, in mpi_jit
return local_jit(*args, **kwargs)
File
"/home/david/.hashdist/bld/profile/nemsbmvk2e4z/lib/python2.7/site-packages/dolfin/compilemodules/jit.py",
line 128, in jit
return form_compiler.jit(form, parameters=p)
File
"/home/david/.hashdist/bld/profile/nemsbmvk2e4z/lib/python2.7/site-packages/ffc/jitcompiler.py",
line 72, in jit
return jit_element(ufl_object, parameters)
File
"/home/david/.hashdist/bld/profile/nemsbmvk2e4z/lib/python2.7/site-packages/ffc/jitcompiler.py",
line 180, in jit_element
compiled_form, module, prefix = jit_form(form, parameters)
File
"/home/david/.hashdist/bld/profile/nemsbmvk2e4z/lib/python2.7/site-packages/ffc/jitcompiler.py",
line 130, in jit_form
parameters=parameters)
File
"/home/david/.hashdist/bld/profile/nemsbmvk2e4z/lib/python2.7/site-packages/ffc/compiler.py",
line 180, in compile_form
write_code(code_h, code_c, prefix, parameters) # FIXME: Don't write
to file in this function (issue #72)
File
"/home/david/.hashdist/bld/profile/nemsbmvk2e4z/lib/python2.7/site-packages/ffc/formatting.py",
line 99, in write_code
_write_file(code_h, prefix, ".h", parameters)
File
"/home/david/.hashdist/bld/profile/nemsbmvk2e4z/lib/python2.7/site-packages/ffc/formatting.py",
line 118, in _write_file
with open(filename, "w") as hfile:
IOError: [Errno 13] Permission denied:
'./ffc_form_030172ac36a54f6832c74e6833003d3326a83aa3.h'
The file ffc_form_*.h has permissons '644'.
Does anyone know what's wrong? Thanks for the advice!
-- David
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics