CUDA 2.3a Problem on WMB

Hello everybody,

First sorry for my poor English speaking, it’s not my native language ( I am thai )

I’m having problems while running CUDA on Snow leopard.
I use White macbook 2.0 GHz ram 2 GB Graphics Intel GMA 950 and Snow leopard 10.6.1.
I downloaded cudadriver 2.3.1a, cudasdk 2.3a, cudatoolkit 2.3a and installed.

The errors are :

$make emu=1
make -C src/3DFD/
ld: warning: in obj/i386/emurelease/3dfd.cu.o, file is not of required architecture
ld: warning: in /usr/local/cuda/lib/libcudart.dylib, file is not of required architecture
Undefined symbols:
“_main”, referenced from:
start in crt1.10.6.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** […/…/bin/darwin/emurelease/3dfd] Error 1
make: *** [src/3DFD/Makefile.ph_build] Error 2

Any ideas on how to fix this?

Best regards,
peakdown

try:
make emu=1 i386=1

64 bit kernels are not supported.

I have the same problem (Snow Leopard 10.6.2). The suggested solution

evokes another error:

make i386=1 emu=1

cc1plus: error: unrecognized command line option “-arch”

make[1]: *** [obj/i386/release/bank_checker.cpp.o] Error 1

make: *** [lib/libcutil.so] Error 2

Any ideas?

Christoph

Your video card is not nVidia.

You don’t need an nVidia 8xxx/9xxx or later to run CUDA in emulation mode :-)

I had run the nVidia’s example on Mac Mini Core2 Duo GMA950 using emulation mode.

Hello,

I had the same problem on my macbook pro Snow Leopard 10.6.2
Try using in the C directory where the main file is the following:
make clobber
then wait for it to finish and then
make i386=1

There seems to be a 64 bit compatibility issue or something like that
Worked well with me and I was able to run the binaries afterwards.
Hope it helps.