-
Notifications
You must be signed in to change notification settings - Fork 12
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 compatibility #13
Comments
I think this is a great suggestion - I was often wondering about removing some dependencies. Let me think through the consequences and get back to you. |
First a bit of information: I've recently moved all my packages to the MolSim registry; if you are using JuLIP, ASE, etc from the general registry then you won't get the latest Versions anymore. See the link on how to install the But maybe you are aware of this anyhow, and if you are using |
Now about your suggestion: I wonder whether we could have conditional loading of the neighbourlist? If the line
fails, then we set a flag in the module that Another idea would be to create a new package |
Thanks for the link. I saw the MolSim registry, but I was now sure whether you will continue to also support the General registry. Regarding the first option: the option would be a try/catch with Regarding the second: what would the status of |
exactly
Ideally yes. But then if it doesn't build it won't affect the usability of the package.
That's the direction of my thinking - so far that's all it is, no concrete plan. Maybe as a first step, this should just remain Just to say we'd all be thrilled to include more people in our community and working on these packages. |
One thing that we could try is to create a MathSciPy.jl package containing the module in ASE.jl as is and use
|
I'm a bit cautious about creating too many packages. I know that kind of standard in the Julia eco-system, but I think it needs a good justification. I'm ok splitting |
Sorry for the confusion, I was referring to the creation of a single additional package. |
I'd be happy with that. Then the important Why not go ahead and make a PR? |
Here is the MolSimPy.jl pacakge: https://github.com/SebastianM-C/MolSimPy.jl |
I invited you to become a member of JuliaMolSim Let me know if that's enough to transfer it? |
I transferred it. Please check if everything is alright. |
I will now proceed with the PR for ASE.jl |
Hello!
First of all, thanks for making this package (and also JuLIP).
I was wondering if this package (and by extension JuLIP) could be also installed on Windows. I looked around in the source code and the most difficult issue seems to be the matscipy dependency. If I understood correctly, this is only used for neighbor lists. From what I looked in the JuLIP source code, the julia port NeighbourLists.jl (https://github.com/JuliaMolSim/JuLIP.jl/blob/master/src/atoms.jl#L184) is used and I was wondering if the matscipy dependency could be removed.
This could greatly simplify the build process (no need for a
deps/build.jl
), because the python packagease
could be installed automatically by switching topyimport_conda
(sincease
is availabe on conda: https://anaconda.org/RMG/ase). Also, with these modifications, I think precompilation can be enabled.In order to test this, I made the required changes on my fork, configured CI with github actions on the gh-actions branch and created a PR from a separate branch to test the changes.
As can be seen in the tests, only the parts related to the
neighbourlist
function fail, but the rest pass (The logs are not complete for all versions since all tests are canceled on the first failure https://github.com/SebastianM-C/ASE.jl/runs/339254643#step:5:218).I also tested locally on Windows 10 x64, and the
ase
python package successfully installs and the test for ASE.jl pass (with the obvious exception of the ones related to theneighbourlist
function).If there are things left to be ported from the
MatSciPy
module to julia, I would like to help. If you would like, I can also make a PR for thepyimport_conda
changes (and also for github actions CI and code coverage if you are interested).The text was updated successfully, but these errors were encountered: