missing -lmvec when compiling stream

building stream on an x4600 using the August release of Studio Express for Linux

this compile line:

cc -fast -xarch=amd64a -xvector=simd -xprefetch -xprefetch_level=3 -xopenmp stream_d_omp.c second.c

fails with a "/usr/bin/ld: cannot find -lmvec" error message

removing -xvector=simd from the compile line fixes the problem, I'm guessing at a performance cost

do I need to install additional packages or do additional configuration ?

thanks

-bbr

[495 byte] By [bender.bending.rodriguez] at [2007-11-26 10:13:38]
# 1
Thanks for feedbackThis is known bug and is going to be fixed in next Sun Studio eXpress release. The only workaround is do not use -xvector=simdBTW, this is already fixed in latest release for Fortran and C++ (f90 and CC commands)Alex
alexey_shubin at 2007-7-7 2:03:27 > top of Java-index,Development Tools,Solaris and Linux Development Tools...