Hi Folks,
Trying to get familiar with finding eigenvalues etc and noticed the schroedinger.py app does almost exactly what I need, except in the quantum domain. Anyway when I tried it run it I get:
Traceback (most recent call last): File "schroedinger.py", line 215, in <module> main() File "schroedinger.py", line 212, in main app() File "/Users/steve/Downloads/sfepy-2012.2-epd/sfepy/applications/application.py", line 29, in call_basic return self.call(**kwargs) File "/Users/steve/Downloads/sfepy-2012.2-epd/sfepy/physics/schroedinger_app.py", line 86, in call evp = self.solve_eigen_problem() File "/Users/steve/Downloads/sfepy-2012.2-epd/sfepy/physics/schroedinger_app.py", line 122, in solve_eigen_problem eigs, mtx_s_phi = eig(mtx_a, mtx_b, n_eigs) File "/Users/steve/Downloads/sfepy-2012.2-epd/sfepy/solvers/eigen.py", line 43, in _standard_call **kwargs) File "/Users/steve/Downloads/sfepy-2012.2-epd/sfepy/solvers/eigen.py", line 283, in __call__ from pysparse import jdsym, itsolvers, precon ImportError: cannot import name jdsym
I see that stuff has moved around in pysparse. Snooping a bit I found that this seems to work:
aluminum:sfepy-2012.2-epd steve$ diff /Users/steve/Downloads/sfepy-2012.2-epd/sfepy/solvers/eigen.py ../sfepy-2012.2-py2.7/sfepy/solvers/eigen.py 283c283,284 < from pysparse import jdsym, itsolvers, precon
from pysparse.eigen import jdsym from pysparse import itsolvers, precon
Looks like I installed pysparse 1.2-dev224. What version do you guys recommend?
thanks! -steve
Hi Steve,
On 06/05/2012 02:26 PM, steve wrote:
Hi Folks,
Trying to get familiar with finding eigenvalues etc and noticed the schroedinger.py app does almost exactly what I need, except in the quantum domain. Anyway when I tried it run it I get:
Traceback (most recent call last): File "schroedinger.py", line 215, in<module> main() File "schroedinger.py", line 212, in main app() File "/Users/steve/Downloads/sfepy-2012.2-epd/sfepy/applications/application.py", line 29, in call_basic return self.call(**kwargs) File "/Users/steve/Downloads/sfepy-2012.2-epd/sfepy/physics/schroedinger_app.py", line 86, in call evp = self.solve_eigen_problem() File "/Users/steve/Downloads/sfepy-2012.2-epd/sfepy/physics/schroedinger_app.py", line 122, in solve_eigen_problem eigs, mtx_s_phi = eig(mtx_a, mtx_b, n_eigs) File "/Users/steve/Downloads/sfepy-2012.2-epd/sfepy/solvers/eigen.py", line 43, in _standard_call **kwargs) File "/Users/steve/Downloads/sfepy-2012.2-epd/sfepy/solvers/eigen.py", line 283, in __call__ from pysparse import jdsym, itsolvers, precon ImportError: cannot import name jdsym
I see that stuff has moved around in pysparse. Snooping a bit I found that this seems to work:
aluminum:sfepy-2012.2-epd steve$ diff /Users/steve/Downloads/sfepy-2012.2-epd/sfepy/solvers/eigen.py ../sfepy-2012.2-py2.7/sfepy/solvers/eigen.py 283c283,284 < from pysparse import jdsym, itsolvers, precon
from pysparse.eigen import jdsym from pysparse import itsolvers, precon
Looks like I installed pysparse 1.2-dev224. What version do you guys recommend?
I am using 1.1-1build3, which is in Kubuntu 12.04. I will fix the imports so that both ways work. Thanks for the debugging!
r.
On 06/05/2012 02:48 PM, Robert Cimrman wrote:
Hi Steve,
On 06/05/2012 02:26 PM, steve wrote:
Hi Folks,
Trying to get familiar with finding eigenvalues etc and noticed the schroedinger.py app does almost exactly what I need, except in the quantum domain. Anyway when I tried it run it I get:
Traceback (most recent call last): File "schroedinger.py", line 215, in<module> main() <snip> aluminum:sfepy-2012.2-epd steve$ diff /Users/steve/Downloads/sfepy-2012.2-epd/sfepy/solvers/eigen.py ../sfepy-2012.2-py2.7/sfepy/solvers/eigen.py 283c283,284 < from pysparse import jdsym, itsolvers, precon
from pysparse.eigen import jdsym from pysparse import itsolvers, precon
Looks like I installed pysparse 1.2-dev224. What version do you guys recommend?
I am using 1.1-1build3, which is in Kubuntu 12.04. I will fix the imports so that both ways work. Thanks for the debugging!
I put the code at [1] - does it work for you?
Thanks, r.
I'll try to update from git and check!
thanks, -steve
On Jun 5, 2012, at 9:16 AM, Robert Cimrman <cimr...@ntc.zcu.cz> wrote:
On 06/05/2012 02:48 PM, Robert Cimrman wrote:
Hi Steve,
On 06/05/2012 02:26 PM, steve wrote:
Hi Folks,
Trying to get familiar with finding eigenvalues etc and noticed the schroedinger.py app does almost exactly what I need, except in the quantum domain. Anyway when I tried it run it I get:
Traceback (most recent call last): File "schroedinger.py", line 215, in<module> main() <snip> aluminum:sfepy-2012.2-epd steve$ diff /Users/steve/Downloads/sfepy-2012.2-epd/sfepy/solvers/eigen.py ../sfepy-2012.2-py2.7/sfepy/solvers/eigen.py 283c283,284 < from pysparse import jdsym, itsolvers, precon
from pysparse.eigen import jdsym from pysparse import itsolvers, precon
Looks like I installed pysparse 1.2-dev224. What version do you guys recommend?
I am using 1.1-1build3, which is in Kubuntu 12.04. I will fix the imports so that both ways work. Thanks for the debugging!
I put the code at [1] - does it work for you?
Thanks, r.
[1] https://github.com/rc/sfepy
-- You received this message because you are subscribed to the Google Groups "sfepy-devel" group. To post to this group, send email to sfepy...@googlegroups.com. To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.
Appears to work!
thanks, -steve
On Tuesday, June 5, 2012 9:16:17 AM UTC-6, Robert Cimrman wrote:
On 06/05/2012 02:48 PM, Robert Cimrman wrote:
Hi Steve,
On 06/05/2012 02:26 PM, steve wrote:
Hi Folks,
Trying to get familiar with finding eigenvalues etc and noticed the schroedinger.py app does almost exactly what I need, except in the quantum domain. Anyway when I tried it run it I get:
Traceback (most recent call last): File "schroedinger.py", line 215, in<module> main() <snip> aluminum:sfepy-2012.2-epd steve$ diff /Users/steve/Downloads/sfepy-2012.2-epd/sfepy/solvers/eigen.py ../sfepy-2012.2-py2.7/sfepy/solvers/eigen.py 283c283,284 < from pysparse import jdsym, itsolvers, precon
from pysparse.eigen import jdsym from pysparse import itsolvers, precon
Looks like I installed pysparse 1.2-dev224. What version do you guys recommend?
I am using 1.1-1build3, which is in Kubuntu 12.04. I will fix the imports so that both ways work. Thanks for the debugging!
I put the code at [1] - does it work for you?
Thanks, r.
participants (3)
-
Robert Cimrman
-
steve
-
Steve Spicklemire