I've been trying to build OpenBLAS on my server. Oddly enough, when I accidentally set TARGET=NEHALEM at one point, it compiled and "sudo make PREFIX=/usr/local/ install" also worked - unfortunately I didn't realize my CPU is actually Penryn based.
Anyway, I went into the source directory, did "make clean" and then tried again, setting TARGET=PENRYN, and it didn't work, and even TARGET=NEHALEM no longer seems to work. Here's a snippet of the output:
2 dirk@agency:~/OpenBLAS⟫ make FC=gfortran TARGET=NEHALEM
[...]
gcc -c -O2 -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=8 -DASMNAME=cher2k_LN -DASMFNAME=cher2k_LN_ -DNAME=cher2k_LN_ -DCNAME=cher2k_LN -DCHAR_NAME=\"cher2k_LN_\" -DCHAR_CNAME=\"cher2k_LN\" -DNO_AFFINITY -I../.. -UDOUBLE -DCOMPLEX -DHER2K -UDOUBLE -DLOWER -UTRANS -DCOMPLEX -UCONJ zher2k_k.c -o cher2k_LN.o
gcc -c -O2 -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=8 -DASMNAME=cher2k_LC -DASMFNAME=cher2k_LC_ -DNAME=cher2k_LC_ -DCNAME=cher2k_LC -DCHAR_NAME=\"cher2k_LC_\" -DCHAR_CNAME=\"cher2k_LC\" -DNO_AFFINITY -I../.. -UDOUBLE -DCOMPLEX -DHER2K -UDOUBLE -DLOWER -DTRANS -DCOMPLEX -DCONJ zher2k_k.c -o cher2k_LC.o
gcc -c -O2 -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=8 -DASMNAME=csyrk_kernel_U -DASMFNAME=csyrk_kernel_U_ -DNAME=csyrk_kernel_U_ -DCNAME=csyrk_kernel_U -DCHAR_NAME=\"csyrk_kernel_U_\" -DCHAR_CNAME=\"csyrk_kernel_U\" -DNO_AFFINITY -I../.. -UDOUBLE -DCOMPLEX -UDOUBLE -DCOMPLEX -ULOWER syrk_kernel.c -o csyrk_kernel_U.o
gcc -c -O2 -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=8 -DASMNAME=csyrk_kernel_L -DASMFNAME=csyrk_kernel_L_ -DNAME=csyrk_kernel_L_ -DCNAME=csyrk_kernel_L -DCHAR_NAME=\"R_CNAME=\"cgemm3m_cc\" -DNO_AFFINITY -I../.. -UDOUBLE -DCOMPLEX -c -UDOUBLE -DCOMPLEX -DCC gemm3m.c -o cgemm3m_cc.o
gcc -O2 -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=8 -DASMNAME=cgemm3m_ct -DASMFNAME=cgemm3m_ct_ -DNAME=cgemm3m_ct_ -DCNAME=cgemm3m_ct -DCHAR_NAME=\"cgemm3m_ct_\" -DCHAR_CNAME=\"cgemm3m_ct\" -DNO_AFFINITY -I../.. -UDOUBLE -DCOMPLEX -c -UDOUBLE -DCOMPLEX -DCT gemm3m.c -o cgemm3m_ct.o
In file included from ../../common.h:414:0,
from gemm3m.c:40:
gemm3m_level3.c: In function ‘cgemm3m_nn’:
../../common_param.h:1009:20: error: ‘CGEMM3M_DEFAULT_R’ undeclared (first use in this function)
#define CGEMM3M_R CGEMM3M_DEFAULT_R
^
../../common_param.h:1229:18: note: in expansion of macro ‘CGEMM3M_R’
#define GEMM3M_R CGEMM3M_R
^
gemm3m_level3.c:306:37: note: in expansion of macro ‘GEMM3M_R’
for(js = n_from; js < n_to; js += GEMM3M_R){
^
../../common_param.h:1009:20: note: each undeclared identifier is reported only once for each function it appears in
#define CGEMM3M_R CGEMM3M_DEFAULT_R
^
../../common_param.h:1229:18: note: in expansion of macro ‘CGEMM3M_R’
#define GEMM3M_R CGEMM3M_R
^
gemm3m_level3.c:306:37: note: in expansion of macro ‘GEMM3M_R’
for(js = n_from; js < n_to; js += GEMM3M_R){
^
../../common_param.h:1008:20: error: ‘CGEMM3M_DEFAULT_Q’ undeclared (first use in this function)
#define CGEMM3M_Q CGEMM3M_DEFAULT_Q
^
../../common_param.h:1219:18: note: in expansion of macro ‘CGEMM3M_Q’
#define GEMM3M_Q CGEMM3M_Q
^
gemm3m_level3.c:313:20: note: in expansion of macro ‘GEMM3M_Q’
if (min_l >= GEMM3M_Q * 2) {
^
../../common_param.h:1007:20: error: ‘CGEMM3M_DEFAULT_P’ undeclared (first use in this function)
#define CGEMM3M_P CGEMM3M_DEFAULT_P
^
../../common_param.h:1209:18: note: in expansion of macro ‘CGEMM3M_P’
#define GEMM3M_P CGEMM3M_P
^
gemm3m_level3.c:325:20: note: in expansion of macro ‘GEMM3M_P’
if (min_i >= GEMM3M_P * 2) {
^
../../common_param.h:1010:26: error: ‘CGEMM3M_DEFAULT_UNROLL_M’ undeclared (first use in this function)
#define CGEMM3M_UNROLL_M CGEMM3M_DEFAULT_UNROLL_M
^
../../common_param.h:1142:25: note: in expansion of macro ‘CGEMM3M_UNROLL_M’
#define GEMM3M_UNROLL_M CGEMM3M_UNROLL_M
^
gemm3m_level3.c:329:25: note: in expansion of macro ‘GEMM3M_UNROLL_M’
min_i = (min_i / 2 + GEMM3M_UNROLL_M - 1) & ~(GEMM3M_UNROLL_M - 1);
^
../../common_param.h:1011:26: error: ‘CGEMM3M_DEFAULT_UNROLL_N’ undeclared (first use in this function)
#define CGEMM3M_UNROLL_N CGEMM3M_DEFAULT_UNROLL_N
^
../../common_param.h:1143:25: note: in expansion of macro ‘CGEMM3M_UNROLL_N’
#define GEMM3M_UNROLL_N CGEMM3M_UNROLL_N
^
gemm3m_level3.c:341:15: note: in expansion of macro ‘GEMM3M_UNROLL_N’
if (min_jj > GEMM3M_UNROLL_N) min_jj = GEMM3M_UNROLL_N;
^
gcc -O2 -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=8 -DASMNAME=cgemm3m_tc -DASMFNAME=cgemm3m_tc_ -DNAME=cgemm3m_tc_ -DCNAME=cgemm3m_tc -DCHAR_NAME=\"cgemm3m_tc_\" -DCHAR_CNAME=\"cgemm3m_tc\" -DNO_AFFINITY -I../.. -UDOUBLE -DCOMPLEX -c -UDOUBLE -DCOMPLEX -DTC gemm3m.c -o cgemm3m_tc.o
In file included from ../../common.h:414:0,
from gemm3m.c:40:
gemm3m_level3.c: In function ‘cgemm3m_cn’:
../../common_param.h:1009:20: error: ‘CGEMM3M_DEFAULT_R’ undeclared (first use in this function)
#define CGEMM3M_R CGEMM3M_DEFAULT_R
^
../../common_param.h:1229:18: note: in expansion of macro ‘CGEMM3M_R’
#define GEMM3M_R CGEMM3M_R
^
gemm3m_level3.c:306:37: note: in expansion of macro ‘GEMM3M_R’
for(js = n_from; js < n_to; js += GEMM3M_R){
^
../../common_param.h:1009:20: note: each undeclared identifier is reported only once for each function it appears in
#define CGEMM3M_R CGEMM3M_DEFAULT_R
^
../../common_param.h:1229:18: note: in expansion of macro ‘CGEMM3M_R’
#define GEMM3M_R CGEMM3M_R
^
gemm3m_level3.c:306:37: note: in expansion of macro ‘GEMM3M_R’
for(js = n_from; js < n_to; js += GEMM3M_R){
^
../../common_param.h:1008:20: error: ‘CGEMM3M_DEFAULT_Q’ undeclared (first use in this function)
#define CGEMM3M_Q CGEMM3M_DEFAULT_Q
^
../../common_param.h:1219:18: note: in expansion of macro ‘CGEMM3M_Q’
#define GEMM3M_Q CGEMM3M_Q
^
gemm3m_level3.c:313:20: note: in expansion of macro ‘GEMM3M_Q’
if (min_l >= GEMM3M_Q * 2) {
^
make[1]: *** [cgemm3m_nn.o] Error 1
make[1]: *** Waiting for unfinished jobs....
../../common_param.h:1007:20: error: ‘CGEMM3M_DEFAULT_P’ undeclared (first use in this function)
#define CGEMM3M_P CGEMM3M_DEFAULT_P
^
../../common_param.h:1209:18: note: in expansion of macro ‘CGEMM3M_P’
#define GEMM3M_P CGEMM3M_P
^
gemm3m_level3.c:325:20: note: in expansion of macro ‘GEMM3M_P’
if (min_i >= GEMM3M_P * 2) {
^
../../common_param.h:1010:26: error: ‘CGEMM3M_DEFAULT_UNROLL_M’ undeclared (first use in this function)
#define CGEMM3M_UNROLL_M CGEMM3M_DEFAULT_UNROLL_M
^
../../common_param.h:1142:25: note: in expansion of macro ‘CGEMM3M_UNROLL_M’
#define GEMM3M_UNROLL_M CGEMM3M_UNROLL_M
^
gemm3m_level3.c:329:25: note: in expansion of macro ‘GEMM3M_UNROLL_M’
min_i = (min_i / 2 + GEMM3M_UNROLL_M - 1) & ~(GEMM3M_UNROLL_M - 1);
^
../../common_param.h:1011:26: error: ‘CGEMM3M_DEFAULT_UNROLL_N’ undeclared (first use in this function)
#define CGEMM3M_UNROLL_N CGEMM3M_DEFAULT_UNROLL_N
^
../../common_param.h:1143:25: note: in expansion of macro ‘CGEMM3M_UNROLL_N’
#define GEMM3M_UNROLL_N CGEMM3M_UNROLL_N
^
gemm3m_level3.c:341:15: note: in expansion of macro ‘GEMM3M_UNROLL_N’
if (min_jj > GEMM3M_UNROLL_N) min_jj = GEMM3M_UNROLL_N;
^
make[1]: *** [cgemm3m_cn.o] Error 1
In file included from ../../common.h:414:0,
from gemm3m.c:40:
gemm3m_level3.c: In function ‘cgemm3m_tn’:
../../common_param.h:1009:20: error: ‘CGEMM3M_DEFAULT_R’ undeclared (first use in this function)
for(js = n_from; js < n_to; js += GEMM3M_R){
^
../../common_param.h:1008:20: error: ‘CGEMM3M_DEFAULT_Q’ undeclared (first use in this function)
#define CGEMM3M_Q CGEMM3M_DEFAULT_Q
^
../../common_param.h:1219:18: note: in expansion of macro ‘CGEMM3M_Q’
#define GEMM3M_Q CGEMM3M_Q
^
gemm3m_level3.c:313:20: note: in expansion of macro ‘GEMM3M_Q’
if (min_l >= GEMM3M_Q * 2) {
^
../../common_param.h:1007:20: error: ‘CGEMM3M_DEFAULT_P’ undeclared (first use in this function)
#define CGEMM3M_P CGEMM3M_DEFAULT_P
^
../../common_param.h:1209:18: note: in expansion of macro ‘CGEMM3M_P’
#define GEMM3M_P CGEMM3M_P
^
gemm3m_level3.c:325:20: note: in expansion of macro ‘GEMM3M_P’
if (min_i >= GEMM3M_P * 2) {
^
In file included from ../../common.h:414:0,
from gemm3m.c:40:
gemm3m_level3.c: In function ‘cgemm3m_cc’:
../../common_param.h:1010:26: error: ‘CGEMM3M_DEFAULT_UNROLL_M’ undeclared (first use in this function)
#define CGEMM3M_UNROLL_M CGEMM3M_DEFAULT_UNROLL_M
^
../../common_param.h:1142:25: note: in expansion of macro ‘CGEMM3M_UNROLL_M’
#define GEMM3M_UNROLL_M CGEMM3M_UNROLL_M
^
gemm3m_level3.c:329:25: note: in expansion of macro ‘GEMM3M_UNROLL_M’
min_i = (min_i / 2 + GEMM3M_UNROLL_M - 1) & ~(GEMM3M_UNROLL_M - 1);
^
../../common_param.h:1009:20: error: ‘CGEMM3M_DEFAULT_R’ undeclared (first use in this function)
#define CGEMM3M_R CGEMM3M_DEFAULT_R
^
../../common_param.h:1229:18: note: in expansion of macro ‘CGEMM3M_R’
#define GEMM3M_R CGEMM3M_R
^
gemm3m_level3.c:306:37: note: in expansion of macro ‘GEMM3M_R’
for(js = n_from; js < n_to; js += GEMM3M_R){
^
make[1]: *** [cgemm3m_tn.o] Error 1
../../common_param.h:1009:20: note: each undeclared identifier is reported only once for each function it appears in
#define CGEMM3M_R CGEMM3M_DEFAULT_R
^
../../common_param.h:1229:18: note: in expansion of macro ‘CGEMM3M_R’
#define GEMM3M_R CGEMM3M_R
^
gemm3m_level3.c:306:37: note: in expansion of macro ‘GEMM3M_R’
for(js = n_from; js < n_to; js += GEMM3M_R){
^
../../common_param.h:1011:26: error: ‘CGEMM3M_DEFAULT_UNROLL_N’ undeclared (first use in this function)
#define CGEMM3M_UNROLL_N CGEMM3M_DEFAULT_UNROLL_N
^
../../common_param.h:1143:25: note: in expansion of macro ‘CGEMM3M_UNROLL_N’
#define GEMM3M_UNROLL_N CGEMM3M_UNROLL_N
^
gemm3m_level3.c:341:15: note: in expansion of macro ‘GEMM3M_UNROLL_N’
if (min_jj > GEMM3M_UNROLL_N) min_jj = GEMM3M_UNROLL_N;
^
../../common_param.h:1008:20: error: ‘CGEMM3M_DEFAULT_Q’ undeclared (first use in this function)
#define CGEMM3M_Q CGEMM3M_DEFAULT_Q
^
../../common_param.h:1219:18: note: in expansion of macro ‘CGEMM3M_Q’
#define GEMM3M_Q CGEMM3M_Q
^
gemm3m_level3.c:313:20: note: in expansion of macro ‘GEMM3M_Q’
if (min_l >= GEMM3M_Q * 2) {
^
../../common_param.h:1007:20: error: ‘CGEMM3M_DEFAULT_P’ undeclared (first use in this function)
#define CGEMM3M_P CGEMM3M_DEFAULT_P
^
../../common_param.h:1209:18: note: in expansion of macro ‘CGEMM3M_P’
#define GEMM3M_P CGEMM3M_P
^
gemm3m_level3.c:325:20: note: in expansion of macro ‘GEMM3M_P’
if (min_i >= GEMM3M_P * 2) {
^
../../common_param.h:1010:26: error: ‘CGEMM3M_DEFAULT_UNROLL_M’ undeclared (first use in this function)
#define CGEMM3M_UNROLL_M CGEMM3M_DEFAULT_UNROLL_M
^
../../common_param.h:1142:25: note: in expansion of macro ‘CGEMM3M_UNROLL_M’
#define GEMM3M_UNROLL_M CGEMM3M_UNROLL_M
^
gemm3m_level3.c:329:25: note: in expansion of macro ‘GEMM3M_UNROLL_M’
min_i = (min_i / 2 + GEMM3M_UNROLL_M - 1) & ~(GEMM3M_UNROLL_M - 1);
^
../../common_param.h:1011:26: error: ‘CGEMM3M_DEFAULT_UNROLL_N’ undeclared (first use in this function)
#define CGEMM3M_UNROLL_N CGEMM3M_DEFAULT_UNROLL_N
^
../../common_param.h:1143:25: note: in expansion of macro ‘CGEMM3M_UNROLL_N’
#define GEMM3M_UNROLL_N CGEMM3M_UNROLL_N
^
gemm3m_level3.c:341:15: note: in expansion of macro ‘GEMM3M_UNROLL_N’
if (min_jj > GEMM3M_UNROLL_N) min_jj = GEMM3M_UNROLL_N;
^
In file included from ../../common.h:414:0,
from gemm3m.c:40:
gemm3m_level3.c: In function ‘cgemm3m_nc’:
../../common_param.h:1009:20: error: ‘CGEMM3M_DEFAULT_R’ undeclared (first use in this function)
#define CGEMM3M_R CGEMM3M_DEFAULT_R
^
../../common_param.h:1229:18: note: in expansion of macro ‘CGEMM3M_R’
#define GEMM3M_R CGEMM3M_R
^
gemm3m_level3.c:306:37: note: in expansion of macro ‘GEMM3M_R’
for(js = n_from; js < n_to; js += GEMM3M_R){
^
../../common_param.h:1009:20: note: each undeclared identifier is reported only once for each function it appears in
#define CGEMM3M_R CGEMM3M_DEFAULT_R
^
../../common_param.h:1229:18: note: in expansion of macro ‘CGEMM3M_R’
#define GEMM3M_R CGEMM3M_R
^
gemm3m_level3.c:306:37: note: in expansion of macro ‘GEMM3M_R’
for(js = n_from; js < n_to; js += GEMM3M_R){
^
../../common_param.h:1008:20: error: ‘CGEMM3M_DEFAULT_Q’ undeclared (first use in this function)
#define CGEMM3M_Q CGEMM3M_DEFAULT_Q
^
../../common_param.h:1219:18: note: in expansion of macro ‘CGEMM3M_Q’
#define GEMM3M_Q CGEMM3M_Q
^
gemm3m_level3.c:313:20: note: in expansion of macro ‘GEMM3M_Q’
if (min_l >= GEMM3M_Q * 2) {
make[1]: *** [cgemm3m_nt.o] Error 1
make[1]: *** [cgemm3m_cc.o] Error 1
make[1]: *** [cgemm3m_nc.o] Error 1
In file included from ../../common.h:414:0,
from gemm3m.c:40:
gemm3m_level3.c: In function ‘cgemm3m_ct’:
../../common_param.h:1009:20: error: ‘CGEMM3M_DEFAULT_R’ undeclared (first use in this function)
#define CGEMM3M_R CGEMM3M_DEFAULT_R
^
../../common_param.h:1229:18: note: in expansion of macro ‘CGEMM3M_R’
#define GEMM3M_R CGEMM3M_R
^
gemm3m_level3.c:306:37: note: in expansion of macro ‘GEMM3M_R’
for(js = n_from; js < n_to; js += GEMM3M_R){
^
../../common_param.h:1009:20: note: each undeclared identifier is reported only once for each function it appears in
#define CGEMM3M_R CGEMM3M_DEFAULT_R
^
../../common_param.h:1229:18: note: in expansion of macro ‘CGEMM3M_R’
#define GEMM3M_R CGEMM3M_R
^
gemm3m_level3.c:306:37: note: in expansion of macro ‘GEMM3M_R’
for(js = n_from; js < n_to; js += GEMM3M_R){
^
../../common_param.h:1008:20: error: ‘CGEMM3M_DEFAULT_Q’ undeclared (first use in this function)
#define CGEMM3M_Q CGEMM3M_DEFAULT_Q
^
../../common_param.h:1219:18: note: in expansion of macro ‘CGEMM3M_Q’
#define GEMM3M_Q CGEMM3M_Q
^
gemm3m_level3.c:313:20: note: in expansion of macro ‘GEMM3M_Q’
if (min_l >= GEMM3M_Q * 2) {
^
../../common_param.h:1007:20: error: ‘CGEMM3M_DEFAULT_P’ undeclared (first use in this function)
#define CGEMM3M_P CGEMM3M_DEFAULT_P
^
../../common_param.h:1209:18: note: in expansion of macro ‘CGEMM3M_P’
#define GEMM3M_P CGEMM3M_P
^
gemm3m_level3.c:325:20: note: in expansion of macro ‘GEMM3M_P’
if (min_i >= GEMM3M_P * 2) {
^
../../common_param.h:1010:26: error: ‘CGEMM3M_DEFAULT_UNROLL_M’ undeclared (first use in this function)
#define CGEMM3M_UNROLL_M CGEMM3M_DEFAULT_UNROLL_M
^
../../common_param.h:1142:25: note: in expansion of macro ‘CGEMM3M_UNROLL_M’
#define GEMM3M_UNROLL_M CGEMM3M_UNROLL_M
^
gemm3m_level3.c:329:25: note: in expansion of macro ‘GEMM3M_UNROLL_M’
min_i = (min_i / 2 + GEMM3M_UNROLL_M - 1) & ~(GEMM3M_UNROLL_M - 1);
^
../../common_param.h:1011:26: error: ‘CGEMM3M_DEFAULT_UNROLL_N’ undeclared (first use in this function)
#define CGEMM3M_UNROLL_N CGEMM3M_DEFAULT_UNROLL_N
^
../../common_param.h:1143:25: note: in expansion of macro ‘CGEMM3M_UNROLL_N’
#define GEMM3M_UNROLL_N CGEMM3M_UNROLL_N
^
gemm3m_level3.c:341:15: note: in expansion of macro ‘GEMM3M_UNROLL_N’
if (min_jj > GEMM3M_UNROLL_N) min_jj = GEMM3M_UNROLL_N;
^
make[1]: *** [cgemm3m_ct.o] Error 1
In file included from ../../common.h:414:0,
from gemm3m.c:40:
gemm3m_level3.c: In function ‘cgemm3m_tc’:
../../common_param.h:1009:20: error: ‘CGEMM3M_DEFAULT_R’ undeclared (first use in this function)
#define CGEMM3M_R CGEMM3M_DEFAULT_R
^
../../common_param.h:1229:18: note: in expansion of macro ‘CGEMM3M_R’
#define GEMM3M_R CGEMM3M_R
^
gemm3m_level3.c:306:37: note: in expansion of macro ‘GEMM3M_R’
for(js = n_from; js < n_to; js += GEMM3M_R){
^
../../common_param.h:1009:20: note: each undeclared identifier is reported only once for each function it appears in
#define CGEMM3M_R CGEMM3M_DEFAULT_R
^
../../common_param.h:1229:18: note: in expansion of macro ‘CGEMM3M_R’
#define GEMM3M_R CGEMM3M_R
^
gemm3m_level3.c:306:37: note: in expansion of macro ‘GEMM3M_R’
for(js = n_from; js < n_to; js += GEMM3M_R){
^
../../common_param.h:1008:20: error: ‘CGEMM3M_DEFAULT_Q’ undeclared (first use in this function)
#define CGEMM3M_Q CGEMM3M_DEFAULT_Q
^
../../common_param.h:1219:18: note: in expansion of macro ‘CGEMM3M_Q’
#define GEMM3M_Q CGEMM3M_Q
^
gemm3m_level3.c:313:20: note: in expansion of macro ‘GEMM3M_Q’
if (min_l >= GEMM3M_Q * 2) {
^
../../common_param.h:1007:20: error: ‘CGEMM3M_DEFAULT_P’ undeclared (first use in this function)
#define CGEMM3M_P CGEMM3M_DEFAULT_P
^
../../common_param.h:1209:18: note: in expansion of macro ‘CGEMM3M_P’
#define GEMM3M_P CGEMM3M_P
^
gemm3m_level3.c:325:20: note: in expansion of macro ‘GEMM3M_P’
if (min_i >= GEMM3M_P * 2) {
^
../../common_param.h:1010:26: error: ‘CGEMM3M_DEFAULT_UNROLL_M’ undeclared (first use in this function)
#define CGEMM3M_UNROLL_M CGEMM3M_DEFAULT_UNROLL_M
^
../../common_param.h:1142:25: note: in expansion of macro ‘CGEMM3M_UNROLL_M’
#define GEMM3M_UNROLL_M CGEMM3M_UNROLL_M
^
gemm3m_level3.c:329:25: note: in expansion of macro ‘GEMM3M_UNROLL_M’
min_i = (min_i / 2 + GEMM3M_UNROLL_M - 1) & ~(GEMM3M_UNROLL_M - 1);
^
../../common_param.h:1011:26: error: ‘CGEMM3M_DEFAULT_UNROLL_N’ undeclared (first use in this function)
#define CGEMM3M_UNROLL_N CGEMM3M_DEFAULT_UNROLL_N
^
../../common_param.h:1143:25: note: in expansion of macro ‘CGEMM3M_UNROLL_N’
#define GEMM3M_UNROLL_N CGEMM3M_UNROLL_N
^
gemm3m_level3.c:341:15: note: in expansion of macro ‘GEMM3M_UNROLL_N’
if (min_jj > GEMM3M_UNROLL_N) min_jj = GEMM3M_UNROLL_N;
^
make[1]: *** [cgemm3m_tc.o] Error 1
make[1]: Leaving directory `/home/dirk/OpenBLAS/driver/level3'
make: *** [libs] Error 1
I've been trying to build OpenBLAS on my server. Oddly enough, when I accidentally set TARGET=NEHALEM at one point, it compiled and "sudo make PREFIX=/usr/local/ install" also worked - unfortunately I didn't realize my CPU is actually Penryn based.
Anyway, I went into the source directory, did "make clean" and then tried again, setting TARGET=PENRYN, and it didn't work, and even TARGET=NEHALEM no longer seems to work. Here's a snippet of the output: