Open saehuber opened 6 days ago
@saehuber, thanks for reporting. Before we start looking for CMake bugs, could you confirm that the opensim_dependencies_install
folder contains ipopt
and colpack
folders. If not, you probably need to set OPENSIM_WITH_TROPTER=ON
and OPENSIM_WITH_CASADI=ON
when building the dependencies CMake project.
Thanks! Yes, ipopt
and colpack
both built correctly during the dependencies build and are in the opensim_dependencies_install
folder.
Okay good, thanks for checking that. A couple more questions/commnets:
main
branch or the directly from the 4.5.1
tag?gcc
or clang
instead of icpx
? Similarly, we have not done any testing with this compiler. It is likely that the choice of distro and compiler are breaking the rpaths. If switching to Ubuntu or a different compiler is not an option for you, then @aymanhab or I could try to help sort out the rpath issue.
I'd also add that we use patchelf to modify rpath on linux/ ubuntu.
Thanks, both. I've switched to gcc 12.3
but it's still failing with the same error; unfortunately switching distros is not an option. I'm building from the 4.5.1
tag. Let me know if there's more output that would be helpful in figuring out the rpaths issue.
I think the next things to try are:
libipopt.so.3
and libColPack.so.0
) exist in the dependencies installation directory. And if so...Due to the long list of dependencies, are you sure you want to build tropter or moco altogether for your workflow?
I'm trying to build Opensim 4.5.1 from source on Linux and running into issues. It looks like the copy of libtropter in my build folder is not able to find the ipopt and colpack libraries during the test_derivatives linking step below, though in the configure step, CMake does appear to find these libraries successfully. Maybe something is missing from the cmake setup for this step?
I have the following options set for my configuration
I'm using intel compilers and CMake 3.27.7