Page 1 of 2
Static Opt - DLASD4 paramater number -1 had an illegal value
Posted: Fri Jun 20, 2014 7:15 am
by ransopher
Dear all,
I am trying to use the static optimization feature. The GUI crushes every time I try it, while the cmd returns an error message saying: "On entry to DLASD4 paramater number -1 had an illegal value". Could anybody please advise on what I should do?
Regards,
Ran
Re: Static Opt - DLASD4 paramater number -1 had an illegal v
Posted: Thu Jun 26, 2014 10:31 am
by forswg
Hi, this problem might be due to that the lapack root finding routine does not converge:
https://icl.cs.utk.edu/lapack-forum/viewtopic.php?t=529
https://software.intel.com/en-us/forums/topic/299717
We are also looking at this problem and trying to figure out a solution.
Re: Static Opt - DLASD4 paramater number -1 had an illegal v
Posted: Thu Jun 26, 2014 2:40 pm
by sherm
The Lapack bug Justin linked to was probably present in the old 32 bit Windows SimTKlapack.dll library that shipped with OpenSim 3.1 and earlier. But the newer Windows library we provide with OpenSim 3.2, liblapack.dll (simbody3.3 and later), is lapack version 3.4.2. I checked the source and all three of the patches mentioned in the link were included in that version.
Ran, what version of OpenSim are you running and is it 32 or 64 bit? If you are still using an older version you should upgrade. If you are already using the latest then this bug is probably not the same as the linked one.
Most likely this behavior is a downstream effect from a badly-formed optimization problem that IpOpt is failing (ungracefully) to solve. One possibility would be non-physical mass properties (near-massless or -inertialess bodies, e.g.).
Regards,
Sherm
Re: Static Opt - DLASD4 paramater number -1 had an illegal v
Posted: Fri Jun 27, 2014 5:07 am
by ransopher
Thank you for the response.
I am using 3.2, not sure about 32/64 bits (my OS is 64 which is what I normally install).
Regards,
Ran
Re: Static Opt - DLASD4 paramater number -1 had an illegal v
Posted: Fri Jun 27, 2014 8:25 am
by sherm
OK, thanks. I think you are running the latest version. We are investigating and have found so far that there is a bug in the error reporting -- the error that occurred was really a failure of an attempted SVD factorization of a matrix. We don't yet know why the matrix was bad in the first place. Something nonphysical in the model is a possibility; we will try to reproduce the behavior here.
Re: Static Opt - DLASD4 paramater number -1 had an illegal v
Posted: Mon Feb 02, 2015 1:41 pm
by rlambach
Was a resolution ever found for the DLASD4 error?
I'm getting the exact same error when I run static optimization from the command line. Running in the GUI also causes the program to shut down with no error message. I'm running 64 bit OpenSim 3.2.
-Becky
Re: Static Opt - DLASD4 paramater number -1 had an illegal v
Posted: Wed Feb 18, 2015 6:03 pm
by sherm
Status update:
We think this is a Lapack bug and have been working with the Lapack developers to get it fixed. They have recently checked in an as-yet-unverified fix (you can read the discussion on the Lapack forum
here). I have used that fix to build new Lapack and Blas libraries and sent them to Becky to test whether they (a) work with OpenSim 3.2, and (b) fix the DLASD4 problem.
We'll post to this thread when we have some results.
Sherm
Re: Static Opt - DLASD4 paramater number -1 had an illegal v
Posted: Thu Feb 19, 2015 10:56 pm
by sherm
Status update: we have a fix for this now for 64 bit OpenSim installations, verified by Becky and in house. We are going to fix it in the SimTK download early next week so you will be able to pick it up by reinstalling 64 bit OpenSim 3.2. We will also provide some easy hand-patching instructions for those who can't reinstall conveniently.
Has anyone seen this problem with a 32 bit OpenSim installation? If so we will work on a patch for it also but if it isn't broken, we don't want to fix it!
Sherm
Re: Static Opt - DLASD4 paramater number -1 had an illegal v
Posted: Fri Feb 20, 2015 8:34 am
by rlambach
Thanks Sherm!!
Re: Static Opt - DLASD4 paramater number -1 had an illegal v
Posted: Sun Mar 15, 2015 2:26 pm
by macintar
Hello,
I have just come across this error on 3.2 (64 bit), so I reinstalled suggested, however I am still getting the error when running static optimization.
Where would we be able to get the "hand patching instructions"
Any help on this error would be really appreciated!
Thanks,
Alex