Skip to content

New kernel for XL-BOMD and fix bug in response_orig #216

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

Merged
merged 1 commit into from
Feb 9, 2022
Merged

Conversation

ares201005
Copy link
Collaborator

@ares201005 ares201005 commented Feb 9, 2022

Add a new Kernel function for XL-BOMD in LATTE and fix a bug in prg_canon_response_orig.


This change is Reviewable


kB = 8.61739e-5 ! (eV/K)

ALLOCATE(FOCC(HDIM))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please convert Fortran keywords to lower case, i.e.

Suggested change
ALLOCATE(FOCC(HDIM))
allocate(FOCC(HDIM))

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, thanks. Just found there is new merge, need to rebase as well.

@ares201005 ares201005 force-pushed the pr_yz branch 2 times, most recently from 0263cb8 to 1ba8836 Compare February 9, 2022 16:50
Copy link
Collaborator

@nicolasbock nicolasbock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

X(I,I) = X(I,I) + 1.D0
enddo

do I = 1, HDIM
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect that loop may become a bottleneck and this operation may need to be implemented in BML to use GPU...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, will do it.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jeanlucf22 Are you ok with merging this PR as is or would you prefer the work on the BML to be added first?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nicolasbock go ahead! We want that function integrated ASAP. I was just commenting about what I see as a future bottleneck

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@nicolasbock nicolasbock merged commit 93fd8b3 into master Feb 9, 2022
@nicolasbock nicolasbock deleted the pr_yz branch February 9, 2022 19:39
@nicolasbock
Copy link
Collaborator

nicolasbock commented Feb 9, 2022

I created lanl/bml#592 to track the refactor @ares201005

@ares201005
Copy link
Collaborator Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants