|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
MTL: installing and using MTL failed.Dear,
I am trying to install MTL from tar ball mtl-2.1.2-22.tar.gz <http://www.osl.iu.edu/download/research/mtl//mtl-2.1.2-22.tar.gz> given on the webpage. However, I recently had some problems on autoconf and automake and after some search found out that, some version inconsistency was the reason for this. I change to autoconf 2.13 and automake 1.4-p6. I applied also the patch given on the mtl installation and download page, however that patch is already for gcc version 4.02 and I have been using gcc 4.2.3 on ubuntu linux. Patch application succeded however(I think this was the 1st time I applied a patch. I am glad I learnt how to do that besides.) And following the order given on the download and installation page of the mtl, I was at the configure step, I read from the INSTALL file, some extra options have to supplied to work with LAPACK and so on. I used ./configure --with-blais --with-lapack="-llapack -lblas -lg2c" which went ok except . . . checking whether to use interface to LAPACK... yes test: 2807: -lblas: unexpected operator checking whether the Fortran 77 compiler (g77 ) works... yes . . . The I tried make and I got this errors Making all in test make[1]: Entering directory `/home/utabak/Desktop/mtl-2.1.2-22/test' Making all in src make[2]: Entering directory `/home/utabak/Desktop/mtl-2.1.2-22/test/src' g++ -DHAVE_CONFIG_H -I. -I. -I../../mtl -I../.. -ftemplate-depth-30 -Wall -c matrix_iterator_test.cc In file included from ../../mtl/matrix_implementation.h:32, from ../../mtl/matrix.h:33, from matrix_iterator_test.cc:15: ../../mtl/initialize.h: In function 'void mtl::__initialize(Matrix&, mtl::matrix_market_stream<T>&, mtl::symmetric_tag)': ../../mtl/initialize.h:49: error: there are no arguments to 'assert' that depend on a template parameter, so a declaration of 'assert' must be available ../../mtl/initialize.h:49: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) make[2]: *** [matrix_iterator_test.o] Error 1 make[2]: Leaving directory `/home/utabak/Desktop/mtl-2.1.2-22/test/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/utabak/Desktop/mtl-2.1.2-22/test' make: *** [all-recursive] Error 1 Could somebody direct me from this point on to find the point where I am mistaken. Do I strictly need gcc 4.02? Or there is another workaround to this problem... Thanks for your help and time in advance. Umut _______________________________________________ This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/ |
| Free embeddable forum powered by Nabble | Forum Help |