-fopenmp
Hi everybody, just wanted to know if it is possible to use the openmp library in Fortran code to be used within R. I tried this simple thing: subroutine test !$OMP parallel write(*,*) 'hello' !$OMP end parallel end subroutine test and I compiled in the following way: R CMD SHLIB test.f90 -fopenmp but is seems not working. The program correctly print me out four times 'hello' if I compile outside R simply using gfortran with the flag -fopenmp. If someone can help me I would be very grateful. Thanks in advance and regards Filippo Monari