I work on Gentoo ebuild for latest 2.2.0 version. To be honest, this itself is not 1 hour ebuild creation :-).
The latest available version in STABLE tree is 1.4.0, here is link to 1.4.1 marked as unstable https://gitweb.gentoo.org/repo/gentoo.g ... 4.1.ebuild
When I saw the CMakeLists.txt I wanted to rebuild the ebuild file in CMAKE way and simplify lots of things, however in the moment I am facing:
Code: Select all
g++ -DHAVE_CUBLAS -DMIN_CUDA_ARCH=200 -I"/opt/cuda/include" -DADD_ -DCUBLAS_GFORTRAN -I./include -I./testing -c -o testing/testing_zpotrf_gpu.o testing/testing_zpotrf_gpu.cpp
testing/testing_parse_opts.cpp: In function ‘int main(int, char**)’:
testing/testing_parse_opts.cpp:48:15: error: ‘iter’ does not name a type
for( auto iter = opts.svd_work.begin(); iter < opts.svd_work.end(); ++iter ) {
^
testing/testing_parse_opts.cpp:48:45: error: expected ‘;’ before ‘iter’
for( auto iter = opts.svd_work.begin(); iter < opts.svd_work.end(); ++iter ) {
^
testing/testing_parse_opts.cpp:48:45: error: ‘iter’ was not declared in this scope
testing/testing_parse_opts.cpp:51:15: error: ‘iter’ does not name a type
for( auto iter = opts.jobu.begin(); iter < opts.jobu.end(); ++iter ) {
^
testing/testing_parse_opts.cpp:51:41: error: expected ‘;’ before ‘iter’
for( auto iter = opts.jobu.begin(); iter < opts.jobu.end(); ++iter ) {
^
testing/testing_parse_opts.cpp:51:41: error: ‘iter’ was not declared in this scope
testing/testing_parse_opts.cpp:54:15: error: ‘iter’ does not name a type
for( auto iter = opts.jobv.begin(); iter < opts.jobv.end(); ++iter ) {
^
testing/testing_parse_opts.cpp:54:41: error: expected ‘;’ before ‘iter’
for( auto iter = opts.jobv.begin(); iter < opts.jobv.end(); ++iter ) {
^
testing/testing_parse_opts.cpp:54:41: error: ‘iter’ was not declared in this scope
Makefile:566: recipe for target 'testing/testing_parse_opts.o' failed
make: *** [testing/testing_parse_opts.o] Error 1
make: *** Waiting for unfinished jobs....
* ERROR: sci-libs/magma-2.2.0::archenroot failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sci-libs/magma-2.2.0::archenroot'`,
* the complete build log and the output of `emerge -pqv '=sci-libs/magma-2.2.0::archenroot'`.
* The complete build log is located at '/tmp/portage/sci-libs/magma-2.2.0/temp/build.log'.
* The ebuild environment file is located at '/tmp/portage/sci-libs/magma-2.2.0/temp/environment'.
* Working directory: '/tmp/portage/sci-libs/magma-2.2.0/work/magma-2.2.0'
* S: '/tmp/portage/sci-libs/magma-2.2.0/work/magma-2.2.0'
[1] x86_64-pc-linux-gnu-4.8.5
[2] x86_64-pc-linux-gnu-4.9.4 *
[3] x86_64-pc-linux-gnu-5.4.0
[4] x86_64-pc-linux-gnu-6.2.0
The whole aim is to build CUDA binding for Torch, where CUTORCH projects uses MAGMA as dependency. The aim is to get full GPU support.
Thanks a lot for any hints.
Ladislav