blas-transposed-matrix: too many template-parameter-lists

9 views
Skip to first unread message

Alexand...@uni.lu

unread,
Jan 22, 2019, 6:22:56 AM1/22/19
to linbox-use
Dear Linbox Team,

I would like to report the below installation error on the current version of Linux Fedora, which arises when using a compilation strategy that was successful on the version of Linux Fedora of one year ago.
It seems that I have installed well givaro and fflas-ffpack:

[root@ubiron givaro-4.0.4]# pkg-config --cflags  givaro
-I/usr/local/include -fabi-version=6
[root@ubiron fflas-ffpack-2.3.2]# pkg-config --cflags fflas-ffpack
-I/usr/local/include -fopenmp -fabi-version=6

However, when running ./configure in the linbox-1.5.2 and then "make check", I get the following error message (at the end of a longer screen output which is not suspicious beforehand):
_____________________________________________________________________

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/local/include -fopenmp -fabi-version=6 -O2 -Wall -g -DNDEBUG -U_LB_DEBUG -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -MT diophantine-solver.lo -MD -MP -MF .deps/diophantine-solver.Tpo -c diophantine-solver.C  -fPIC -DPIC -o .libs/diophantine-solver.o
In file included from ../../linbox/matrix/densematrix/blas-matrix.h:54,
                 from ../../linbox/matrix/dense-matrix.h:79,
                 from ../../linbox/algorithms/rational-solver.h:43,
                 from ../../linbox/algorithms/diophantine-solver.h:29,
                 from diophantine-solver.C:26:
../../linbox/matrix/densematrix/blas-transposed-matrix.h:74:8: error: too many template-parameter-lists
  class TransposedBlasMatrix< TransposedBlasMatrix< Matrix > > : public Matrix {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:672: diophantine-solver.lo] Error 1
make[3]: Leaving directory '/usr/share/linbox-1.5.2/linbox/algorithms'
make[2]: *** [Makefile:712: check-recursive] Error 1
make[2]: Leaving directory '/usr/share/linbox-1.5.2/linbox/algorithms'
make[1]: *** [Makefile:638: check-recursive] Error 1
make[1]: Leaving directory '/usr/share/linbox-1.5.2/linbox'
make: *** [Makefile:597: check-recursive] Error 1
[rahm@ubiron linbox-1.5.2]$
____________________________________________________________________

Afterwards, I am able to complete the installation of linbox 1.5.2,

[root@ubiron linbox-1.5.2]# pkg-config --cflags --libs linbox
-O2 -Wall -g -DNDEBUG -U_LB_DEBUG -DDISABLE_COMMENTATOR -I/usr/local/include -fopenmp -fabi-version=6 -L/usr/local/lib -llinbox -fopenmp -lopenblas -lgivaro -lgmp -lgmpxx

but when I want to compile a program involving linbox, I get a fatal error pointing back to the TransposedBlasMatrix which was not properly installed.

Is there a way to remove the superfluous template-parameter-lists?

Wishing you all the best,

Alexander Rahm

--

Dr. Alexander D. Rahm
Collaborateur Scientifique
à l'Université du Luxembourg
Mathematics Research Unit
http://math.uni.lu/~rahm/
Adjunct Lecturer
at National University of Ireland
http://www.maths.nuigalway.ie/~rahm/

Jean-Guill...@imag.fr

unread,
Jan 22, 2019, 7:07:10 AM1/22/19
to linbox-use
Dear Alexander Rahm, 
Thanks for the report,
Regards,

Alexand...@uni.lu

unread,
Jan 22, 2019, 8:44:35 AM1/22/19
to linbox-use
Dear Professor Dumas,

Thank you - the fixed source file, which you have linked, works on my machine!

This has solved my installation problem.

Many thanks,

Alexander Rahm
Reply all
Reply to author
Forward
0 new messages