[R-pkg-devel] please help understand an error in openMP statements
@ergue|@@oko| @end|ng |rom gm@||@com
Fri Sep 13 10:27:58 CEST 2019
On 12/09/2019 23:12, Marcin Jurek wrote:
> Hello everyone, I'm submitting a package to CRAN which I tested locally, on
> Travis CI, R-hub and win builder. It worked no problem in all these
> environments. However, after submission, I keep getting the error described
One obvious error is pretty well described by the compiler:
U_NZentries.cpp:258:19: error: ‘covparms’ not specified in enclosing
258 | covmat= MaternFun(dist,covparms) + diagmat(nug) ; // summation
U_NZentries.cpp:230:11: error: enclosing ‘parallel’
230 | #pragma omp parallel for
It simply stets that you should add 'covparms' either to private() or to
shared() list on line 230.
I have no idea for other messages complaining about 'none'.
> I'm not a pro when it comes to openMP but since all previous tests
> completed successfully, I thought things were alright. Could you help me
> understand what's wrong and how to fix it? Source code of the package can
> be found at http://github.com/katzfuss-group/GPvecchia Thanks a lot!
> [[alternative HTML version deleted]]
> R-package-devel using r-project.org mailing list
More information about the R-package-devel