Installing fenics_shells Error : “ProjectedAssembler” referenced unknown base type “dolfin::AssemblerBase"

Hi All,

I installed fenics_shells but when I attempt the following

from dolfin import *
from fenics_shells import *

I get the following error:

File “demo_reissner-mindlin-clamped.py”, line 48, in 
from fenics_shells import \*
File “/home/fenics/fenics-shells/fenics_shells/**init**.py”, line 46, in 
from .fem import \*
File “/home/fenics/fenics-shells/fenics_shells/fem/**init**.py”, line 28, in 
cpp = dolfin.compile_cpp_code(projected_assembler_code)
File “/usr/local/lib/python3.6/dist-packages/dolfin/jit/pybind11jit.py”, line 96, in compile_cpp_code
generate=jit_generate)
File “/usr/local/lib/python3.6/dist-packages/dolfin/jit/jit.py”, line 47, in mpi_jit
return local_jit(\*args, \*\*kwargs)
File “/usr/local/lib/python3.6/dist-packages/dolfin/jit/jit.py”, line 103, in dijitso_jit
return dijitso.jit(\*args, \*\*kwargs)
File “/usr/local/lib/python3.6/dist-packages/dijitso/jit.py”, line 212, in jit
lib = load_library(signature, cache_params)
File “/usr/local/lib/python3.6/dist-packages/dijitso/cache.py”, line 363, in load_library
lib = **import**(signature)
ImportError: generic_type: type “ProjectedAssembler” referenced unknown base type “dolfin::AssemblerBase”

Has anyone experience the same error ? “ImportError: generic_type: type “ProjectedAssembler” referenced unknown base type “dolfin::AssemblerBase”

Hello, I am one of the original developers of FEniCS-Shells.

We no longer support the original library (or indeed, DOLFIN) so if it is at all possible I would recommend using FEniCSx-Shells: GitHub - FEniCS-Shells/fenicsx-shells: A FEniCS Project-based library for simulating thin structures which works with DOLFINx. It isn’t yet feature complete in terms of having the ProjectedAssembler, but you can certainly solve Reissner-Mindlin problems in any case.

Thanks @jackhale. Appreciate your response.