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

Error: rfft not defined #95

Closed
OUCyf opened this issue Sep 22, 2021 · 5 comments
Closed

Error: rfft not defined #95

OUCyf opened this issue Sep 22, 2021 · 5 comments

Comments

@OUCyf
Copy link

OUCyf commented Sep 22, 2021

Hi Tim!
It's the first time that I use Julia, and I get an error after installing "SeisNoise" successfully on my MacBook as follow:

Xnip2021-09-23_00-38-58

It doesn't seem to have found the 'rfft' function. Do you konw the reason?

Thanks in advance

Fu

@tclements
Copy link
Collaborator

Hello! Can you let me know which version of Julia and SeisNoise you are using? rfft should be exported through FFTW.jl and SeisNoise.jl.

@OUCyf
Copy link
Author

OUCyf commented Sep 23, 2021

yep, thanks~ Julia version v1.6.2 and SeisNoise is the latest version. And I test the following functions included in script
'compute_fft.jl': process_fft, rfft, remove_amp!, remove_amp; all of these does not work. And I use Pkg.test("SeisNoise"), it works!

Maybe because I'm not familiar with Julia...

@tclements
Copy link
Collaborator

tclements commented Sep 23, 2021

I can reproduce this on Julia v1.6.2. An older version of SeisNoise (3.1) is being installed that does not have rfft. I need to update CUDA.jl to the newest version, which requires v1.6+. I'll make that change and tag a new version. In the meantime you can use the development version by doing

(@v1.6) pkg> add SeisNoise#master

which I just checked works on v1.6.2.

@OUCyf
Copy link
Author

OUCyf commented Sep 23, 2021

Good to know. Thanks~

@tclements
Copy link
Collaborator

This should be fixed with commit 0eba10c. You should be able to remove SeisNoise v0.3.1 and add the new v0.5.2.

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

No branches or pull requests

2 participants