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...@
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
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
-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
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