Static Opt - DLASD4 paramater number -1 had an illegal value
- Ran Sopher
- Posts: 19
- Joined: Thu May 31, 2012 11:06 am
Static Opt - DLASD4 paramater number -1 had an illegal value
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
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
- Weiguang Si
- Posts: 2
- Joined: Tue Jul 09, 2013 12:09 am
Re: Static Opt - DLASD4 paramater number -1 had an illegal v
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.
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.
- Michael Sherman
- Posts: 807
- Joined: Fri Apr 01, 2005 6:05 pm
Re: Static Opt - DLASD4 paramater number -1 had an illegal v
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
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
- Ran Sopher
- Posts: 19
- Joined: Thu May 31, 2012 11:06 am
Re: Static Opt - DLASD4 paramater number -1 had an illegal v
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
I am using 3.2, not sure about 32/64 bits (my OS is 64 which is what I normally install).
Regards,
Ran
- Michael Sherman
- Posts: 807
- Joined: Fri Apr 01, 2005 6:05 pm
Re: Static Opt - DLASD4 paramater number -1 had an illegal v
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.
- Rebecca Lambach
- Posts: 4
- Joined: Tue Oct 07, 2014 1:24 pm
Re: Static Opt - DLASD4 paramater number -1 had an illegal v
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
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
- Michael Sherman
- Posts: 807
- Joined: Fri Apr 01, 2005 6:05 pm
Re: Static Opt - DLASD4 paramater number -1 had an illegal v
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
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
- Michael Sherman
- Posts: 807
- Joined: Fri Apr 01, 2005 6:05 pm
Re: Static Opt - DLASD4 paramater number -1 had an illegal v
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
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
- Rebecca Lambach
- Posts: 4
- Joined: Tue Oct 07, 2014 1:24 pm
Re: Static Opt - DLASD4 paramater number -1 had an illegal v
Thanks Sherm!!
- Alex MacIntosh
- Posts: 31
- Joined: Tue Jan 22, 2013 5:15 pm
Re: Static Opt - DLASD4 paramater number -1 had an illegal v
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
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