-
Notifications
You must be signed in to change notification settings - Fork 23
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
Enable automatic installation of Python dependencies #38
Comments
would be great if |
I think this just requires putting the above into a |
I've never done it but I should learn. I'll have a look. |
@cortner we should revisit this. matscipy has now been released on PyPI so |
agree to keep the neighbour list in |
I just modified the build script to account for the easier installation of matscipy |
after we test this, we can probably close this issue? |
I forsee someone at some point in the future wanting a pure-julia version … I am encountering difficulties intstalling matscipy for windows (for educational purposes - most students come with )… not saying this to change anyone’s course of action right at this point, just mumbling.
…-- Gábor
On 9 October 2017 at 14:57:12, Christoph Ortner ***@***.***) wrote:
agree to keep the neighbour list in `matscipy`. However, maybe we could then produce
plain-C interface that doesn't require going via Python?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#38 (comment)
|
I agree - see #63 |
in fact if it is mostly for educational purposes, then something not too fast would be ok? there is still #1 - it works great for clusters. Just need to test how well it works with PBCs. |
I agree in principle, but think the time when one can use Julia for materials modelling without a working Python and @cortner the low-level neighbour_list C call looks like this: _matscipy.neighbour_list(quantities, a.cell,
np.linalg.inv(a.cell.T), a.pbc,
a.positions, cutoff, *args) so it can already be called without an ASE Atoms object, but doing it without Python at all is much harder, as the Python API is very convenient for building up variable length return arrays etc. |
ah!
but here is the rub. getting python working on windows is no problem, Anaconda is fine. it’s the c compiler that’s the problem (and the problem keeps running away from solutions, with every minor python version!).
and yes, speed is sorta important, that’s why pure python doesn’t work very well.
…-- Gábor
On 9 October 2017 at 16:01:57, James Kermode ***@***.***) wrote:
I agree in principle, but think the time when one can use Julia for materials modelling
without a working Python and `pip` installation is some way away.
@cortner the low-level neighbour_list C call looks like this:
```python
_matscipy.neighbour_list(quantities, a.cell,
np.linalg.inv(a.cell.T), a.pbc,
a.positions, cutoff, *args)
```
so it can already be called without an ASE Atoms object, but doing it without Python at
all is much harder, as the Python API is very convenient for building up variable length
return arrays etc.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#38 (comment)
|
Oops, probably premature to close as I see more commits But the new build.jl is working for me. |
For clusters, the |
ok, I'll close this once travis confirms everything is ok. And I'll move anything relevant to a separate issue. |
there currently seem to be multiple bugs on Julia/Anaconda/Travis for OSX right now, which is why the tests fail. but the automatic installation seems to work ok on travis, for both Linux and OSX, so I am closing this. We can re-open if needed. |
The following seems to work for the Travis-CI tests, but may not be optimal
The text was updated successfully, but these errors were encountered: