In followup to Benjamin's question, I'm also trying to install bedpostx_gpu on my system. Wondering if anyone has a solution.
I'm running Ubuntu 14.04 on my Macbook Pro. I'm trying to build bedpostx_gpu from the source files. My CUDA is 6.5. I tried the following:
1. cd into $FSLDEVDIR/src/fdt
2. export COMPILE_GPU=1
3. export CUDA="/usr/local/cuda"
4. make install
The following code tries to execute:
/usr/local/cuda-6.5/bin/nvcc --shared --compiler-options '-fPIC' -o CUDA/libbedpostx_cuda.so CUDA/init_gpu.cu CUDA/samples.cu CUDA/diffmodels.cu CUDA/runmcmc.cu CUDA/xfibres_gpu.cu -O3 -gencode=arch=compute_20,code=\"sm_20,compute_20\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" -lcudart -lcuda -lcurand -I. -L/usr/local/cuda-6.5/lib64 -L/usr/local/cuda-6.5/lib -ICUDA/options -I/usr/local/cuda-6.5/include/thrust -I/home/area51/fslbuild/fsl/extras/include/newmat -I/home/area51/fslbuild/fsl/include -I/home/area51/fslbuild/fsl/extras/include/boost -maxrregcount=64
I GET THE FOLLOWING ERRORS:
ptxas warning : Too big maxrregcount value specified 64, will be ignored
ptxas warning : Too big maxrregcount value specified 64, will be ignored
/home/area51/fslbuild/fsl/extras/include/boost/boost/detail/sp_counted_base_gcc_x86.hpp(49): warning: "cc" clobber ignored
/home/area51/fslbuild/fsl/extras/include/boost/boost/detail/sp_counted_base_gcc_x86.hpp(65): warning: "cc" clobber ignored
/home/area51/fslbuild/fsl/extras/include/boost/boost/detail/sp_counted_base_gcc_x86.hpp(91): warning: "cc" clobber ignored
/home/area51/fslbuild/fsl/extras/include/boost/boost/detail/sp_counted_base_gcc_x86.hpp(75): warning: variable "tmp" was set but never used
/home/area51/fslbuild/fsl/include/miscmaths/nonlin.h(202): warning: statement is unreachable
/home/area51/fslbuild/fsl/include/miscmaths/nonlin.h(203): warning: statement is unreachable
/home/area51/fslbuild/fsl/include/miscmaths/nonlin.h(205): warning: statement is unreachable
/home/area51/fslbuild/fsl/include/miscmaths/nonlin.h(206): warning: statement is unreachable
/home/area51/fslbuild/fsl/include/miscmaths/nonlin.h(208): warning: statement is unreachable
/home/area51/fslbuild/fsl/include/miscmaths/nonlin.h(209): warning: statement is unreachable
/home/area51/fslbuild/fsl/include/miscmaths/nonlin.h(211): warning: statement is unreachable
/home/area51/fslbuild/fsl/extras/include/boost/boost/detail/sp_counted_base_gcc_x86.hpp(49): warning: "cc" clobber ignored
/home/area51/fslbuild/fsl/extras/include/boost/boost/detail/sp_counted_base_gcc_x86.hpp(65): warning: "cc" clobber ignored
/home/area51/fslbuild/fsl/extras/include/boost/boost/detail/sp_counted_base_gcc_x86.hpp(91): warning: "cc" clobber ignored
/home/area51/fslbuild/fsl/extras/include/boost/boost/detail/sp_counted_base_gcc_x86.hpp(75): warning: variable "tmp" was set but never used
/home/area51/fslbuild/fsl/include/miscmaths/nonlin.h(202): warning: statement is unreachable
/home/area51/fslbuild/fsl/include/miscmaths/nonlin.h(203): warning: statement is unreachable
/home/area51/fslbuild/fsl/include/miscmaths/nonlin.h(205): warning: statement is unreachable
/home/area51/fslbuild/fsl/include/miscmaths/nonlin.h(206): warning: statement is unreachable
/home/area51/fslbuild/fsl/include/miscmaths/nonlin.h(208): warning: statement is unreachable
/home/area51/fslbuild/fsl/include/miscmaths/nonlin.h(209): warning: statement is unreachable
/home/area51/fslbuild/fsl/include/miscmaths/nonlin.h(211): warning: statement is unreachable
/home/area51/fslbuild/fsl/extras/include/boost/boost/detail/sp_counted_base_gcc_x86.hpp(49): warning: "cc" clobber ignored
/home/area51/fslbuild/fsl/extras/include/boost/boost/detail/sp_counted_base_gcc_x86.hpp(65): warning: "cc" clobber ignored
/home/area51/fslbuild/fsl/extras/include/boost/boost/detail/sp_counted_base_gcc_x86.hpp(91): warning: "cc" clobber ignored
/home/area51/fslbuild/fsl/extras/include/boost/boost/detail/sp_counted_base_gcc_x86.hpp(75): warning: variable "tmp" was set but never used
/home/area51/fslbuild/fsl/include/miscmaths/nonlin.h(202): warning: statement is unreachable
/home/area51/fslbuild/fsl/include/miscmaths/nonlin.h(203): warning: statement is unreachable
/home/area51/fslbuild/fsl/include/miscmaths/nonlin.h(205): warning: statement is unreachable
/home/area51/fslbuild/fsl/include/miscmaths/nonlin.h(206): warning: statement is unreachable
/home/area51/fslbuild/fsl/include/miscmaths/nonlin.h(208): warning: statement is unreachable
/home/area51/fslbuild/fsl/include/miscmaths/nonlin.h(209): warning: statement is unreachable
/home/area51/fslbuild/fsl/include/miscmaths/nonlin.h(211): warning: statement is unreachable
ptxas warning : Too big maxrregcount value specified 64, will be ignored
ptxas fatal : Unresolved extern function 'sqrtf'
make[2]: *** [libbedpostx_cuda.so] Error 255
make[2]: Leaving directory `/home/area51/fslbuild/fsl/src/fdt'
make[1]: *** [master-install-script] Error 2
make[1]: Leaving directory `/home/area51/fslbuild/fsl/src/fdt'
make: *** [install] Error 2
|