-
Notifications
You must be signed in to change notification settings - Fork 91
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
Dynamical matrix for local term #752
Conversation
f902467
to
8dd68d5
Compare
6abafdb
to
865bb55
Compare
2e1f42a
to
e067ed0
Compare
Timings are great, I agree. No need for the wrapper. |
src/fft.jl
Outdated
function irfft(basis::PlaneWaveBasis{T}, f_fourier::AbstractArray) where {T} | ||
real(ifft(basis, f_fourier)) | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd be curious why @antoine-levitt , but not blocking for the merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Final nits
Actually, no it does not work. If |
Yeah, but then just add another method on AbstractVector{<:Real} or does that not do the trick ? |
No because of ForwardDiff. The encapsulation of complex is a bit tricky. I am looking if I manage to solve this. |
Ok, seems to work with |
I found a parallelisation issue, that I need to fix and actually a way to completely avoid the We also need to check GPU support (will do once the CPU CI is green). |
This comment was marked as resolved.
This comment was marked as resolved.
How is real_enforced better than enforce_real? Also beware that lowpass_for_symmetry is possibly slow |
real_enforced was to match convert_enforced, but as it was removed, I will revert back the rename. |
GPU CI did not go through cleanly (precompilation failed, so I have no proper output from the run). Do you guys have access to a CUDA GPU or should I debug ? |
I ran the two GPU tests fine locally, so not sure what to debug. The iron one is a bit strange because of error (Also, maybe it should be written somewhere that |
Ok, so I trust the GPU CI goes through. Let's see. |
Open points that can be clarified after: