Comments (9)
Hi Christoph,
This looks like a bug and should be fixed.
Can you Post an atomic configuration (e.g. extxyz file) that reproduces this. I will then fix it.
Best,
Lars
from matscipy.
sorry for the delay - I will post something. (eventually)
from matscipy.
here is a Python code that reproduces the crash. It is kind of a ridiculous example...
import ase.build
at = ase.build.bulk("Al", cubic=True)
at.cell = at.cell * 8000
import matscipy.neighbours
matscipy.neighbours.neighbour_list("ijdDS", at, 4.5);
from matscipy.
I just pushed a fix for this. It was related to an integer overflow in the total number of cells used for the neighbor list search. Your example now runs, but it having lots of vacuum will be super-slow at some point.
from matscipy.
Maybe print a warning or even a useful error message?
from matscipy.
Will add a warning. Did you check whether it fixes the problem that occured in your Julia code?
from matscipy.
Code is now issuing a warning in that situation.
from matscipy.
yep - all working as expected.
from matscipy.
thank you!
from matscipy.
Related Issues (20)
- Fail to install matscipy on Windows system HOT 1
- Hessian for multi-species systems
- Question: Basic theory for generating strained cells HOT 3
- Build Wheels HOT 12
- Publication of a paper about matscipy HOT 54
- Sorted neighbor list HOT 3
- EAM kind 'eam': calculate pair potential from charge function HOT 1
- matscipy support windows? HOT 2
- Seg fault in ring_statistics.cpp following recent changes to neighbour list HOT 16
- test_eam_read_write fails HOT 1
- Voigt_6_to_full_3x3_strain in elasticity.py not correct HOT 28
- LGPL vs. GPL HOT 1
- Possible improvement for method 'alpha_num_order'
- Migrate CI to GitHub Actions? HOT 8
- c2d tests fail in CI HOT 3
- Remove symlinks from repository HOT 1
- Search of (A-B)-(A-B)-(...) rings in ring_statistics HOT 5
- Add citation guide HOT 3
- unexpected behavior of neighbour_list HOT 5
- Switch to pybind11 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matscipy.