Hello all, I tried several times to run IK on mac osx 10.6.3 with ipopt and I always get a "bus" error. When I try with cfsqp, I get an error saying that the library is not found : Can't perform operation: Could not load CFSQP library 'libosimCFSQP.so': dlopen(libosimCFSQP.so, 9): image not found CFSQP optimizer algorithm unavailable. Using the jacobian option, the ik eventually ran :-) Is someone having the same bug? Thanks Guillaume
Hi Guillaume I'm suspecting it's an issue with the SimTKLapack library that we include in the distribution and use to solve various math problems. Could you try an install of SimTKCore 2.0.1 separately and put the .dylib libraries from SimTKCore into the front of the DYLD_LIBRARY_PATH? -Ayman ----- Original Message ----- From: "guillaume rao" <guillaume.rao@univmed.fr> To: <opensim-testers@simtk.org> Sent: Saturday, April 17, 2010 11:31 PM Subject: [Opensim-testers] ik on mac osx Hello all, I tried several times to run IK on mac osx 10.6.3 with ipopt and I always get a "bus" error. When I try with cfsqp, I get an error saying that the library is not found : Can't perform operation: Could not load CFSQP library 'libosimCFSQP.so': dlopen(libosimCFSQP.so, 9): image not found CFSQP optimizer algorithm unavailable. Using the jacobian option, the ik eventually ran :-) Is someone having the same bug? Thanks Guillaume _______________________________________________ Opensim-testers mailing list Opensim-testers@simtk.org https://simtk.org/mailman/listinfo/opensim-testers
Hi Ayman, I found the problem. Under mac osx standard install (at least the 10.6.3 release), there is no .profile file for the terminal under the user profile. This makes the "export" command useless and the scale and ik command cannot fully run. You just have to check whether the .profile file is present or not. After this check, everything works fine thanks! Guillaume On Apr 19, 2010, at 5:36 AM, Ayman Habib wrote:
Hi Guillaume
I'm suspecting it's an issue with the SimTKLapack library that we include in the distribution and use to solve various math problems. Could you try an install of SimTKCore 2.0.1 separately and put the .dylib libraries from SimTKCore into the front of the DYLD_LIBRARY_PATH?
-Ayman ----- Original Message ----- From: "guillaume rao" <guillaume.rao@univmed.fr> To: <opensim-testers@simtk.org> Sent: Saturday, April 17, 2010 11:31 PM Subject: [Opensim-testers] ik on mac osx
Hello all, I tried several times to run IK on mac osx 10.6.3 with ipopt and I always get a "bus" error.
When I try with cfsqp, I get an error saying that the library is not found : Can't perform operation: Could not load CFSQP library 'libosimCFSQP.so': dlopen(libosimCFSQP.so, 9): image not found CFSQP optimizer algorithm unavailable.
Using the jacobian option, the ik eventually ran :-)
Is someone having the same bug? Thanks Guillaume
_______________________________________________ Opensim-testers mailing list Opensim-testers@simtk.org https://simtk.org/mailman/listinfo/opensim-testers
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Guillaume Rao, PhD Institute of Movement Sciences University of the Mediterranean, Marseille, France. E-mail: guillaume.rao@univmed.fr Phone: +33 (0) 4 91 17 04 22 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Hi Guillaume, That's great news. Thanks for the find. If you can send the updated installation instructions that worked for you that would be perfect. Thanks again, -Ayman ----- Original Message ----- From: "guillaume rao" <guillaume.rao@univmed.fr> To: "Ayman Habib" <ahabib@stanford.edu> Cc: <opensim-testers@simtk.org> Sent: Tuesday, April 20, 2010 3:59 AM Subject: Re: [Opensim-testers] ik on mac osx Hi Ayman, I found the problem. Under mac osx standard install (at least the 10.6.3 release), there is no .profile file for the terminal under the user profile. This makes the "export" command useless and the scale and ik command cannot fully run. You just have to check whether the .profile file is present or not. After this check, everything works fine thanks! Guillaume On Apr 19, 2010, at 5:36 AM, Ayman Habib wrote:
Hi Guillaume
I'm suspecting it's an issue with the SimTKLapack library that we include in the distribution and use to solve various math problems. Could you try an install of SimTKCore 2.0.1 separately and put the .dylib libraries from SimTKCore into the front of the DYLD_LIBRARY_PATH?
-Ayman ----- Original Message ----- From: "guillaume rao" <guillaume.rao@univmed.fr> To: <opensim-testers@simtk.org> Sent: Saturday, April 17, 2010 11:31 PM Subject: [Opensim-testers] ik on mac osx
Hello all, I tried several times to run IK on mac osx 10.6.3 with ipopt and I always get a "bus" error.
When I try with cfsqp, I get an error saying that the library is not found : Can't perform operation: Could not load CFSQP library 'libosimCFSQP.so': dlopen(libosimCFSQP.so, 9): image not found CFSQP optimizer algorithm unavailable.
Using the jacobian option, the ik eventually ran :-)
Is someone having the same bug? Thanks Guillaume
_______________________________________________ Opensim-testers mailing list Opensim-testers@simtk.org https://simtk.org/mailman/listinfo/opensim-testers
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Guillaume Rao, PhD Institute of Movement Sciences University of the Mediterranean, Marseille, France. E-mail: guillaume.rao@univmed.fr Phone: +33 (0) 4 91 17 04 22 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Hi Ayman, here are the installation steps I followed under mac osx 10.6.3 to solve the "bus error" message I got: - Open a terminal and type open .profile - If the file opens, just followed the instructions in the manual - if you get an error message saying that the file does not exist, you have to create it. - open a text editor and copy paste the lines below (assuming that you install OpenSim under /Developer/OpenSIm202/) : # shell variables PS1="\n$PS1 " PS2=": " # environment variables export DYLD_LIBRARY_PATH=/Developer/OpenSim202/sdk/lib/ # the path is initially set to "/bin:/sbin:/usr/bin:/usr/sbin" export PATH=$PATH:/usr/local/bin:/usr/local/mysql/bin export PATH=$PATH:/Developer/OpenSim202/bin/ # aliases - save the file with .profile as name, under your user directory - restart the terminal, OpenSim should now work... Hope that helps Guillaume
participants (2)
-
Ayman Habib -
guillaume rao