Displaying 3 results from an estimated 3 matches for "lmvec".
Did you mean:
mvec
2009 Mar 11
1
Compiling R-2.8.1 on Sparc Solaris 10: libRlapack.so: symbol __vlog_: referenced symbol not found
...4"
export CXXFLAGS=-O
export FFLAGS="-O4 -xlibmopt -libmil -xvector=lib -fround=nearest"
export FCFLAGS=$FFLAGS
export LDFLAGS="-L/usr/sfw/lib/sparcv9 -L/opt/csw/lib/sparcv9"
export SHLIB_CXXLDFLAGS="-G -lCstd"
export BLAS_LIBS=-xlic_lib=sunperf
export LIBS="-lmvec"
export SHLIB_CFLAGS=-lmvec
and:
./configure --prefix=/opt/R-2.8.1 --enable-threads=solaris --with-blas
Could you please help me to pinpoint the problem.
Thanks
--
Mohammad
2007 Sep 15
0
(PR#9910) Incomplete library linking for grDevices.so on
...169.6)
>
>
> When compiling R 2.6.1 (alpha 2007-09-13), grDevices.so fails to link
> properly because of a missing symbol __vlog_.
That is not what the error message reproduced below says, which comes from
the runtime loader.
> This symbol is defined in
> libmvec.so, but no -lmvec is add by the configure script. Manually
> adding -lmvec to the linking command allows grDevices to compile. The
> error output of the make command (for a 64-bit version of R) is given
> below:
>
> cc -G -m64 -L/lib/64 -L/usr/lib/64 -L/usr/local/lib/64 -L/usr/ucblib/sparcv9
>...
2020 Aug 31
2
Vectorization of math function failed?
...(v4f32 x)
{
v4f32 y;
for (int i = 0; i < 4; ++i)
y[i] = std::sin(x[i]);
return y;
}
void fct3(float *x)
{
#pragma clang loop vectorize(enable)
for (int i = 0; i < 16; ++i)
x[i] = sinf(x[i]);
}
Which I compiled with: clang++ -O3 -march=native -mtune=native -c -o
vec.o vec.cc -lmvec -fno-math-errno
And here is what I get:
vec.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <_Z4fct1Dv4_f>:
0: 48 83 ec 48 sub $0x48,%rsp
4: c5 f8 29 04 24 vmovaps %xmm0,(%rsp)
9: e8 00 00 00 00 callq e <_Z4fct1Dv4_f+0...