Closed kristinemlarson closed 1 month ago
Additionally, while upgrading and adapting, is it possible to configure the environment and complete the software operations locally on a Windows system? Given that a significant number of people use Windows, switching to a virtual machine running Linux or using WSL2 can be quite complex.
Have you tried using the Docker?
On Wed, Jul 10, 2024 at 1:37 AM Baizitang @.***> wrote:
Additionally, while upgrading and adapting, is it possible to configure the environment and complete the software operations locally on a Windows system? Given that a significant number of people use Windows, switching to a virtual machine running Linux or using WSL2 can be quite complex.
— Reply to this email directly, view it on GitHub https://github.com/kristinemlarson/gnssrefl/issues/285#issuecomment-2219902483, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFSDAPBNA37DJFI4A5ROBFDZLTXDPAVCNFSM6AAAAABKDJTQCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJZHEYDENBYGM . You are receiving this because you authored the thread.Message ID: @.***>
-- Kristine M. Larson @.*** https://www.kristinelarson.net http://www.kristinelarson.net https://gnss-reflections.org https://github.com/kristinemlarson
Are you waiting for your code to be perfect?
你试过使用Docker吗? … On Wed, Jul 10, 2024 at 1:37 AM Baizitang @.> wrote: Additionally, while upgrading and adapting, is it possible to configure the environment and complete the software operations locally on a Windows system? Given that a significant number of people use Windows, switching to a virtual machine running Linux or using WSL2 can be quite complex. — Reply to this email directly, view it on GitHub <#285 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFSDAPBNA37DJFI4A5ROBFDZLTXDPAVCNFSM6AAAAABKDJTQCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJZHEYDENBYGM . You are receiving this because you authored the thread.Message ID: @.> -- Kristine M. Larson @.*** https://www.kristinelarson.net http://www.kristinelarson.net https://gnss-reflections.org https://github.com/kristinemlarson Are you waiting for your code to be perfect?
Yes, I am using the Docker version, but I find it somewhat complicated to edit code within Docker. Perhaps I am not using the right method? Do you have any suggestions for this? Any assistance you could provide would be greatly appreciated.
I have not myself modified code while running the Docker. I would point you to @andriaNOAA as she has expressed an interest in a Windows version of gnssrefl in the past. And I know one of her colleagues contacted me as well, though I can't remember his name now. I am not sure what the current status of gnssrefl usage at NOAA.
If we switch to using plain fortran instead of the fortran within python, and the Windows users have a fortran compiler pre-installed, I imagine it might be possible to get a Windows version running.
or perhaps @timdittmann could comment on modifying code when using the docker. he is the docker expert.
or perhaps @timdittmann could comment on modifying code when using the docker. he is the docker expert.
I am currently exploring the use of VS Code and its plugins to edit Docker containers under WSL2 on Windows. I greatly appreciate your suggestions, and if the opportunity arises, I will certainly consider seeking their assistance as well. Thank you very much for your support.
or perhaps @timdittmann could comment on modifying code when using the docker. he is the docker expert.
I am currently exploring the use of VS Code and its plugins to edit Docker containers under WSL2 on Windows. I greatly appreciate your suggestions, and if the opportunity arises, I will certainly consider seeking their assistance as well. Thank you very much for your support.
@Baizitang I agree that VS Code for your docker dev environment sounds like a good strategy.
I cannot speak from experience to the interaction with the WSL/Windows, but I do know VSC is developed by Microsoft. 🤞
Maybe someone in this opensource world will have other suggestions?
i will likely make these changes in September when I have some help. So I am closing the discussion for now (for moving the fortran bindings to meson instead of numpy-utils). I will bring this thread back if more issues arise.
we are currently limiting which python version we are using (<= 3.11 ) because of a library in numpy (distutils) needed to use f2py. this eventually has to be addressed. if anyone has special skills to help make this conversion easier, it would be much appreciated. looks here like the solution going forward is to use meson.
https://numpy.org/doc/stable/f2py/buildtools/index.html
whatever solution is chosen - it has to support builds on pypi, dockers, and local installs. i am sure that @k-enloe and @timdittmann will take care of issues related to jupyter notebooks.