search for: bert9bert

Displaying 3 results from an estimated 3 matches for "bert9bert".

2019 Feb 01
2
Set the number of threads using openmp with .Fortran?
Hi everybody, I'm trying to develop an R package with Fortran and OpenMP. I wrote a simple hello world but I'm not able to set the number of threads. I found this old email chain <http://r.789695.n4.nabble.com/Set-the-number-of-threads-using-openmp-with-C-td2284685.html> and I tried to set my compile instructions accordingly but i had no luck. *This is my makevars:*
2019 Feb 02
1
Set the number of threads using openmp with .Fortran?
...nd just returns "Each thread will say hi to you!" without the Hello from X Thanks for your help, Ignacio On Sat, Feb 2, 2019 at 11:34 AM Ignacio Martinez <ignacio82 at gmail.com> wrote: > > > I was able to make some progress by using this > <https://github.com/bert9bert/ParallelForest/blob/master/src/Makevars> as > a reference. Now: > > *This is my makevars:* > ##### Compiler flags ##### > PKG_FCFLAGS = $(SHLIB_OPENMP_FFLAGS) > PKG_LIBS = $(SHLIB_OPENMP_CFLAGS) > > ##### Phony target for R's build system to invoke ##### > all:...
2019 Feb 02
0
Set the number of threads using openmp with .Fortran?
I was able to make some progress by using this <https://github.com/bert9bert/ParallelForest/blob/master/src/Makevars> as a reference. Now: *This is my makevars:* ##### Compiler flags ##### PKG_FCFLAGS = $(SHLIB_OPENMP_FFLAGS) PKG_LIBS = $(SHLIB_OPENMP_CFLAGS) ##### Phony target for R's build system to invoke ##### all: $(SHLIB) ##### Clean target ##### clean...