|
请问楼主,我按照您的方法在Centos 7.6安装,进行到Getting proc arch info using OpenBLAS tools时总是出现这个问题:
- etarch_2nd.c:22:35: error: ‘SGEMM_DEFAULT_UNROLL_M’ undeclared (first use in this function); did you mean ‘SBGEMM_DEFAULT_UNROLL_M’?
- 22 | printf("SGEMM_UNROLL_M=%d\n", SGEMM_DEFAULT_UNROLL_M);
- | ^~~~~~~~~~~~~~~~~~~~~~
- | SBGEMM_DEFAULT_UNROLL_M
- getarch_2nd.c:22:35: note: each undeclared identifier is reported only once for each function it appears in
- getarch_2nd.c:23:35: error: ‘SGEMM_DEFAULT_UNROLL_N’ undeclared (first use in this function); did you mean ‘SBGEMM_DEFAULT_UNROLL_N’?
- 23 | printf("SGEMM_UNROLL_N=%d\n", SGEMM_DEFAULT_UNROLL_N);
- | ^~~~~~~~~~~~~~~~~~~~~~
- | SBGEMM_DEFAULT_UNROLL_N
- getarch_2nd.c:24:35: error: ‘DGEMM_DEFAULT_UNROLL_M’ undeclared (first use in this function); did you mean ‘XGEMM_DEFAULT_UNROLL_M’?
- 24 | printf("DGEMM_UNROLL_M=%d\n", DGEMM_DEFAULT_UNROLL_M);
- | ^~~~~~~~~~~~~~~~~~~~~~
- | XGEMM_DEFAULT_UNROLL_M
- getarch_2nd.c:25:35: error: ‘DGEMM_DEFAULT_UNROLL_N’ undeclared (first use in this function); did you mean ‘XGEMM_DEFAULT_UNROLL_N’?
- 25 | printf("DGEMM_UNROLL_N=%d\n", DGEMM_DEFAULT_UNROLL_N);
- | ^~~~~~~~~~~~~~~~~~~~~~
- | XGEMM_DEFAULT_UNROLL_N
- getarch_2nd.c:29:35: error: ‘CGEMM_DEFAULT_UNROLL_M’ undeclared (first use in this function); did you mean ‘XGEMM_DEFAULT_UNROLL_M’?
- 29 | printf("CGEMM_UNROLL_M=%d\n", CGEMM_DEFAULT_UNROLL_M);
- | ^~~~~~~~~~~~~~~~~~~~~~
- | XGEMM_DEFAULT_UNROLL_M
- getarch_2nd.c:30:35: error: ‘CGEMM_DEFAULT_UNROLL_N’ undeclared (first use in this function); did you mean ‘XGEMM_DEFAULT_UNROLL_N’?
- 30 | printf("CGEMM_UNROLL_N=%d\n", CGEMM_DEFAULT_UNROLL_N);
- | ^~~~~~~~~~~~~~~~~~~~~~
- | XGEMM_DEFAULT_UNROLL_N
- getarch_2nd.c:31:35: error: ‘ZGEMM_DEFAULT_UNROLL_M’ undeclared (first use in this function); did you mean ‘XGEMM_DEFAULT_UNROLL_M’?
- 31 | printf("ZGEMM_UNROLL_M=%d\n", ZGEMM_DEFAULT_UNROLL_M);
- | ^~~~~~~~~~~~~~~~~~~~~~
- | XGEMM_DEFAULT_UNROLL_M
- getarch_2nd.c:32:35: error: ‘ZGEMM_DEFAULT_UNROLL_N’ undeclared (first use in this function); did you mean ‘XGEMM_DEFAULT_UNROLL_N’?
- 32 | printf("ZGEMM_UNROLL_N=%d\n", ZGEMM_DEFAULT_UNROLL_N);
- | ^~~~~~~~~~~~~~~~~~~~~~
- | XGEMM_DEFAULT_UNROLL_N
- getarch_2nd.c:79:50: error: ‘SGEMM_DEFAULT_Q’ undeclared (first use in this function); did you mean ‘SBGEMM_DEFAULT_Q’?
- 79 | printf("#define SLOCAL_BUFFER_SIZE\t%ld\n", (SGEMM_DEFAULT_Q * SGEMM_DEFAULT_UNROLL_N * 4 * 1 * sizeof(float)));
- | ^~~~~~~~~~~~~~~
- | SBGEMM_DEFAULT_Q
- getarch_2nd.c:80:50: error: ‘DGEMM_DEFAULT_Q’ undeclared (first use in this function); did you mean ‘SBGEMM_DEFAULT_Q’?
- 80 | printf("#define DLOCAL_BUFFER_SIZE\t%ld\n", (DGEMM_DEFAULT_Q * DGEMM_DEFAULT_UNROLL_N * 2 * 1 * sizeof(double)));
- | ^~~~~~~~~~~~~~~
- | SBGEMM_DEFAULT_Q
- getarch_2nd.c:81:50: error: ‘CGEMM_DEFAULT_Q’ undeclared (first use in this function); did you mean ‘SBGEMM_DEFAULT_Q’?
- 81 | printf("#define CLOCAL_BUFFER_SIZE\t%ld\n", (CGEMM_DEFAULT_Q * CGEMM_DEFAULT_UNROLL_N * 4 * 2 * sizeof(float)));
- | ^~~~~~~~~~~~~~~
- | SBGEMM_DEFAULT_Q
- getarch_2nd.c:82:50: error: ‘ZGEMM_DEFAULT_Q’ undeclared (first use in this function); did you mean ‘SBGEMM_DEFAULT_Q’?
- 82 | printf("#define ZLOCAL_BUFFER_SIZE\t%ld\n", (ZGEMM_DEFAULT_Q * ZGEMM_DEFAULT_UNROLL_N * 2 * 2 * sizeof(double)));
- | ^~~~~~~~~~~~~~~
- | SBGEMM_DEFAULT_Q
- make: *** [getarch_2nd] Error 1
- OpenBLAS detected LIBCORE = unknown
- OpenBLAS detected ARCH = x86_64
复制代码
因此,到Installing OpenBLAS时直接停止:
- Installing OpenBLAS library for target UNKNOWN
- getarch.c:1698:2: error: #error "The TARGET specified on the command line or in Makefile.rule is not supported. Please choose a target from TargetList.txt"
- 1698 | #error "The TARGET specified on the command line or in Makefile.rule is not supported. Please choose a target from TargetList.txt"
- | ^~~~~
- make: *** [getarch] Error 1
- Makefile.system:1531: Makefile.: No such file or directory
- make: *** No rule to make target `Makefile.'. Stop.
- getarch.c:1698:2: error: #error "The TARGET specified on the command line or in Makefile.rule is not supported. Please choose a target from TargetList.txt"
- 1698 | #error "The TARGET specified on the command line or in Makefile.rule is not supported. Please choose a target from TargetList.txt"
- | ^~~~~
- make: *** [getarch] Error 1
- Makefile.system:1531: Makefile.: No such file or directory
- make: *** No rule to make target `Makefile.'. Stop.
复制代码
请问楼主,这种问题应该如何解决 |
|