- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can ifx in OneAPI HPC toolkit compile openmp codes which offloads to NVIDIA GPU?
when I compile openmp codes with ifx with the command"ifx -qopenmp -fopenmp-targets=spir64 test.f90 -o test.exe" and offload it to NVIDIA GPU "./test.exe".
There is an error of "./test.exe: error while loading shared libraries: libomptarget.so: cannot open shared object file: No such file or directory".
Thank you very much!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us.
>>>" Can ifx in OneAPI HPC toolkit compile OpenMP codes which offloads to NVIDIA GPU?"
ifx(Intel Fortran compiler(Beta)) is a part of the Intel oneAPI HPC Toolkit that supports only Intel discrete and integrated GPUs.
>>"ifx -qopenmp -fopenmp-targets=spir64 test.f90 -o test.exe"
When you specify spir64, the compiler generates an x86 + SPIR64 (64-bit Standard Portable Intermediate Representation) fat binary for Intel® GPU devices.
For more information refer to the below link:
Could you please let us know whether you have any other issues?
Thanks & Regards
Shivani
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us.
>>>" Can ifx in OneAPI HPC toolkit compile OpenMP codes which offloads to NVIDIA GPU?"
ifx(Intel Fortran compiler(Beta)) is a part of the Intel oneAPI HPC Toolkit that supports only Intel discrete and integrated GPUs.
>>"ifx -qopenmp -fopenmp-targets=spir64 test.f90 -o test.exe"
When you specify spir64, the compiler generates an x86 + SPIR64 (64-bit Standard Portable Intermediate Representation) fat binary for Intel® GPU devices.
For more information refer to the below link:
Could you please let us know whether you have any other issues?
Thanks & Regards
Shivani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot. You have solved my question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for accepting our solution. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Thanks & Regards
Shivani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel said:
ifx(Intel Fortran compiler(Beta)) is a part of the Intel oneAPI HPC Toolkit that supports only Intel discrete and integrated GPUs.
--------------------------------------------------------------
Considering that the low end Dell machines for instance use Intel Graphics, but the high end machines typically use the Quadro Boards for the lap tops, and some one who is a serious FORTRAN user is likely to use the higher end computers, perhaps Intel should support at least NVIDIA.
Just a thought -- but my reason for this is if you mix FFT, AI and producing drawing output, you are looking at a 2 hour run time on a good machine for 15 data sets of 3million records each. Of course you can use the machine for other things, but ....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The stated intention is that oneAPI will support GPUs and accelerators from multiple vendors. That hasn't happened yet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page