Git Product home page Git Product logo

Comments (9)

pastewka avatar pastewka commented on July 30, 2024

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.

cortner avatar cortner commented on July 30, 2024

sorry for the delay - I will post something. (eventually)

from matscipy.

cortner avatar cortner commented on July 30, 2024

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.

pastewka avatar pastewka commented on July 30, 2024

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.

cortner avatar cortner commented on July 30, 2024

Maybe print a warning or even a useful error message?

from matscipy.

pastewka avatar pastewka commented on July 30, 2024

Will add a warning. Did you check whether it fixes the problem that occured in your Julia code?

from matscipy.

pastewka avatar pastewka commented on July 30, 2024

Code is now issuing a warning in that situation.

from matscipy.

cortner avatar cortner commented on July 30, 2024

yep - all working as expected.

from matscipy.

cortner avatar cortner commented on July 30, 2024

thank you!

from matscipy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.