Adaptive mesh refinement, problem with boundary terms in linear form
This bug report was converted into a question: question #230492: Adaptive mesh refinement, problem with boundary terms in linear form.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
FEniCS Project |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hello,
when running the attached file the following problem occurs. When I consider
L = inner(f, v)*dx
I can solve a linear elasticity equation with adaptive mesh refinement.
Whenever I include terms with ds in the linear form, like
L = inner(f, v)*dx + inner(g, v)*ds(2)
I receive the following error message:
In instant.recompile: The module did not compile with command 'make VERBOSE=1 ', see '/home/
Traceback (most recent call last):
File "Test_MinimalEx
solve(a == L, u, bc, tol=5.0E-7, M=MF) #Solve adaptively
File "/usr/lib/
_solve_
File "/usr/lib/
solver = AdaptiveLinearV
File "/usr/lib/
ec = generate_
File "/usr/lib/
forms = [Form(form, form_compiler_
File "/usr/lib/
common_cell)
File "/usr/lib/
return local_jit(*args, **kwargs)
File "/usr/lib/
return jit_compile(form, parameters=p, common_
File "/usr/lib/
return jit_form(
File "/usr/lib/
cache_dir = cache_dir)
File "/usr/lib/
**kwargs)
File "/usr/lib/
recompile(
File "/usr/lib/
instant_
File "/usr/lib/
raise RuntimeError(text)
RuntimeError: In instant.recompile: The module did not compile with command 'make VERBOSE=1 ', see '/home/
By choosing a fine mesh manually, I can solve the problem by FEniCS accurately. The PDE is well-posed and numerical locking effects have been taken care of.
It seams to me that there is a bug or what might be the issue?
I am working with FEniCS v1.2 in python.
Thanks in advance,
SJ
FEniCS no longer uses Launchpad for Bugs. Please consult the fenicsproject. org/support/ #reporting- bugs fenicsproject. org/support/>
documentation on the FEniCS web page for where and how to (re)post your
issue: http://
<http://
--
Marie
On 06/07/2013 03:49 PM, Sven Joachim wrote: kimmerle/ .instant/ error/instant_ module_ f85117a588b102c 37e97eb08e8ba64 a1195dcf6a/ compile. log' ample.py" , line 57, in <module> python2. 7/dist- packages/ dolfin/ fem/solving. py", line 264, in solve varproblem_ adaptive( *args, **kwargs) python2. 7/dist- packages/ dolfin/ fem/solving. py", line 339, in _solve_ varproblem_ adaptive ariationalSolve r(problem, M) python2. 7/dist- packages/ dolfin/ fem/adaptivesol ving.py" , line 58, in __init__ error_control( self.problem, goal) python2. 7/dist- packages/ dolfin/ fem/adaptivesol ving.py" , line 150, in generate_ error_control parameters= p) for form in ufl_forms] python2. 7/dist- packages/ dolfin/ fem/form. py", line 56, in __init__ python2. 7/dist- packages/ dolfin/ compilemodules/ jit.py" , line 66, in mpi_jit python2. 7/dist- packages/ dolfin/ compilemodules/ jit.py" , line 154, in jit cell=common_ cell) python2. 7/dist- packages/ ffc/jitcompiler .py", line 77, in jit ufl_object, parameters, common_cell) python2. 7/dist- packages/ ffc/jitcompiler .py", line 212, in jit_form python2. 7/dist- packages/ ufc_utils/ build.py" , line 64, in build_ufc_module python2. 7/dist- packages/ instant/ build.py" , line 541, in build_module modulename, module_path, new_compilation _checksum, build_system) python2. 7/dist- packages/ instant/ build.py" , line 150, in recompile log_filename_ dest)) python2. 7/dist- packages/ instant/ output. py", line 49, in instant_error kimmerle/ .instant/ error/instant_ module_ f85117a588b102c 37e97eb08e8ba64 a1195dcf6a/ compile. log'
> Public bug reported:
>
>
> Hello,
>
> when running the attached file the following problem occurs. When I
> consider
>
> L = inner(f, v)*dx
>
> I can solve a linear elasticity equation with adaptive mesh refinement.
>
> Whenever I include terms with ds in the linear form, like
>
> L = inner(f, v)*dx + inner(g, v)*ds(2)
>
> I receive the following error message:
>
>
> In instant.recompile: The module did not compile with command 'make VERBOSE=1 ', see '/home/
> Traceback (most recent call last):
> File "Test_MinimalEx
> solve(a == L, u, bc, tol=5.0E-7, M=MF) #Solve adaptively
> File "/usr/lib/
> _solve_
> File "/usr/lib/
> solver = AdaptiveLinearV
> File "/usr/lib/
> ec = generate_
> File "/usr/lib/
> forms = [Form(form, form_compiler_
> File "/usr/lib/
> common_cell)
> File "/usr/lib/
> return local_jit(*args, **kwargs)
> File "/usr/lib/
> return jit_compile(form, parameters=p, common_
> File "/usr/lib/
> return jit_form(
> File "/usr/lib/
> cache_dir = cache_dir)
> File "/usr/lib/
> **kwargs)
> File "/usr/lib/
> recompile(
> File "/usr/lib/
> instant_error(msg % (cmd, compile_
> File "/usr/lib/
> raise RuntimeError(text)
> RuntimeError: In instant.recompile: The module did not compile with command 'make VERBOSE=1 ', see '/home/
>
>
> By choosing a fine mesh manually, I can solve the problem by FEniCS accurately. The PDE is well-posed and numerical locking effects ...