It appears that fressurfer 5.0 is compiled against cuda 3.2.x rather than cuda 4. Is there any workaround to force freesurfer 5.0 apart from recompilation for it use cuda 4.0. AS the latest version of the nvidia driver has change cuda version from 3.2 to 4.0.
Knut J
Cuda 4.0
*[knutjbj@super-knut lib64]$ mri_em_register_cuda Acquiring CUDA device Using default device Segmentation fault (core dumped)
Cuda 3.2 [knutjbj@super-knut Downloads]$ mri_em_register_cuda Acquiring CUDA device Using default device CUDA Error in file 'devicemanagement.cu' on line 46 : CUDA driver version is insufficient for CUDA runtime version.
Output from deviceQueryDrv CUDA Device Query (Driver API) statically linked version There is 1 device supporting CUDA
Device 0: "GeForce GTX 460" CUDA Driver Version: 4.0 CUDA Capability Major/Minor version number: 2.1 Total amount of global memory: 1072889856 bytes Multiprocessors x Cores/MP = Cores: 7 (MP) x 48 (Cores/MP) = 336 (Cores) Total amount of constant memory: 65536 bytes Total amount of shared memory per block: 49152 bytes Total number of registers available per block: 32768 Warp size: 32 Maximum number of threads per block: 1024 Maximum sizes of each dimension of a block: 1024 x 1024 x 64 Maximum sizes of each dimension of a grid: 65535 x 65535 x 65535 Maximum memory pitch: 2147483647 bytes Memory Bus Width: 256-bit Memory Clock rate: 1800.00 Mhz Texture alignment: 512 bytes GPU Clock rate: 1.40 GHz Concurrent copy and execution: Yes # of Asynchronous Copy Engines: 1 Run time limit on kernels: Yes Integrated: No Support host page-locked memory mapping: Yes Concurrent kernel execution: Yes Device has ECC support enabled: No Device is using TCC driver mode: No
PASSED
Press ENTER to exit...
*
On Tue, 2011-04-26 at 18:30 +0200, Knut J Bjuland wrote:
It appears that fressurfer 5.0 is compiled against cuda 3.2.x rather than cuda 4. Is there any workaround to force freesurfer 5.0 apart from recompilation for it use cuda 4.0. AS the latest version of the nvidia driver has change cuda version from 3.2 to 4.0.
That's odd - drivers are supposed to be backward compatible. Short of recompiling, I don't know of a workaround (and we don't have CUDA 4.0 installed here yet).
Richard
I have also installed cuda 3.2 with the same results. There might be an error in CUDA Error in file 'devicemanagement.cu' on line 46 : invalid argument. which I got when I used the latest nvidia driver with cuda 3.2 Could anybody on this list try freesurfer with cuda and the latest nvidia driver.
Knut J Bjuland
On 04/26/2011 06:36 PM, Richard G. Edgar wrote:
On Tue, 2011-04-26 at 18:30 +0200, Knut J Bjuland wrote:
It appears that fressurfer 5.0 is compiled against cuda 3.2.x rather than cuda 4. Is there any workaround to force freesurfer 5.0 apart from recompilation for it use cuda 4.0. AS the latest version of the nvidia driver has change cuda version from 3.2 to 4.0.
That's odd - drivers are supposed to be backward compatible. Short of recompiling, I don't know of a workaround (and we don't have CUDA 4.0 installed here yet).
Richard
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.
On Tue, 2011-05-03 at 18:05 +0200, Knut J Bjuland wrote:
I have also installed cuda 3.2 with the same results. There might be an error in CUDA Error in file 'devicemanagement.cu' on line 46 : invalid argument. which I got when I used the latest nvidia driver with cuda 3.2 Could anybody on this list try freesurfer with cuda and the latest nvidia driver.
Are you able to try with the 3.2 driver? You might have uncovered a place where NVIDA isn't getting its backwards compatibility right.
Richard
Hi
I have tried with driver 260.19.36 with a similiar result. The complain in this case is that MRISallocCudaVertices: cannot allocate device memory !: all CUDA-capable devices are busy or unavailable.
Knut J
On 05/03/2011 06:11 PM, Richard G. Edgar wrote:
On Tue, 2011-05-03 at 18:05 +0200, Knut J Bjuland wrote:
I have also installed cuda 3.2 with the same results. There might be an error in CUDA Error in file 'devicemanagement.cu' on line 46 : invalid argument. which I got when I used the latest nvidia driver with cuda 3.2 Could anybody on this list try freesurfer with cuda and the latest nvidia driver.
Are you able to try with the 3.2 driver? You might have uncovered a place where NVIDA isn't getting its backwards compatibility right.
Richard
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.
freesurfer@nmr.mgh.harvard.edu