Giter VIP home page Giter VIP logo

alejandrojuria / xatu Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 7.0 20.14 MB

Xatu solves the Bethe-Salpeter equation in solids to obtain the exciton spectrum

License: GNU General Public License v3.0

Makefile 0.15% C++ 96.86% CMake 0.01% Fortran 2.26% Python 0.73%
absorption bethe-salpeter condensed-matter-physics density-functional-theory dft electronic-structure excitons solid-state-physics tight-binding wavefunction

xatu's People

Contributors

alejandrojuria avatar garciablazquez avatar jjesteve avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

xatu's Issues

Crash when computing the absorption with methods other than 'diag'

The Xatu executable crashes when it has to compute the absorption after the BSE calculation. For instance, the following command crashes:
./bin/xatu models/hBN.model excitonconfig/hBN_spinless.txt -a -m sparse
./bin/xatu models/hBN.model excitonconfig/hBN_spinless.txt -a -m davidson

It crashes with the following error:

xatu(8240,0x1fa956080) malloc: *** error for object 0xc649b1b: pointer being freed was not allocated
xatu(8240,0x1fa956080) malloc: *** set a breakpoint in malloc_error_break to debug

Most likely this is produced by a mismatch between the dimension of the matrix storing the eigenvectors (which for those methods is restricted to the number of states specified in the CLI, 8 by default), and the routine for the absorption, which expects the whole spectrum currently.

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.