[R-sig-hpc] OpenMP problem
Ei-ji Nakama
nakama at ki.rim.or.jp
Thu Sep 17 07:35:01 CEST 2009
Hi
> $ R CMD SHLIB TinyR.c -fopenmp
>
> But I only get one thread, rather than the two I asked for.
Please watch a displayed command-line.
The -fopenmp option which you appointed is a thing for link(There is
not in compiling)
> Any suggestions?
set argument for compiling.
MAKEFLAGS='SHLIB_CFLAGS=-fopenmp' R CMD SHLIB TinyR.c -fopenmp
--
EI-JI Nakama <nakama (a) ki.rim.or.jp>
"\u4e2d\u9593\u6804\u6cbb" <nakama (a) ki.rim.or.jp>
More information about the R-sig-hpc
mailing list