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

cannot find fftw3d and fftw3f header files. #560

Open
Hik289 opened this issue Mar 6, 2023 · 13 comments
Open

cannot find fftw3d and fftw3f header files. #560

Hik289 opened this issue Mar 6, 2023 · 13 comments

Comments

@Hik289
Copy link

Hik289 commented Mar 6, 2023

I am getting an error when trying to make the file because it cannot find the packages for fftw3d and fftw3f. The fftw3 package available online at MIT no longer includes these two header files. What version of this package should I be using and where can I find it?

@sludtke42
Copy link
Member

sludtke42 commented Mar 6, 2023 via email

@Hik289
Copy link
Author

Hik289 commented Mar 6, 2023

I followed the instructions in this link. Unfortunately, the link did not provide any useful information. The software needs to be compiled from source. During the make process, I require various C dependencies packages, which are not readily available.

@sludtke42
Copy link
Member

sludtke42 commented Mar 6, 2023 via email

@Hik289
Copy link
Author

Hik289 commented Mar 6, 2023

Unfortunately, I followed this installation process exactly as it was outlined. The installation required manual installation of many C dependencies such as boost-1.7 package, hdf5=1.2 package, and fftw3 package. The versions also had to be exact, and it took me a lot of time to figure out which versions of these C packages were needed. I installed these manually, but I was unable to find fftw3d and fftw3f.

@sludtke42
Copy link
Member

sludtke42 commented Mar 6, 2023 via email

@Hik289
Copy link
Author

Hik289 commented Mar 6, 2023

I wanted to bring to your attention an issue I have been experiencing with cmake. Specifically, I am receiving the error message "Cmake could not find Boost." However, I was able to resolve this issue by manually installing boost-1.7.

Subsequently, I encountered another error message indicating that "Cmake could not find xxdevs package." Fortunately, I was able to resolve this issue by installing the missing package.

However, I then encountered yet another error message stating that "Cmake could not find hdf5." After installing hdf5-1.2, I was able to resolve this issue as well.

I then encountered yet another error message stating that "Cmake could not find fftw." After installing fftw-3, I was able to resolve this issue as well.
It is crucial that the correct versions are installed, and I spent a considerable amount of time figuring out the appropriate versions of these C packages.

Specifically, I am receiving the error message "Cmake could not find fftw3d and fftw3f." I have not been able to locate these packages and I do not believe this is an issue with conda.

I tested this hypothesis by conducting an experiment with a clean conda environment, and found that the issue was indeed related to Boost. After reinstalling Boost, I was able to resolve the issue.

I am reaching out to you in the hopes that you may have some insight into how I can resolve the issue with fftw3d and fftw3f. Any guidance or advice you can offer would be greatly appreciated.

Thank you for your time and attention to this matter!
image

@sludtke42
Copy link
Member

sludtke42 commented Mar 6, 2023 via email

@shadowwalkersb
Copy link
Member

shadowwalkersb commented Mar 6, 2023 via email

@Hik289
Copy link
Author

Hik289 commented Mar 6, 2023

@shadowwalkersb
Copy link
Member

shadowwalkersb commented Mar 6, 2023 via email

@shadowwalkersb
Copy link
Member

shadowwalkersb commented Mar 6, 2023 via email

@Hik289
Copy link
Author

Hik289 commented Mar 6, 2023

I tried many times from Boost-1.1, from hdf-1.0 to 2.0 and finally this two versions allowed me to go on.

@shadowwalkersb
Copy link
Member

shadowwalkersb commented Mar 6, 2023 via email

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

3 participants