Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 360401 - ERROR: sci-chemistry/vmd-1.9 failed (compile phase)
Summary: ERROR: sci-chemistry/vmd-1.9 failed (compile phase)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-25 09:59 UTC by Bjoern Olausson
Modified: 2011-03-27 11:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bjoern Olausson 2011-03-25 09:59:39 UTC
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
Comment 1 Bjoern Olausson 2011-03-25 10:12:45 UTC
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
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2011-03-27 11:02:53 UTC
+  27 Mar 2011; Justin Lecher <jlec@gentoo.org> vmd-1.9.ebuild:
+  Correct version of cuda dep, #360401
+