-
Hi again, it is me :)
I am quite surprised as the line |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hey @Ziemnono , almost there ! First errorNot sure why you got this link error for SofaBaseMechanics. @fredroy and @hugtalbot it looks like SofaBaseMechanics.so is missing a symbol from topology data, do you guys recently worked on this part? The missing method is: sofa::core::topology::TopologyData<unsigned int, sofa::type::vector<unsigned int, sofa::type::CPUMemoryManager<unsigned int> > >::createTopologyHandler(sofa::core::topology::BaseMeshTopology*, sofa::core::topology::TopologyDataHandler<unsigned int, sofa::type::vector<unsigned int, sofa::type::CPUMemoryManager<unsigned int> > >*) @Ziemnono , you could try to compile the latest SOFA release ( Second errorNext, for this error:
It simply means that SOFA isn't able to find the plugin file
import Sofa
def createScene(root):
root.addObject('RequiredPlugin', name='SofaBaseUtils')
root.addObject('AddPluginRepository ', path='/home/arnaud/dev/sofa/plugins/caribou/build')
root.addObject('RequiredPlugin', name='SofaCaribou')
# (...)
import Sofa
import SofaRuntime
SofaRuntime.PluginRepository.addFirstPath('/home/arnaud/dev/sofa/plugins/caribou/build')
def createScene(root):
root.addObject('RequiredPlugin', name='SofaCaribou')
# (...) Note that since the search is recursive, you could add the path Third errorNow, for the last error:
This is because you didn't compile Caribou with MKL support, hence Pardiso sparse solvers aren't available. You can have a look on the Caribou builder docker image to check how MKL is installed on ubuntu 20.04. To use Eigen sparse solvers (a bit slower but no dependency needed) instead of Pardiso, simply change in your scene root.addObject('LDLTSolver', backend='Pardiso') for root.addObject('LDLTSolver', backend='Eigen') Let me know how that goes! |
Beta Was this translation helpful? Give feedback.
-
Salut @jnbrunet,
I will try to investigate it when I have the time. But thank you very much for your efforts the rest is working perfectly fine :) |
Beta Was this translation helpful? Give feedback.
Hey @Ziemnono , almost there !
First error
Not sure why you got this link error for SofaBaseMechanics. @fredroy and @hugtalbot it looks like SofaBaseMechanics.so is missing a symbol from topology data, do you guys recently worked on this part? The missing method is:
@Ziemnono , you could try to compile the latest SOFA release (
git checkout v21.06
) instead of the m…