Re: [R-pkg-devel] Fortran with OpenMP on MACOS

2020-10-13 Thread Sergio Ibarra-Espinosa
I'm, sorry but I don't understand your question. To my understanding, adding the mentioned MACROS should be enough to add the flag -fopenmp. Actually, when I build the package, gfortran already uses the flag -fopenmp: gfortran -fno-optimize-sibling-calls *-fopenmp* -fpic -g -O2 -fdebug-prefix-map

Re: [R-pkg-devel] Fortran with OpenMP on MACOS

2020-10-13 Thread Erin Hodgess
I’m sure that you have done this, but did you set a compiler option of -fopenmp, please? Thanks On Tue, Oct 13, 2020 at 9:35 AM Sergio Ibarra-Espinosa wrote: > Dear List, > > I have a package that was archived ( > > https://cran-archive.r-project.org/web/checks/2020/2020-10-07_check_results_vei

[R-pkg-devel] Fortran with OpenMP on MACOS

2020-10-13 Thread Sergio Ibarra-Espinosa
Dear List, I have a package that was archived ( https://cran-archive.r-project.org/web/checks/2020/2020-10-07_check_results_vein.html ) because I could not solve an issue with OpenMP and Fortran on MACOS. I have seen that packages with C add precompilation conditions, for instance: https://githu