-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove scipy dependency by replacing eigvals() function #138
base: master
Are you sure you want to change the base?
Conversation
It appears that the nonlinear solver is getting random, uncaught failures after this switch... Random failures are always concerning, but I'm also concerned that anaStruct is returning a buckling factor of 0.0 rather than throwing an actual error. This'll require some more digging and investigation before this can be safely merged! |
Okay, looks like this is actually a known but long-running bug in Numpy and/or Conda and/or OpenBlas: numpy/numpy#20233 Unfortunately, this goes beyond my comprehension of the intricacies of Python. I would love to get any help that others could provide here for working around this bug! I'd like to drop the scipy dependency, but I'm not willing to do so if the alternative numpy implementation of |
Hi Brooks, I suggest that instead of clearing dependencies at this stage, just please comment the lines. This way it will be easier to see the changes on the go. Just a suggestion. |
An easy way to add the eigen function from the SciPy to our package. The link is here (+) and this is a copy. Mapping all the dependencies here may be tough but will get us rid of all failures and broken dependencies.
And this is the
We will need some polish on the codes but another concern will be the copy-right of the SciPy package. Although I think it is under open-source free-source licenses and we won't have any specific problem. Other solution will be using the GUN's pieces of codes. BTW if we only demand this for eigen values, doing it from scratch won't be much of stress. Random thoughts. |
Thanks, @someparsa ! I did look at the option of extracting the Another option could be to make scipy into an All that said, removing scipy as a dependency would be nice, but there is also only so much work I'm willing to put into it at this point. I'm more interested in building some better validation tests, and in adding modal analysis functionality to anaStruct! |
No description provided.