Hi,
I have problem with bwa installation:
after typing make it running in to the following error:
I have problem with bwa installation:
after typing make it running in to the following error:
gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS ksw.c -o ksw.o
In file included from ksw.c:28:0:
/usr/lib/gcc/i686-linux-gnu/4.8/include/emmintrin.h:31:3: error: #error "SSE2 instruction set not enabled"
# error "SSE2 instruction set not enabled"
^
ksw.c:48:2: error: unknown type name ‘__m128i’
__m128i *qp, *H0, *H1, *E, *Hmax;
^
ksw.c: In function ‘ksw_qinit’:
ksw.c:71:11: error: ‘__m128i’ undeclared (first use in this function)
q->qp = (__m128i*)(((size_t)q + sizeof(kswq_t) + 15) >> 4 << 4); // align memory
^
ksw.c:71:11: note: each undeclared identifier is reported only once for each function it appears in
ksw.c:71:19: error: expected expression before ‘)’ token
q->qp = (__m128i*)(((size_t)q + sizeof(kswq_t) + 15) >> 4 << 4); // align memory
^
ksw.c: In function ‘ksw_u8’:
ksw.c:114:2: error: unknown type name ‘__m128i’
__m128i zero, gapoe, gape, shift, *H0, *H1, *E, *Hmax;
^
ksw.c:130:2: warning: implicit declaration of function ‘_mm_set1_epi32’ [-Wimplicit-function-declaration]
zero = _mm_set1_epi32(0);
^
ksw.c:131:2: warning: implicit declaration of function ‘_mm_set1_epi8’ [-Wimplicit-function-declaration]
gapoe = _mm_set1_epi8(_gapo + _gape);
^
ksw.c:137:3: warning: implicit declaration of function ‘_mm_store_si128’ [-Wimplicit-function-declaration]
_mm_store_si128(E + i, zero);
^
ksw.c:144:3: error: unknown type name ‘__m128i’
__m128i e, h, f = zero, max = zero, *S = q->qp + target[i] * slen; // s is the 1st score vector
^
ksw.c:145:3: warning: implicit declaration of function ‘_mm_load_si128’ [-Wimplicit-function-declaration]
h = _mm_load_si128(H0 + slen - 1); // h={2,5,8,11,14,17,-1,-1} in the above example
^
ksw.c:146:3: warning: implicit declaration of function ‘_mm_slli_si128’ [-Wimplicit-function-declaration]
h = _mm_slli_si128(h, 1); // h=H(i-1,-1); << instead of >> because x64 is little-endian
^
ksw.c:154:4: warning: implicit declaration of function ‘_mm_adds_epu8’ [-Wimplicit-function-declaration]
h = _mm_adds_epu8(h, _mm_load_si128(S + j));
^
ksw.c:155:4: warning: implicit declaration of function ‘_mm_subs_epu8’ [-Wimplicit-function-declaration]
h = _mm_subs_epu8(h, shift); // h=H'(i-1,j-1)+S(i,j)
^
ksw.c:157:4: warning: implicit declaration of function ‘_mm_max_epu8’ [-Wimplicit-function-declaration]
h = _mm_max_epu8(h, e);
^
ksw.c:181:5: warning: implicit declaration of function ‘_mm_movemask_epi8’ [-Wimplicit-function-declaration]
cmp = _mm_movemask_epi8(_mm_cmpeq_epi8(_mm_subs_epu8(f, h), zero));
^
ksw.c:181:5: warning: implicit declaration of function ‘_mm_cmpeq_epi8’ [-Wimplicit-function-declaration]
ksw.c:187:3: warning: implicit declaration of function ‘_mm_srli_si128’ [-Wimplicit-function-declaration]
__max_16(imax, max); // imax is the maximum number in max
^
ksw.c:187:3: warning: implicit declaration of function ‘_mm_extract_epi16’ [-Wimplicit-function-declaration]
ksw.c: In function ‘ksw_i16’:
ksw.c:232:2: error: unknown type name ‘__m128i’
__m128i zero, gapoe, gape, *H0, *H1, *E, *Hmax;
^
ksw.c:248:2: warning: implicit declaration of function ‘_mm_set1_epi16’ [-Wimplicit-function-declaration]
gapoe = _mm_set1_epi16(_gapo + _gape);
^
ksw.c:260:3: error: unknown type name ‘__m128i’
__m128i e, h, f = zero, max = zero, *S = q->qp + target[i] * slen; // s is the 1st score vector
^
ksw.c:264:4: warning: implicit declaration of function ‘_mm_adds_epi16’ [-Wimplicit-function-declaration]
h = _mm_adds_epi16(h, *S++);
^
ksw.c:266:4: warning: implicit declaration of function ‘_mm_max_epi16’ [-Wimplicit-function-declaration]
h = _mm_max_epi16(h, e);
^
ksw.c:270:4: warning: implicit declaration of function ‘_mm_subs_epu16’ [-Wimplicit-function-declaration]
h = _mm_subs_epu16(h, gapoe);
^
ksw.c:286:5: warning: implicit declaration of function ‘_mm_cmpgt_epi16’ [-Wimplicit-function-declaration]
if(UNLIKELY(!_mm_movemask_epi8(_mm_cmpgt_epi16(f, h)))) goto end_loop8;
^
make: *** [ksw.o] Error 1
In file included from ksw.c:28:0:
/usr/lib/gcc/i686-linux-gnu/4.8/include/emmintrin.h:31:3: error: #error "SSE2 instruction set not enabled"
# error "SSE2 instruction set not enabled"
^
ksw.c:48:2: error: unknown type name ‘__m128i’
__m128i *qp, *H0, *H1, *E, *Hmax;
^
ksw.c: In function ‘ksw_qinit’:
ksw.c:71:11: error: ‘__m128i’ undeclared (first use in this function)
q->qp = (__m128i*)(((size_t)q + sizeof(kswq_t) + 15) >> 4 << 4); // align memory
^
ksw.c:71:11: note: each undeclared identifier is reported only once for each function it appears in
ksw.c:71:19: error: expected expression before ‘)’ token
q->qp = (__m128i*)(((size_t)q + sizeof(kswq_t) + 15) >> 4 << 4); // align memory
^
ksw.c: In function ‘ksw_u8’:
ksw.c:114:2: error: unknown type name ‘__m128i’
__m128i zero, gapoe, gape, shift, *H0, *H1, *E, *Hmax;
^
ksw.c:130:2: warning: implicit declaration of function ‘_mm_set1_epi32’ [-Wimplicit-function-declaration]
zero = _mm_set1_epi32(0);
^
ksw.c:131:2: warning: implicit declaration of function ‘_mm_set1_epi8’ [-Wimplicit-function-declaration]
gapoe = _mm_set1_epi8(_gapo + _gape);
^
ksw.c:137:3: warning: implicit declaration of function ‘_mm_store_si128’ [-Wimplicit-function-declaration]
_mm_store_si128(E + i, zero);
^
ksw.c:144:3: error: unknown type name ‘__m128i’
__m128i e, h, f = zero, max = zero, *S = q->qp + target[i] * slen; // s is the 1st score vector
^
ksw.c:145:3: warning: implicit declaration of function ‘_mm_load_si128’ [-Wimplicit-function-declaration]
h = _mm_load_si128(H0 + slen - 1); // h={2,5,8,11,14,17,-1,-1} in the above example
^
ksw.c:146:3: warning: implicit declaration of function ‘_mm_slli_si128’ [-Wimplicit-function-declaration]
h = _mm_slli_si128(h, 1); // h=H(i-1,-1); << instead of >> because x64 is little-endian
^
ksw.c:154:4: warning: implicit declaration of function ‘_mm_adds_epu8’ [-Wimplicit-function-declaration]
h = _mm_adds_epu8(h, _mm_load_si128(S + j));
^
ksw.c:155:4: warning: implicit declaration of function ‘_mm_subs_epu8’ [-Wimplicit-function-declaration]
h = _mm_subs_epu8(h, shift); // h=H'(i-1,j-1)+S(i,j)
^
ksw.c:157:4: warning: implicit declaration of function ‘_mm_max_epu8’ [-Wimplicit-function-declaration]
h = _mm_max_epu8(h, e);
^
ksw.c:181:5: warning: implicit declaration of function ‘_mm_movemask_epi8’ [-Wimplicit-function-declaration]
cmp = _mm_movemask_epi8(_mm_cmpeq_epi8(_mm_subs_epu8(f, h), zero));
^
ksw.c:181:5: warning: implicit declaration of function ‘_mm_cmpeq_epi8’ [-Wimplicit-function-declaration]
ksw.c:187:3: warning: implicit declaration of function ‘_mm_srli_si128’ [-Wimplicit-function-declaration]
__max_16(imax, max); // imax is the maximum number in max
^
ksw.c:187:3: warning: implicit declaration of function ‘_mm_extract_epi16’ [-Wimplicit-function-declaration]
ksw.c: In function ‘ksw_i16’:
ksw.c:232:2: error: unknown type name ‘__m128i’
__m128i zero, gapoe, gape, *H0, *H1, *E, *Hmax;
^
ksw.c:248:2: warning: implicit declaration of function ‘_mm_set1_epi16’ [-Wimplicit-function-declaration]
gapoe = _mm_set1_epi16(_gapo + _gape);
^
ksw.c:260:3: error: unknown type name ‘__m128i’
__m128i e, h, f = zero, max = zero, *S = q->qp + target[i] * slen; // s is the 1st score vector
^
ksw.c:264:4: warning: implicit declaration of function ‘_mm_adds_epi16’ [-Wimplicit-function-declaration]
h = _mm_adds_epi16(h, *S++);
^
ksw.c:266:4: warning: implicit declaration of function ‘_mm_max_epi16’ [-Wimplicit-function-declaration]
h = _mm_max_epi16(h, e);
^
ksw.c:270:4: warning: implicit declaration of function ‘_mm_subs_epu16’ [-Wimplicit-function-declaration]
h = _mm_subs_epu16(h, gapoe);
^
ksw.c:286:5: warning: implicit declaration of function ‘_mm_cmpgt_epi16’ [-Wimplicit-function-declaration]
if(UNLIKELY(!_mm_movemask_epi8(_mm_cmpgt_epi16(f, h)))) goto end_loop8;
^
make: *** [ksw.o] Error 1
Comment