cmake_packages?
Hi,
Do anyone know what has happened to my dolfin installation? I'm all of a sudden getting these error messages with build_module() got an unexpected keyword argument 'cmake_packages'. I've installed the latest ffc, ufc and ufl and I've rebuilt trunk dolfin. Any help appreciated.
Best regards
Mikael
8 mesh = IntervalMesh(100, r0, r1)
----> 9 V = FunctionSpace(mesh, 'CG', 1)
10 u = TrialFunction(V)
11 v = TestFunction(V)
/home/mikael/
375
376 # Initialize base class
--> 377 FunctionSpaceBa
378
379 self.___degree = degree
/home/mikael/
77
78 # JIT-compile element to get ufc_element and ufc_dofmap
---> 79 ufc_element, ufc_dofmap = jit(self.
80
81 # Instantiate DOLFIN FiniteElement and DofMap
/home/mikael/
64 # Just call JIT compiler when running in serial
65 if MPI.num_processes() == 1:
---> 66 return local_jit(*args, **kwargs)
67
68 # Compile first on process 0
/home/mikael/
152 raise RuntimeError, "Form compiler must implement the jit function."
153
--> 154 return jit_compile(form, parameters=p, common_
/home/mikael/
73 # Check if we get an element or a form
74 if isinstance(
---> 75 return jit_element(
76 else:
77 return jit_form(
/home/mikael/
242
243 # Compile form
--> 244 compiled_form, module, form_data, prefix = jit_form(form, parameters)
245
246 return _extract_
/home/mikael/
210 cppargs = parameters[
211 if parameters[
--> 212 cache_dir = cache_dir)
213
214 # Remove code
/home/mikael/
62 system_headers = system_headers,
63 cmake_packages = ["UFC"],
---> 64 **kwargs)
65
66 def extract_
TypeError: build_module() got an unexpected keyword argument 'cmake_packages'
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Mikael Mortensen
- Solved:
- 2013-02-06
- Last query:
- 2013-02-06
- Last reply:
- 2013-02-06
Kent-Andre Mardal (kent-and) said : | #1 |
Try updating instant
On Wednesday, 6 February 2013, Mikael Mortensen wrote:
> New question #221211 on DOLFIN:
> https:/
>
> Hi,
>
> Do anyone know what has happened to my dolfin installation? I'm all of a
> sudden getting these error messages with build_module() got an unexpected
> keyword argument 'cmake_packages'. I've installed the latest ffc, ufc and
> ufl and I've rebuilt trunk dolfin. Any help appreciated.
>
> Best regards
>
> Mikael
>
>
> 8 mesh = IntervalMesh(100, r0, r1)
> ----> 9 V = FunctionSpace(mesh, 'CG', 1)
> 10 u = TrialFunction(V)
> 11 v = TestFunction(V)
>
> /home/mikael/
> in __init__(self, mesh, family, degree, form_degree, restriction)
> 375
> 376 # Initialize base class
>
> --> 377 FunctionSpaceBa
> 378
> 379 self.___degree = degree
>
> /home/mikael/
> in __init__(self, mesh, element)
> 77
> 78 # JIT-compile element to get ufc_element and ufc_dofmap
>
> ---> 79 ufc_element, ufc_dofmap = jit(self.
> 80
> 81 # Instantiate DOLFIN FiniteElement and DofMap
>
>
> /home/mikael/
> in mpi_jit(*args, **kwargs)
> 64 # Just call JIT compiler when running in serial
>
> 65 if MPI.num_processes() == 1:
> ---> 66 return local_jit(*args, **kwargs)
> 67
> 68 # Compile first on process 0
>
>
> /home/mikael/
> in jit(form, form_compiler_
> 152 raise RuntimeError, "Form compiler must implement the jit
> function."
> 153
> --> 154 return jit_compile(form, parameters=p, common_
>
> /home/mikael/
> in jit(ufl_object, parameters, common_cell)
> 73 # Check if we get an element or a form
>
> 74 if isinstance(
> ---> 75 return jit_element(
> 76 else:
> 77 return jit_form(
>
> /home/mikael/
> in jit_element(
> 242
> 243 # Compile form
>
> --> 244 compiled_form, module, form_data, prefix = jit_form(form,
> parameters)
> 245
> 246 return _extract_
>
> /home/mikael/
> in jit_form(form, parameters, common_cell)
> 210 cppargs = parameters[
> 211 if parameters[
> --> 212 cache_dir = cache_dir)
> 213
> 214 # Remove code
>
>
> /home/mikael/
> in build_ufc_
> swig_path, **kwargs)
> 62 system_headers =
> system_headers,
> 63 cmake_packages = ["UFC"],
> ---> 64 **kwargs)
> 65
> 66 def extract_
>
> TypeError: build_module() got an unexpected keyword argument
> 'cmake_packages'
>
>
> --
> You received this question notification because you are a member of
> DOLFIN Team, which is an answer contact for DOLFIN.
>
Takk Kent:-)