Static Opt - DLASD4 paramater number -1 had an illegal value

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
User avatar
Ran Sopher
Posts: 19
Joined: Thu May 31, 2012 11:06 am

Static Opt - DLASD4 paramater number -1 had an illegal value

Post by Ran Sopher » Fri Jun 20, 2014 7:15 am

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

User avatar
Weiguang Si
Posts: 2
Joined: Tue Jul 09, 2013 12:09 am

Re: Static Opt - DLASD4 paramater number -1 had an illegal v

Post by Weiguang Si » Thu Jun 26, 2014 10:31 am

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.

User avatar
Michael Sherman
Posts: 801
Joined: Fri Apr 01, 2005 6:05 pm

Re: Static Opt - DLASD4 paramater number -1 had an illegal v

Post by Michael Sherman » Thu Jun 26, 2014 2:40 pm

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

User avatar
Ran Sopher
Posts: 19
Joined: Thu May 31, 2012 11:06 am

Re: Static Opt - DLASD4 paramater number -1 had an illegal v

Post by Ran Sopher » Fri Jun 27, 2014 5:07 am

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

User avatar
Michael Sherman
Posts: 801
Joined: Fri Apr 01, 2005 6:05 pm

Re: Static Opt - DLASD4 paramater number -1 had an illegal v

Post by Michael Sherman » Fri Jun 27, 2014 8:25 am

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.

User avatar
Rebecca Lambach
Posts: 4
Joined: Tue Oct 07, 2014 1:24 pm

Re: Static Opt - DLASD4 paramater number -1 had an illegal v

Post by Rebecca Lambach » Mon Feb 02, 2015 1:41 pm

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

User avatar
Michael Sherman
Posts: 801
Joined: Fri Apr 01, 2005 6:05 pm

Re: Static Opt - DLASD4 paramater number -1 had an illegal v

Post by Michael Sherman » Wed Feb 18, 2015 6:03 pm

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

User avatar
Michael Sherman
Posts: 801
Joined: Fri Apr 01, 2005 6:05 pm

Re: Static Opt - DLASD4 paramater number -1 had an illegal v

Post by Michael Sherman » Thu Feb 19, 2015 10:56 pm

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

User avatar
Rebecca Lambach
Posts: 4
Joined: Tue Oct 07, 2014 1:24 pm

Re: Static Opt - DLASD4 paramater number -1 had an illegal v

Post by Rebecca Lambach » Fri Feb 20, 2015 8:34 am

Thanks Sherm!! :)

User avatar
Alex MacIntosh
Posts: 31
Joined: Tue Jan 22, 2013 5:15 pm

Re: Static Opt - DLASD4 paramater number -1 had an illegal v

Post by Alex MacIntosh » Sun Mar 15, 2015 2:26 pm

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

POST REPLY