Giter VIP home page Giter VIP logo

Comments (3)

PandaScience avatar PandaScience commented on June 29, 2024

Hi! How does your data structure look like? Without further information it's hard to tell. I'm not sure what the rรดle of pycharm is here (seems like you are launching ElkOA via pycharm IDE??), but my guess is that you you are missing some required files:

ValueError: not all tensor elements available or some contain NaN!

You currently need all tensor elements for any converter, i.e. EPSILON_TDDFT_ij.OUT for i,j = 1, 2, 3. Strictly speaking this is not necessary for the naรฏve (effective) epsilon <--> sigma conversion, but that's how it is implemented currently and writing out further tensor elements in ELK comes with almost no additional cost (simply adapt optcomp in elk.in appropriately).

When I can find some time, I will relax this restriction for simple conversions.

from elkopticsanalyzer.

XiangyingZuo avatar XiangyingZuo commented on June 29, 2024

Yes, you are right. I'm launching ElkOA using pycharm IDE. Is it better to relaunch the ElkOA on my terminal manually for debugging purposes?
For the missing file issue, I only got EPSILON_TDDFT_11.OUT file instead of three files from the elk code. Does that mean I need to fix the code in elk first and get three files to work with ElkOA?

Thanks a lot.

Best,
Xiangying

from elkopticsanalyzer.

PandaScience avatar PandaScience commented on June 29, 2024

Regarding your first question: No idea, I'm using vim + terminal ๐Ÿ˜‰
As I said, you currently need all tensor elements. Permittivity is a 3x3 tensor, so you need ELK to write out all 9 Cartesian elements by setting

optcomp
  1 1
  1 2
  1 3
  2 1
  2 2
  2 3
  3 1
  3 2
  3 3

in your input file.

from elkopticsanalyzer.

Related Issues (1)

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.