-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Windows build please #16
Comments
@jamesmkrieger thanks for opening this issue. I am not very practical with Windows builds. In general, PLUMED is only supported on unix, but some time ago @tonigi was maintaining a Windows binary. Maybe Toni has some idea on how to make a conda executable for windows? I guess we would then be limited to plumed executable and python wrappers |
I used to build windows executables manually: https://github.com/giorginolab/vmd_plumed/blob/master/doc/PLUMED-WIN32.md (look around for the executables). I used mingw64 which makes it trivial, they just worked (at least plumed driver, which is what I cared about). However, this is not the conda-forge way :( Building with MSVC requires code changes AND a way to run the configure bash script under windows. Perhaps it can be done, but I did not dig into it. |
Thanks both of you. I use mingw too so hopefully that'll work. |
It's a shame conda-forge won't do it though. I remember it was a pain to couple plumed to gromacs a few years ago even on linux and the existence of an conda-forge option for plumed with openmm seemed very promising until I realised it doesn't work for windows. |
BTW, if you need gromacs + plumed on conda (linux/osx, no windows) you can install it following the instructions of our masterclasses (https://www.plumed.org/doc-v2.7/user-doc/html/masterclass-21-3.html). |
Also, it may be of interest that condacolab may enable people to run the conda packages on Colab right away (well, not actually because a Python 3.6 vs 3.7 issue, but things may change). |
Much easier than https://groups.google.com/g/plumed-users/c/stlK9-kaa6A/m/WKc5i1xRDgAJ ! |
Edited to add: the following cells will work nicely to install the gromacs+plumed on colaboratory - see https://pypi.org/project/condacolab/.
execute once, the kernel restarts, then
as directed by the masterclass instructions. In no time this should give you an environment where you can run The only catch, as far as I can tell, is that you won't be able to import Plumed's Python module from inside colab (because it belongs to the conda installation). |
Thanks. Good to know |
Thanks |
@tonigi related to this, I found out that if you install modules with pip before running
|
More and more off-topic, it's worthwhile noting that WSL works well IMHO. One may even argue that, if it gets traction, it could make building scientific packages for Windows a chore of the past. (Although not perfect for classes because it takes a bit to install) |
Yes, I agree. I am trying WSL now. I also found it was an easier way to get OpenMPI and Java, which I need for some other programs too. |
Hi – just wanted to bump this and ask if there's been any progress in getting PLUMED support for Windows onto conda-forge? Or is this not on the roadmap anytime soon? I'd like to get a Windows version running on a few machines, but totally understand if it's not on the roadmap anymore. |
@sukritsingh you can see that state here: #17 Basically, I was stuck. If anyone wants to help I would be happy to check it again and eventually merge it. |
Awesome! Thanks for the info! I am not experienced with Windows builds or the feedstock but my labmate Mike Henry (@mikemhenry), a Software Scientist in our group, has volunteered his time to help out! |
Working on this here: #32 It looks like |
My attempts are here if useful #31 |
Can we have a Plumed build for Windows please? It would be really nice to be able to use it on Windows laptop where I do most of my software development.
Issue:
Environment (
conda list
):Details about
conda
and system (conda info
):The text was updated successfully, but these errors were encountered: