- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I'm running a C++ code which uses a fftw3.h header filer. I downloaded the intel oneAPI .
I searched online and I found that one need to compile the fft wrappers before using them.
Is it so, how can i do it?
Lien copié
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi,
Thanks for reaching out to us.
Are you using oneAPI Base toolkit or any standalone libraries?
Can you elaborate more about your problem?
If you are using oneAPI base toolkit, all the libraries are preinstalled. You can use the toolkit by sourcing the setvars file.
To source setvars.sh, run any one of the following commands according to the operating system you are using:
1. Linux
For root users:
source /opt/intel/oneapi/setvars.sh
For normal user installations:
source ~/intel/oneapi/setvars.sh
2. Windows
Run
C:\Program Files (x86)\intel\oneapi\setvars.bat
Thanks.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I've source them. I sourced the setvars.sh file and set the environment variables.
I saw online that in the folder $MKLROOT/interfaces/fftw3xc, a make file is present and we have to run that make file.
when I ran that file using "make libintel64 compiler=intel" and got an error saying " icc command not found".
I've downloaded the intel one API base tookit from here "https://software.intel.com/content/www/us/en/develop/tools/oneapi/base-toolkit/download.html"
the selected options are :
-OS: linux
-distribution: web and local
-installer: online.
A .sh file is downloaded and I installed using that .sh file as a root user.
But I only downloaded some of the tools . I unchecked the ones which i felt unnecessary.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi,
In Linux, after sourcing the oneAPI environment, if you want to use the fftw3 wrappers try including fftw folder like this:
icpc -mkl -I"${MKLROOT}/include/fftw" sample.cpp
If you want to use your own wrappers try viewing this link for more information:
Please let us know if you face any issues.
Regards
Rajesh.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi,
Can you please let us know if your issue has been resolved or not?
Regards
Rajesh.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
HI,
Since we didn't hear back from you we are closing this thread for now. If you require any additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.
Have a Good day.
Regards
Rajesh
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable