Forum Replies Created
-
AuthorPosts
-
18 February 2021 at 14 h 01 min #18721
Hey J-N,
Thanks, I did not specify the path indeed!
Now everything is working fine, very efficient solver!I close the issue, thanks to the consortium!
Have a nice day,
Arnaud18 February 2021 at 10 h 11 min #18717Hi Hugo,
Yes, no problem for me the plugin is working fine. I just found the message a bit strange given that it was working fine 🙂
I am closing the topic, thanks again for your help SOFA consortium!Best,
Arnaud18 February 2021 at 10 h 08 min #18716Hi Hugo,
Thanks for the fix. I checked out on your PR but unfortunately, it is still not compiling… I still have the same error.
When I check the cmake I see that PARDISO_LIB is empty.
I tried to build from scratch with ninja.
Sorry to bother you the PR is super clear.Best
Arnaud17 February 2021 at 10 h 26 min #18699Hi Hugo,
Thanks for replying. I tried with the master version and I obtain the following (quite long and funny) error:[53/54] Linking CXX shared library lib/libSofaPardisoSolver.so.0.1 FAILED: lib/libSofaPardisoSolver.so.0.1 : && /usr/lib/ccache/c++ -fPIC -O3 -DNDEBUG -Wl,--no-undefined -lc -shared -Wl,-soname,libSofaPardisoSolver.so.0.1 -o lib/libSofaPardisoSolver.so.0.1 applications/plugins/SofaPardisoSolver/CMakeFiles/SofaPardisoSolver.dir/SparsePARDISOSolver.cpp.o applications/plugins/SofaPardisoSolver/CMakeFiles/SofaPardisoSolver.dir/initPardisoSolver.cpp.o -L/home/arnaud/dev/sofa/v20.06/src/applications/plugins/SofaPardisoSolver/extlibs -Wl,-rpath,/home/arnaud/dev/sofa/v20.06/src/applications/plugins/SofaPardisoSolver/extlibs:/home/arnaud/dev/sofa/v20.06/build/lib::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: lib/libSofaBase.so.20.12.99 lib/libSofaGeneral.so.20.12.99 -lSofaSimulationTree -lgfortran -lblas -llapack -lgomp lib/libSofaGeneralAnimationLoop.so.20.12.99 lib/libSofaSimulationCommon.so.20.12.99 lib/libSofaGeneralDeformable.so.20.12.99 lib/libSofaGeneralEngine.so.20.12.99 lib/libSofa.GL.so.20.12.99 /usr/lib/x86_64-linux-gnu/libGLU.so /usr/lib/x86_64-linux-gnu/libGLX.so /usr/lib/x86_64-linux-gnu/libOpenGL.so /usr/lib/x86_64-linux-gnu/libGLEW.so lib/libSofaGeneralExplicitOdeSolver.so.20.12.99 lib/libSofaGeneralImplicitOdeSolver.so.20.12.99 lib/libSofaGeneralLinearSolver.so.20.12.99 lib/libSofaGeneralRigid.so.20.12.99 lib/libSofaGeneralObjectInteraction.so.20.12.99 lib/libSofaConstraint.so.20.12.99 lib/libSofaUserInteraction.so.20.12.99 lib/libSofaBoundaryCondition.so.20.12.99 lib/libSofaGeneralMeshCollision.so.20.12.99 lib/libSofaMeshCollision.so.20.12.99 lib/libSofaBaseCollision.so.20.12.99 lib/libSofaObjectInteraction.so.20.12.99 lib/libSofaRigid.so.20.12.99 lib/libSofaGeneralVisual.so.20.12.99 lib/libSofaBaseVisual.so.20.12.99 lib/libSofaGraphComponent.so.20.12.99 lib/libSofaBaseUtils.so.20.12.99 lib/libSofaTopologyMapping.so.20.12.99 lib/libSofaGeneralSimpleFem.so.20.12.99 lib/libSofaBaseMechanics.so.20.12.99 lib/libSofaGeneralTopology.so.20.12.99 lib/libSofaDeformable.so.20.12.99 lib/libSofaEigen2Solver.so.20.12.99 lib/libSofaSimpleFem.so.20.12.99 lib/libSofaBaseLinearSolver.so.20.12.99 lib/libSofaBaseTopology.so.20.12.99 lib/libSofaImplicitOdeSolver.so.20.12.99 lib/libSofaGeneralLoader.so.20.12.99 lib/libSofaSimulationCore.so.20.12.99 lib/libSofaCore.so.20.12.99 lib/libSofaDefaultType.so.20.12.99 lib/libSofaHelper.so.20.12.99 lib/libSofa.Type.so.20.12.99 lib/libSofa.Config.so.20.12.99 /usr/lib/x86_64-linux-gnu/libboost_system.so /usr/lib/x86_64-linux-gnu/libboost_filesystem.so /usr/lib/x86_64-linux-gnu/libboost_program_options.so /usr/lib/x86_64-linux-gnu/libboost_thread.so /usr/lib/x86_64-linux-gnu/libboost_chrono.so /usr/lib/x86_64-linux-gnu/libboost_date_time.so /usr/lib/x86_64-linux-gnu/libboost_atomic.so lib/libgtest.so.2.6.2 -pthread /usr/lib/x86_64-linux-gnu/libz.so -Wl,-rpath-link,/home/arnaud/dev/sofa/v20.06/build/lib && : /usr/bin/ld: cannot find -lSofaSimulationTree
Unfortunately, I did not find the solution…
Best,
Arnaud5 February 2021 at 17 h 50 min #18543Hi Hugo,
I tried to update my branch 1 month ago but it did not work. Do you want me to try on the new release branch?
I still have this strange message but the thing is that I can still use my plugin’s class. So, in the end, it is not a big problem, it was just to let you know that I had this message despite my working plugin 🙂No problem, have a nice weekend,
Arnaud18 January 2021 at 16 h 47 min #18244Hi Hugo,
Sorry for not having given any news…
Unfortunately, I tried to merge the PM on my SOFA but it did not work.Best,
Arnaud18 January 2021 at 16 h 45 min #18243Hi Hugo,
Sorry for replying after the weekend…
Good news for the plugin! Let me know when I can access it!
Unfortunately, yes I still have the same issue…Have a nice day,
Arnaud7 December 2020 at 13 h 48 min #17967Hi all,
I still do obtain the same error even by recreating another build.7 December 2020 at 13 h 39 min #17966Little update:
By pulling, many DEPRECATED arise and I have some issue for compiling just SOFA (on STL mesh if I remember) so I think it is maybe not suitable to be up to date.
Here is the last commit that I have on master:commit 97060f71c42287699823c7d3548d06c8c4ef8af7 (HEAD -> master) Merge: 2bf81d557a 1be78658a5 Author: Guillaume Paran <guillaume.paran@sofa-framework.org> Date: Mon Nov 2 14:43:12 2020 +0100 Merge pull request #1563 from fredroy/modularize_general_animloop [SofaGeneral] Pluginize SofaGeneralAnimationLoop
Best,
7 December 2020 at 10 h 33 min #17961Hi Hugo,
Thank you for your reply, I will try to erase the build and build from scratch and let you know 🙂
Best,7 December 2020 at 10 h 31 min #17960Hi Froy and Hugo,
Sorry I was not connected this weekend.
For my SOFA version, I am on the master branch but did not pull for a while.
I am trying a pull and will let you know.Best,
2 December 2020 at 14 h 45 min #17827Hi Froy,
Indeed, I did not include the
getModuleName()
in the init.cpp!
Now I can properly load the plugin and use it, many thanks!I still have a little interrogation.
When I am running SOFA I obtain the following message:[INFO] [PluginManager] Loaded plugin: /home/arnaud/dev/sofa/v20.06/build3/lib/libSofaAdvancedFEM.so [INFO] [PluginManager] Plugin not found in loaded plugins: SofaAdvancedFEM
Which states that SOFA loaded the plugin but did not find it. But I can actually use without any problem the object of my plugin… Do you have any idea why?
Thank you again,
2 December 2020 at 9 h 40 min #17825Thank you for your answer Froy!
Now it is done but I am bumping into another obstacle when I am running SOFA:terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_M_construct null not valid ########## SIG 6 - SIGABRT: usually caused by an abort() or assert() ########## -> /home/arnaud/dev/sofa/v20.06/build2/lib/libSofaHelper.so.20.06.99(sofa::helper::BackTrace::dump()+0x27) [0x7f417169c2b7] -> /home/arnaud/dev/sofa/v20.06/build2/lib/libSofaHelper.so.20.06.99(sofa::helper::BackTrace::sig(int)+0x1d6) [0x7f417169c656] -> /lib/x86_64-linux-gnu/libc.so.6(+0x46210) [0x7f4171168210] -> /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb) [0x7f417116818b] -> /lib/x86_64-linux-gnu/libc.so.6(abort+0x12b) [0x7f4171147859] -> /lib/x86_64-linux-gnu/libstdc++.so.6(+0x9e951) [0x7f41713cd951] -> /lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa47c) [0x7f41713d947c] -> /lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa4e7) [0x7f41713d94e7] -> /lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa799) [0x7f41713d9799] -> /lib/x86_64-linux-gnu/libstdc++.so.6(std::__throw_logic_error(char const*)+0x41) [0x7f41713d025e] -> /home/arnaud/dev/sofa/v20.06/build2/lib/libSofaHelper.so.20.06.99(sofa::helper::system::PluginManager::checkDuplicatedPlugin(sofa::helper::system::Plugin const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0xad4) [0x7f4171757894] -> /home/arnaud/dev/sofa/v20.06/build2/lib/libSofaHelper.so.20.06.99(sofa::helper::system::PluginManager::loadPluginByPath(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::ostream*)+0x10eb) [0x7f417175ab2b] -> /home/arnaud/dev/sofa/v20.06/build2/lib/libSofaHelper.so.20.06.99(sofa::helper::system::PluginManager::loadPluginByName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool, std::ostream*)+0x70) [0x7f417175c170] -> /home/arnaud/dev/sofa/v20.06/build2/lib/libSofaHelper.so.20.06.99(sofa::helper::system::PluginManager::readFromIniFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x646) [0x7f417175d826] -> ./runSofa(+0x157a6) [0x55cf77f917a6] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f41711490b3] -> ./runSofa(+0x168ce) [0x55cf77f928ce] Aborted (core dumped
A problem with the plugin name?
1 December 2020 at 15 h 10 min #17821Hi Froy,
Thank you for your super quick answer!
The first error is not urgent for the moment but I will ping you if I cannot solve the issue.
As for the second one, indeed, replacing SofaComponentBase by SofaBase in the Cmake fixed the issue of the build 😉Once the build is done, I am running runSofa and obtain the following error:
[ERROR] [PluginManager] Plugin loading failed (/home/arnaud/dev/sofa/v20.06/build3/lib/libSofaAdvancedFEM.so): /home/arnaud/dev/sofa/v20.06/build3/lib/libSofaAdvancedFEM.so: undefined symbol: _ZNK4sofa9component8topology30NumericalIntegrationDescriptorIfLi3EE19getQuadratureMethodENS3_16QuadratureMethodEm [ERROR] [PluginManager] Plugin not found: "Modeler" Warning: Setting a new default format with a different version or profile after the global shared context is created may cause issues with context sharing. The constructor with a QGLFormat is deprecated, use the regular contructor instead.
So for Modeler, I suppose maybe it is not supported anymore or has been replaced. As for the second one, I have no idea why the lib has such undefined symbol.. Do you have any idea?
EDIT: I cleaned the Cmake file and got rid of the Modeler
Merci12 June 2020 at 10 h 26 min #16609Hi Hugo,
Thank you for your reply, I checked out on the master branch and it worked!
Have a nice day, best,Arnaud
-
AuthorPosts