- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello community,
I already have intel basekit installed, and eclipse for C / C ++:
(eclipse-inst-jre-linux64.tar.gz), but I can't find a way to run a simple example using openmp.
In the terminal I compile my example with:
icpx -fiopenmp -fopenmp-targets = spir64 random_openmp.cpp
but i can't do the same using eclipse. Please some example documentation to be able to run eclipse with intel oneapi basekit
thx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
There is an old article explaining how to use Intel C++ compiler in Eclipse here: https://software.intel.com/content/www/us/en/develop/articles/intel-c-compiler-for-linux-using-intel-compilers-with-the-eclipse-ide-pdf.html, also one more recent documentation on running a sample program in Eclipse here:
- https://software.intel.com/content/www/us/en/develop/documentation/get-started-with-intel-oneapi-base-linux/top/run-a-sample-project-using-an-ide.html and
- https://software.intel.com/content/www/us/en/develop/documentation/get-started-with-intel-oneapi-hpc-linux/top/run-a-sample-project-with-eclipse.html.
The HPCKit Get Start used the matrix sample. It has an OpenMP version.
So you need to launch Eclipse from terminal window where the env is set with "servars.sh".
If this doesn't solve your issue, please let us know.
Thanks!
Jennifer
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us.
As your issue is more related to the usage of an eclipse with oneAPI, we are forwarding your issue to the concerned team.
Warm Regards,
Abhishek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
There is an old article explaining how to use Intel C++ compiler in Eclipse here: https://software.intel.com/content/www/us/en/develop/articles/intel-c-compiler-for-linux-using-intel-compilers-with-the-eclipse-ide-pdf.html, also one more recent documentation on running a sample program in Eclipse here:
- https://software.intel.com/content/www/us/en/develop/documentation/get-started-with-intel-oneapi-base-linux/top/run-a-sample-project-using-an-ide.html and
- https://software.intel.com/content/www/us/en/develop/documentation/get-started-with-intel-oneapi-hpc-linux/top/run-a-sample-project-with-eclipse.html.
The HPCKit Get Start used the matrix sample. It has an OpenMP version.
So you need to launch Eclipse from terminal window where the env is set with "servars.sh".
If this doesn't solve your issue, please let us know.
Thanks!
Jennifer

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