Some issues with installing on Linux

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Sietse Achterop
Posts: 72
Joined: Tue Sep 14, 2021 3:01 am

Some issues with installing on Linux

Post by Sietse Achterop » Thu Dec 09, 2021 12:47 pm

Hello List,
I installed opensim from source on a few Ubuntu 20.04 and Debian 11.1 machines. I used the ad hoc script below, derived from the version in github.
There are 3 issues that I want to mention.

== 1 ==
Very recently some libraries are not properly placed in the final opensim directory. This was on all machines. I corrected as follows:

Code: Select all

cd  opensim/sdk/lib
ln -s libadolc.so.2.1.0 libadolc.so.2
cp ../../../opensim_dependencies_install/ipopt/lib/libipopt.so.1.10.8 .
ln -s libipopt.so.1.10.8 libipopt.so.1
Now opensim works on all machines

== 2==
On the debian machines opensim crashed when more than one constraint was used in the model.The offending frame mostly was in libopenblas.so.
I installed the "unstable" version of it from Debian/sid and that did seem to solve it.
So the debian machines now work completely!

== 3 ==
However on the Ubuntu machines Inverse Kinematics does not work anymore.
The problem is that there immediately is the following error:

Code: Select all

[error] InverseKinematicsTool Failed: Timestamp at row 0 with value 0,000000 is greater-than/equal to timestamp at row 1 with value 0,000000
	Thrown at TimeSeriesTable.h:491 in validateRow().
This for all models, also the standard examples from the Models directory.
But the error clearly is wrong. Here the first 2 rows from a simple example.

Code: Select all

0       0.0     5.0000  0.8250  0.0000  13.8000 0.1500  0.0000  14.4000 0.1500  0.0000
1       0.02    5.0000  0.8250  0.0000  13.8234 0.1500  0.0000  14.4234 0.1500  0.0000
What could be wrong here?
Attachments
make_script.txt
(2.36 KiB) Downloaded 12 times

User avatar
Sietse Achterop
Posts: 72
Joined: Tue Sep 14, 2021 3:01 am

Re: Some issues with installing on Linux

Post by Sietse Achterop » Mon Jan 17, 2022 2:12 am

The problem on Ubuntu does NOT occur if you use the command line tool, as in:

Code: Select all

opensim-cmd  run-tool push_Setup_IK.xml

User avatar
Ayman Habib
Posts: 2235
Joined: Fri Apr 01, 2005 12:24 pm

Re: Some issues with installing on Linux

Post by Ayman Habib » Mon Jan 17, 2022 10:47 am

Thanks for reporting, Sietse.

The error message in IK seems to be a locale issue since it refers to "0,00000" which uses the European floating point notation. Can you check the locale or run in US locale?

Best regards,
-Ayman

User avatar
Sietse Achterop
Posts: 72
Joined: Tue Sep 14, 2021 3:01 am

Re: Some issues with installing on Linux

Post by Sietse Achterop » Mon Jan 17, 2022 2:14 pm

You're correct, setting /etc/default/locale to

LANG=en_US.UTF-8
LANGUAGE="en_US:en"

solved the issue!

POST REPLY