Community
cancel
Showing results for 
Search instead for 
Did you mean: 
CPati2
New Contributor III
39 Views

R on Xeon Phi

Jump to solution

Hi All,

Is it possible to make use of OpenMP thread distribution and affinity for R on Xeon Phi? If yes, please share resources that can help understand how to optimize R for Xeon Phi.

Since, R code runs on R engine and doesn't go through the linking process, I am not sure how this will work out.

Any suggestion will help.

Thanks.

0 Kudos

Accepted Solutions
jimdempseyatthecove
Black Belt
39 Views

Let me first state that I am not an R programmer. From https://en.wikipedia.org/wiki/R_(programming_language) it states that R is an interpreter written primarily in "C, Fortran, and R". And "For computationally intensive tasks, C, C++, and Fortran code can be linked and called at run time."

While the interpreter itself may not (necessarily) be OpenMP'd, you should be able to write support routines that use OpenMP'd C and/or Fortran "kernels".

Jim Dempsey

View solution in original post

0 Kudos
1 Reply
jimdempseyatthecove
Black Belt
40 Views

Let me first state that I am not an R programmer. From https://en.wikipedia.org/wiki/R_(programming_language) it states that R is an interpreter written primarily in "C, Fortran, and R". And "For computationally intensive tasks, C, C++, and Fortran code can be linked and called at run time."

While the interpreter itself may not (necessarily) be OpenMP'd, you should be able to write support routines that use OpenMP'd C and/or Fortran "kernels".

Jim Dempsey

View solution in original post

0 Kudos