Hi FreeSurfers,

I'm trying to compile freesurfer with --enable-fermi-gpu and cuda 4. The process stopped with this error message:

make[3]: Entering directory `/home/neuro/dev/mri_em_register'
/usr/local/cuda/bin/nvcc -o em_register_cuda.o -c em_register_cuda.cu -arch sm_20 --ptxas-options=-v -g -I../include -I../include/dicom  -I/home/neuro/mni/current/include
em_register_cuda.cu(259): error: calling a host function("LinearGenerator::LinearGenerator") from a __device__/__global__ function("TransformLogps") is not allowed

em_register_cuda.cu(262): error: calling a host function("LinearGenerator::LinearGenerator") from a __device__/__global__ function("TransformLogps") is not allowed

em_register_cuda.cu(265): error: calling a host function("LinearGenerator::LinearGenerator") from a __device__/__global__ function("TransformLogps") is not allowed

em_register_cuda.cu(269): error: calling a host function("TransformGenerator::TransformGenerator") from a __device__/__global__ function("TransformLogps") is not allowed

4 errors detected in the compilation of "/tmp/tmpxft_00007558_00000000-4_em_register_cuda.cpp1.ii".
make[3]: *** [em_register_cuda.o] Error 2
make[3]: Leaving directory `/home/neuro/dev/mri_em_register'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/neuro/dev/mri_em_register'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/neuro/dev'
make: *** [all] Error 2

I don't know what is going wrong... Any idea?

Thank you in advance!

--
Jordi Delgado Mengual
PIC (Port d'Informació Científica)
Campus UAB, Edifici D
E-08193 Bellaterra, Barcelona
Tel: +34 93 586 82 32 Fax: +34 93 581 41 10
http://www.pic.es
Avis - Aviso - Legal Notice: http://www.ifae.es/legal.html