GithubHelp home page GithubHelp logo

RT-TDDFT restart error about abacus-develop HOT 6 OPEN

1041176461 avatar 1041176461 commented on August 23, 2024
RT-TDDFT restart error

from abacus-develop.

Comments (6)

pxlxingliang avatar pxlxingliang commented on August 23, 2024

The wfc file in OUT* directory is from the job with out_app_flag = false, which will generate some WFC files with filename containing ION step information. Now, ABACUS do not support init_wfc from the files generated with out_app_flag = false, because ABACUS do not know which ION step should be read. To support this case, we need to add an INPUT parameter to let ABACUS know the ION step of WFC file.

from abacus-develop.

1041176461 avatar 1041176461 commented on August 23, 2024

As far as I know, TDDFT needs to read the time-evolved wave function to restart the task. I don't know how it is implemented in the program, but reading an append file is definitely unrealistic. Maybe @AsTonyshment and @lyb9812 are more familiar with it.

from abacus-develop.

AsTonyshment avatar AsTonyshment commented on August 23, 2024

@1041176461 In my impression, for TDDFT calculations, if a job restart is needed, you should set out_wfc_lcao=1 during the calculation, and then you can continue the calculation by setting md_restart=1. There should be no need to set the init_wfc parameter. However, as far as I know, there seem to be some issues with reading in the electric field during restart. It might be necessary to reset the electric field from the restart point, otherwise the efield_*.dat file might encounter problems. This was my experience from using it three months ago, so I'm not sure if the restart logic has been updated since then...

from abacus-develop.

1041176461 avatar 1041176461 commented on August 23, 2024
  1. I also did not set the restart with init_wfc turned on before, but the last step before the restart and the first step after the restart had inconsistent self-consistent energy. I turned off the electric field when restarting here because the electric field had ended before the restart
    #4617 (comment)

  2. If init_wfc does not need to be set, why do we need to set out_wfc_lcao? Will md_restart read the wave function?

  3. out_wfc_lcao=1 with out_app_flag = 0 will generate a huge file for md, I think reading this file will become very slow

from abacus-develop.

AsTonyshment avatar AsTonyshment commented on August 23, 2024

The restart logic was written by @lyb9812. Maybe you can explain about this?

from abacus-develop.

lyb9812 avatar lyb9812 commented on August 23, 2024
  1. I also did not set the restart with init_wfc turned on before, but the last step before the restart and the first step after the restart had inconsistent self-consistent energy. I turned off the electric field when restarting here because the electric field had ended before the restart
    RT-TDDFT abnormally interrupted #4617 (comment)
  2. If init_wfc does not need to be set, why do we need to set out_wfc_lcao? Will md_restart read the wave function?
  3. out_wfc_lcao=1 with out_app_flag = 0 will generate a huge file for md, I think reading this file will become very slow

Both init_wfc and md_restart need to be set. You can set out_interval to reduce the output. The velocity gauge may not support the restart function. It hasn't been tested yet.

from abacus-develop.

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.