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
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.