-
Notifications
You must be signed in to change notification settings - Fork 10
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
How long to run this program? #4
Comments
Python version is a LOT slower than the c++ current version.
The Python version is not supported any longer. But is here for historical purposes.
Did you try getting the real-time view app to work ? That will give a much better feedback than waiting till the run is completed.
However you may find that the matplotlib library has moved on too far since this was done, so again no longer supported.
If your interest is in the router rather than Python then I highly recommend moving over to the c++ version !
Regards
Chris
—————-
Chris Hinsley
… On 11 Jul 2022, at 8:52 am, mayidu_lin ***@***.***> wrote:
hi, vygr:
I run your program on windows with python3.8. I modify the code and it can implement, but it can't stop, keeps running.
I used command : python pcb.py --v 1 netlist.pcb > anim
Display the result, you can see that it has been repeated!I don't know exactly what went wrong!THX
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
|
hi, vygr!
I encountered some problems when running the c++ program, I don't know how to solve it, I would like to ask you。
c_pcb.cpp and c_pcb_dsn.cpp could be compiled and got c_pcb.exe and c_pcb_dsn, but c_pcb_view.cpp had some error.
Since I don't know how to add the glfw library to the Makefile, I use the cmakelists file to perform cmake first, then make.
the errors are the compiler cannot resolve the related functions in mymath.cpp.
The file content of cmakefilelists is:
I'm not very good at c++, hope you can help me take a look, thanks!
errors about:
At 2022-07-11 20:39:36, "Chris Hinsley" ***@***.***> wrote:
Python version is a LOT slower than the c++ current version.
The Python version is not supported any longer. But is here for historical purposes.
Did you try getting the real-time view app to work ? That will give a much better feedback than waiting till the run is completed.
However you may find that the matplotlib library has moved on too far since this was done, so again no longer supported.
If your interest is in the router rather than Python then I highly recommend moving over to the c++ version !
Regards
Chris
—————-
Chris Hinsley
On 11 Jul 2022, at 8:52 am, mayidu_lin ***@***.***> wrote:
hi, vygr:
I run your program on windows with python3.8. I modify the code and it can implement, but it can't stop, keeps running.
I used command : python pcb.py --v 1 netlist.pcb > anim
Display the result, you can see that it has been repeated!I don't know exactly what went wrong!THX
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I found that it works great for my usage! Many thanks! However, I couldn't get your |
This one takes about 30 seconds to converge. It is fun to watch the animation.
|
This one converge almost instantly.
|
Glad you like it. The C version is the most up to date. The Python version was an exercise to learn Python. Regards Chris —————-Chris Hinsley On 12 Feb 2023, at 3:27 am, KardoPaska ***@***.***> wrote:
I found that it works great for my usage! Many thanks!
However, I couldn't get your netlist.pcb to converge (it ran too long for me). And I didn't spend time to port the tkinter, so i used the matplotlib one (thanks again).
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi, vygr:
I run your program on windows with python3.8. I modify the code and it can implement, but it can't stop, keeps running.
I used command : python pcb.py --v 1 netlist.pcb > anim
Display the result, you can see that it has been repeated!I don't know exactly what went wrong!THX
The text was updated successfully, but these errors were encountered: