[Rcpp-devel] Intel compiler

Dirk Eddelbuettel edd at debian.org
Wed Jan 2 16:25:22 CET 2013


On 1 January 2013 at 20:54, Jules Archer wrote:
| I'm interested in using the intel compiler for current and future Rccp
| application development. Would it be possible to provide a simple
| example or two of how this alternative compiler can be used to compile Rccp
| applications?

It can be as easy as exporting appropriate CC and CXX variables, and make
should take care of the rest.

We had kind contributions from Rcpp users to solidify the compiler tests in
the Rcpp headers, as well as patches were needed. "It should work."

As Yan told you in follow-up, there may be issues in mixing and matching. I
was under the impression that one could mix easily --- your best best is
probably by starting with simple tests.

Keep us posted. I'd love to see some comparison benchmarks between gcc and icc.

| I've successfully installed the latest intel c++ compiler (v13) in a linux
| environment (CentOS6.3). The latest version of Rcpp (0.10.2) is working as is
| with gnu c++ in combination with Rstudio server. 

Sounds like a good start.

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com  


More information about the Rcpp-devel mailing list