Skip to content
Back to formatted view

Raw Message

Message-ID: <EDB3AE1B-CC45-4488-8EA2-6C4DF497B849@stat.ucla.edu>
Date: 2009-09-17T14:39:42Z
From: Jan de Leeuw
Subject: OpenMP Problem

On OS X using gcc-4.5 I have

deleeuw at cuddyvalley:~/Desktop/ > echo $CFLAGS
-m64 -O3 -fopenmp -mtune=native
deleeuw at cuddyvalley:~/Desktop/ > echo $LDFLAGS
-m64 -fopenmp

for all compilations, including the compilation of
the R-devel trunk. Then after R SHLIB tiny.c I get

 > dyn.load("tiny.so")
 > a<-.C("tiny")
number of threads is 2
number of threads is 2
I am thread 0
I am thread 1

===============================================================
      Jan de Leeuw, 11667 Steinhoff Rd, Frazier Park, CA 93225
      home 661-245-1725 mobile 661-231-5416 work 310-825-9550
      .mac: jdeleeuw +++  aim: deleeuwjan +++ skype: j_deleeuw
===============================================================
              I am I because my little dog knows me.
	 		                 Gertrude Stein