Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: function WARNING_QUIT does not finalize the MPI processes correctly #5486

Open
16 tasks
dyzheng opened this issue Nov 14, 2024 · 2 comments
Open
16 tasks
Labels
Bugs Bugs that only solvable with sufficient knowledge of DFT

Comments

@dyzheng
Copy link
Collaborator

dyzheng commented Nov 14, 2024

Describe the bug

When I test the case in #4255 , I found segmentation error from DFT-D3:


===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   RANK 0 PID 73219 RUNNING AT iZ8vb7tfkypr38uhx9uiqfZ
=   KILLED BY SIGNAL: 9 (Killed)
===================================================================================

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   RANK 1 PID 73220 RUNNING AT iZ8vb7tfkypr38uhx9uiqfZ
=   KILLED BY SIGNAL: 9 (Killed)
===================================================================================

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   RANK 2 PID 73221 RUNNING AT iZ8vb7tfkypr38uhx9uiqfZ
=   KILLED BY SIGNAL: 9 (Killed)
===================================================================================

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   RANK 3 PID 73222 RUNNING AT iZ8vb7tfkypr38uhx9uiqfZ
=   KILLED BY SIGNAL: 9 (Killed)
===================================================================================

but error message with one processor:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                         NOTICE                           
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
 XC (`default`)'s DFT-D3(0) parameters not found
 CHECK IN FILE : OUT.ABACUS/warning.log
 
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                         NOTICE                           
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Expected behavior

No response

To Reproduce

No response

Environment

No response

Additional Context

No response

Task list for Issue attackers (only for developers)

  • Verify the issue is not a duplicate.
  • Describe the bug.
  • Steps to reproduce.
  • Expected behavior.
  • Error message.
  • Environment details.
  • Additional context.
  • Assign a priority level (low, medium, high, urgent).
  • Assign the issue to a team member.
  • Label the issue with relevant tags.
  • Identify possible related issues.
  • Create a unit test or automated test to reproduce the bug (if applicable).
  • Fix the bug.
  • Test the fix.
  • Update documentation (if necessary).
  • Close the issue and inform the reporter (if applicable).
@kirk0830
Copy link
Collaborator

kirk0830 commented Nov 14, 2024

@dyzheng Hi, DFT-D3 now requires an explicit definition on the parameter dft_functional to complete the correct autoset on DFT-D3 parameters. This design is for forcing the user to use DFT-D3 correction correctly, to avoid the case that user uses XC other than PBE but only add one line vdw_method d3_0 in INPUT, without knowing the DFT-D3 parameters are still those of PBE.
In your case, adding a line dft_functional pbe will work.
Image

@kirk0830 kirk0830 self-assigned this Nov 14, 2024
@mohanchen mohanchen added the Bugs Bugs that only solvable with sufficient knowledge of DFT label Nov 14, 2024
@kirk0830
Copy link
Collaborator

I had not realized that the WARNING_QUIT is only called by one processor. I will change the way to call vdw a little bit

@mohanchen mohanchen assigned 1041176461 and unassigned kirk0830 Nov 16, 2024
@kirk0830 kirk0830 assigned kirk0830 and unassigned 1041176461 Nov 19, 2024
@kirk0830 kirk0830 changed the title DFT-D3 error: from #4255 Bug: function WARNING_QUIT does not finalize the MPI processes correctly Nov 19, 2024
@kirk0830 kirk0830 removed their assignment Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugs Bugs that only solvable with sufficient knowledge of DFT
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants