I have installed fenicsx on my ubuntu 20.04 using:
“”"
add-apt-repository ppa:fenics-packages/fenics
apt update
apt install fenicsx
“”"
everything goes smoothly but the fenicsx version that I get is 0.4.1.2. The problem is that in this version, dolfinx.cpp.mesh.MeshTags_int32 does not have the attribute “find”.
Is there a way to have newer versions of fenicsx on ubuntu 20.04?
ubuntu 20.04 does not have a sufficiently new version of gcc and petsc, so we can’t build the more recent versions of dolfinx on ubuntu 20.04.
If you have admin permissions, I’d strongly recommend upgrading your ubuntu installation if possible (it’s easy to do)
I found out that I can find have the same functionality using “np.where(MeshTags.values == 2)[0]” but still it would be great to see if we can have more recent versions of fenicsx on ubuntu 20.04.
Thanks for your response. Will try to do that.