Hello.
I have installed FFC, FIAT, Instant and UFL. Than i have downloaded DOLFIN
from bitbucket, but when i try to build it i have an error:
[roma@LIV-ROMA build]$ make
Scanning dependencies of target dolfin
[ 0%] Building CXX object
dolfin/CMakeFiles/dolfin.dir/fem/SystemAssembler.cpp.o
[ 1%] Building CXX object
dolfin/CMakeFiles/dolfin.dir/fem/NonlinearVariationalProblem.cpp.o
[ 1%] Building CXX object dolfin/CMakeFiles/dolfin.dir/fem/solve.cpp.o
[ 2%] Building CXX object
dolfin/CMakeFiles/dolfin.dir/fem/LinearTimeDependentProblem.cpp.o
[ 2%] Building CXX object dolfin/CMakeFiles/dolfin.dir/fem/UFC.cpp.o
[ 2%] Building CXX object
dolfin/CMakeFiles/dolfin.dir/fem/MultiMeshAssembler.cpp.o
/home/roma/Downloads/dolfin/dolfin/fem/MultiMeshAssembler.cpp: In member
function 'void
dolfin::MultiMeshAssembler::_assemble_cut_cells(dolfin::GenericTensor&,
const dolfin::MultiMeshForm&)':
/home/roma/Downloads/dolfin/dolfin/fem/MultiMeshAssembler.cpp:245:60:
error: no matching function for call to
'ufc::custom_integral::tabulate_tensor(double*, double**, double*, const
size_t&, const double*, const double*, int, int&)'
ufc_cell.orientation);
^
/home/roma/Downloads/dolfin/dolfin/fem/MultiMeshAssembler.cpp:245:60: note:
candidate is:
In file included from
/home/roma/Downloads/dolfin/dolfin/ale/MeshDisplacement.h:25:0,
from /home/roma/Downloads/dolfin/dolfin/mesh/Mesh.h:38,
from /home/roma/Downloads/dolfin/dolfin/mesh/Cell.h:33,
from
/home/roma/Downloads/dolfin/dolfin/fem/MultiMeshAssembler.cpp:28:
/usr/include/ufc.h:398:18: note: virtual void
ufc::custom_integral::tabulate_tensor(double*, const double* const*, const
double*, std::size_t, const double*, const double*, int) const
virtual void tabulate_tensor(double* A,
^
/usr/include/ufc.h:398:18: note: candidate expects 7 arguments, 8 provided
/home/roma/Downloads/dolfin/dolfin/fem/MultiMeshAssembler.cpp: In member
function 'void
dolfin::MultiMeshAssembler::_assemble_interface(dolfin::GenericTensor&,
const dolfin::MultiMeshForm&)':
/home/roma/Downloads/dolfin/dolfin/fem/MultiMeshAssembler.cpp:413:60:
error: no matching function for call to
'ufc::custom_integral::tabulate_tensor(double*, const double* const*,
double*, const size_t&, const double*, const double*, const double*, const
int&)'
cell_orientation);
^
/home/roma/Downloads/dolfin/dolfin/fem/MultiMeshAssembler.cpp:413:60: note:
candidate is:
In file included from
/home/roma/Downloads/dolfin/dolfin/ale/MeshDisplacement.h:25:0,
from /home/roma/Downloads/dolfin/dolfin/mesh/Mesh.h:38,
from /home/roma/Downloads/dolfin/dolfin/mesh/Cell.h:33,
from
/home/roma/Downloads/dolfin/dolfin/fem/MultiMeshAssembler.cpp:28:
/usr/include/ufc.h:398:18: note: virtual void
ufc::custom_integral::tabulate_tensor(double*, const double* const*, const
double*, std::size_t, const double*, const double*, int) const
virtual void tabulate_tensor(double* A,
^
/usr/include/ufc.h:398:18: note: candidate expects 7 arguments, 8 provided
/home/roma/Downloads/dolfin/dolfin/fem/MultiMeshAssembler.cpp: In member
function 'void
dolfin::MultiMeshAssembler::_assemble_overlap(dolfin::GenericTensor&, const
dolfin::MultiMeshForm&)':
/home/roma/Downloads/dolfin/dolfin/fem/MultiMeshAssembler.cpp:574:60:
error: no matching function for call to
'ufc::custom_integral::tabulate_tensor(double*, const double* const*,
double*, const size_t&, const double*, const double*, int, const int&)'
cell_orientation);
^
/home/roma/Downloads/dolfin/dolfin/fem/MultiMeshAssembler.cpp:574:60: note:
candidate is:
In file included from
/home/roma/Downloads/dolfin/dolfin/ale/MeshDisplacement.h:25:0,
from /home/roma/Downloads/dolfin/dolfin/mesh/Mesh.h:38,
from /home/roma/Downloads/dolfin/dolfin/mesh/Cell.h:33,
from
/home/roma/Downloads/dolfin/dolfin/fem/MultiMeshAssembler.cpp:28:
/usr/include/ufc.h:398:18: note: virtual void
ufc::custom_integral::tabulate_tensor(double*, const double* const*, const
double*, std::size_t, const double*, const double*, int) const
virtual void tabulate_tensor(double* A,
^
/usr/include/ufc.h:398:18: note: candidate expects 7 arguments, 8 provided
make[2]: *** [dolfin/CMakeFiles/dolfin.dir/fem/MultiMeshAssembler.cpp.o]
Error 1
make[1]: *** [dolfin/CMakeFiles/dolfin.dir/all] Error 2
make: *** [all] Error 2
Why is it so?
--
Faithfully yours, Roman I. Liverovskiy
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support