Re: [Rcpp-devel] fatal error: 'omp.h' file not found

2016-03-14 Thread Kevin Thornton
CXXFLAGS=-mtune=native -g -O2 -Wall -pedantic -Wconversion > > FLIBS=-lgfortran > > > > Sincerely, > > > > JJB > > > > *From:* rcpp-devel-boun...@lists.r-forge.r-project.org [mailto: > rcpp-devel-boun...@lists.r-forge.r-project.org] *On Behalf Of * > aakrem...@

Re: [Rcpp-devel] fatal error: 'omp.h' file not found

2016-03-14 Thread aakremena
rge.r-project.org]On Behalf Of aakrem...@aol.com Sent: Monday, March 14, 2016 10:01 AM To: rcpp-devel@lists.r-forge.r-project.org Subject: [Rcpp-devel] fatal error: 'omp.h' file not found Dear Rcpp development list members, I am trying to use OpenMP with Rcpp. The code (placed in omp_e

Re: [Rcpp-devel] fatal error: 'omp.h' file not found

2016-03-14 Thread Kevin Thornton
on > > FLIBS=-lgfortran > > > > Sincerely, > > > > JJB > > > > *From:* rcpp-devel-boun...@lists.r-forge.r-project.org [mailto: > rcpp-devel-boun...@lists.r-forge.r-project.org] *On Behalf Of * > aakrem...@aol.com > *Sent:* Monday, March 14, 2016 10:0

Re: [Rcpp-devel] fatal error: 'omp.h' file not found

2016-03-14 Thread Balamuta, James Joseph
-devel] fatal error: 'omp.h' file not found Dear Rcpp development list members, I am trying to use OpenMP with Rcpp. The code (placed in omp_experiment.cpp file) is pretty basic: #include #include //[[Rcpp::plugins(openmp)]] //[[Rcpp::depends(RcppArmadillo)]] using namespace

[Rcpp-devel] fatal error: 'omp.h' file not found

2016-03-14 Thread aakremena
Dear Rcpp development list members, I am trying to use OpenMP with Rcpp. The code (placed in omp_experiment.cpp file) is pretty basic: #include #include //[[Rcpp::plugins(openmp)]] //[[Rcpp::depends(RcppArmadillo)]] using namespace Rcpp; // [[Rcpp::export]] int timesTwo(int x) { return x