Hi, the portage version of vmd 1.9 failes to compile for me: ----- Compiling msmpot_cuda_latcut.cu --> msmpot_cuda_latcut.o ... nvcc fatal : Unknown option '-ftz' ----- The simple versionbump with modified gentoo patch I posted some time ago compiled flawlessly (thought without cudda) Cheers, Bjoern echo "Compiling " msmpot_cuda.cu " --> " msmpot_cuda.o " ..."; \ /opt/cuda/bin/nvcc --ptxas-options=-v -gencode arch=compute_10,code=sm_10 -gencode arch=compute_13,code=sm_13 -gencode arch=compute_20,code=sm_20 --ftz=true -O3 -v -DARCH_LINUX -DVMDOPENGL -DVMDCUDA -DMSMPOT_CUDA -DVMDIMD -DVMDXINERAMA -DVMDXINPUT -DVMDPYTHON -DVMDTHREADS -DWKFTHREADS -DUSEPOSIXTHREADS -D_REENTRANT -DVMDNUMPY -DVMDWITHCARBS -DVMDPOLYHEDRA -DVMDSURF -DVMDMSMS -DVMDPBCSMOOTH -DVMDTCL -DVMDTK -DVMDGUI -DVMDFLTK -I/usr/include/GL -I/usr/include/python2.6 -I/usr/lib64/python2.6/site-packages/numpy/core/include -I/usr/lib64/python2.6/site-packages/numpy/core/include -I../lib/tcl/include -I../lib/tk/include -I/var/tmp/portage/sci-chemistry/vmd-1.9/work/plugins/include -I/usr/include -I/usr/include/fltk-1 -I. -c msmpot_cuda.cu -o ../LINUX/msmpot_cuda.o Compiling msmpot_cuda.cu --> msmpot_cuda.o ... echo "Compiling " msmpot_cuda_latcut.cu " --> " msmpot_cuda_latcut.o " ..."; \ /opt/cuda/bin/nvcc --ptxas-options=-v -gencode arch=compute_10,code=sm_10 -gencode arch=compute_13,code=sm_13 -gencode arch=compute_20,code=sm_20 --ftz=true -O3 -v -DARCH_LINUX -DVMDOPENGL -DVMDCUDA -DMSMPOT_CUDA -DVMDIMD -DVMDXINERAMA -DVMDXINPUT -DVMDPYTHON -DVMDTHREADS -DWKFTHREADS -DUSEPOSIXTHREADS -D_REENTRANT -DVMDNUMPY -DVMDWITHCARBS -DVMDPOLYHEDRA -DVMDSURF -DVMDMSMS -DVMDPBCSMOOTH -DVMDTCL -DVMDTK -DVMDGUI -DVMDFLTK -I/usr/include/GL -I/usr/include/python2.6 -I/usr/lib64/python2.6/site-packages/numpy/core/include -I/usr/lib64/python2.6/site-packages/numpy/core/include -I../lib/tcl/include -I../lib/tk/include -I/var/tmp/portage/sci-chemistry/vmd-1.9/work/plugins/include -I/usr/include -I/usr/include/fltk-1 -I. -c msmpot_cuda_latcut.cu -o ../LINUX/msmpot_cuda_latcut.o Compiling msmpot_cuda_latcut.cu --> msmpot_cuda_latcut.o ... nvcc fatal : Unknown option '-ftz' make: *** [msmpot_cuda_latcut.o] Error 255 make: *** Waiting for unfinished jobs.... nvcc fatal : Unknown option '-ftz' make: *** [msmpot_cuda.o] Error 255 emake failed
Okay, updating "dev-util/nvidia-cuda-toolkit" from 2.3 to 3.2 did the trick... You might want to make VMD depend on 3.2 (maybe it works with 3.0 or 3.1) Cheers, Bjoern
+ 27 Mar 2011; Justin Lecher <jlec@gentoo.org> vmd-1.9.ebuild: + Correct version of cuda dep, #360401 +