Code Monkey home page Code Monkey logo

gpaw-raman-script's Introduction

gpaw-raman-script's People

Contributors

exphp avatar

Watchers

 avatar

gpaw-raman-script's Issues

Usage of MPI is overly complicated

https://github.com/ExpHP/gpaw-raman-script/blob/main/ep_script/leffers.py#L369-L431

A lot of the _distribute_bands_by_k function in leffers.py is silly, as is the similar code near the beginning of get_dipole_transitions, because it's effectively sending data from the other nodes to the root node (in the calc.wfs.collect_ methods) and then sending it back.

We should do what GPAW does and have each node iterate over calc.wfs.kpt_u, which already has a list of kpoint objects assigned to the current node.

This is blocked on #3 since the objects in calc.wfs.kpt_u also have their own spin.

Spin polarization

This is still based on code that didn't support spin, even though spin is very simple to add. Mostly it just changes the shape of some output arrays.

old raman script hangs when using multiple processors

when I run the raman code with multiple nodes on the cluster, it gets stuck at some point. force-set-eq.npy and raman-eq.ex.gz are generated but after that it keeps running with no output. It runs normally when I use one core though. Do you have an idea what could be the problem?

I can confirm this happens if I make a copy of the expected output directory, delete *.npz *.npy *.gz and run PYTHONPATH=.. gpaw -P2 python -m script ch4.

(note: there seems to also be another problem that's making it not generate phonopy_disp.yaml, which is why I start from a copy of the expected output directory. For that one I think the non-root processes might be checking too early and we need a barrier)

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.