Community
cancel
Showing results for 
Search instead for 
Did you mean: 
ZAmudio__Abraham
Beginner
180 Views

OneAPi Base Toolkit + Eclipse for openMP example

Jump to solution

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.

0 Kudos

Accepted Solutions
JenniferJ
Moderator
100 Views

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..., also one more recent documentation on running a sample program in Eclipse here:

 

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


View solution in original post

2 Replies
AbhishekD_Intel
Moderator
166 Views

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


JenniferJ
Moderator
101 Views

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..., also one more recent documentation on running a sample program in Eclipse here:

 

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


View solution in original post

Reply