-
Notifications
You must be signed in to change notification settings - Fork 134
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
basic linux support #560
basic linux support #560
Conversation
Hello there ! I am working with Mac OS, and I want to check if your PR is working on my side as well. Best, Raphaël |
Hello! |
Okay thanks. For unknown reason, I was not able to use Wine. I am currently able to run femm GUI, but I still have to look how to make it work with pyfemm. I will let you know when I can test your PR. |
Hello, I checked your modifications and it looks fine to me. All the tests are passing on Windows including with parallelization.
@RaphaelPile When do you think you would have time to check if it works on your side ? I'm currently not using Linux so I would be a great help if you could validate these modifications :) Otherwise I will take time to install Linux but I don't know when. By curiosity what are the methods "X_setcomment" ? Are they methods introduced by pyfemm 0.1.3 ? I think we haven't updated the _FEMMHandler for a long time and I somehow managed to forget where this file came from in the first place :/ Thanks again for your contribution, |
Hello, |
@BonneelP I don't know, I have already issues to configure VSCode for python on my Mac OS. I will try my best to do it before the end of October. |
Hello, I didn't manage to try your modifications on Linux, but all the tests are still Ok on windows and I'm about to create a new release to solve issue #569 so I'm (finally) merging your modification. Sorry for the long time to merge your contribution, it will be really helpful for the community. I will still try to find some time to use your code on Linux to see if we can solve the speed issue. Best regards, |
Hello!
this is with regard to issue #104
The latest pyfemm supports linux, so I merged that into pyleecan.
From my tests, it supports drawing in femm properly, as well as simulation, though it is slow.
Some of the things that I noticed didnt work are :-
the get_meshsolution function didnt work, but I think the errors were only to do with the filepaths.
Can we have a global isWindows flag somewhere? Maybe in the _FemmHandler itself?
parallelization didnt work - I think thats because in Linux we need to create a file in the same directory as femm to transfer the command, so if you open multiple FEMMs its not clear which instance is opening or deleting the file. A quick though ugly hack might be to just have multiple copies of the FEMM folder.
Thank you
Harsha