Re: [eigen] Updating the Benchmarks

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


btw, if you plane to bench matrix size up to 9000x9000, make sure you
disable the non optimized libraries like GMM, ublas, blitz, etc.
because they will take forever. Also make sure you disable the result
verifications when running the tests (BTL_CONFIG="--nocheck).


BLAS and lapack libs are very very painful regarding
configuration/linking Depending on how the libs have been generated
you might need very different settings. That's why you have these
trouble. That's also a non negligible advantage of Eigen.

gael

On Wed, Jan 26, 2011 at 6:34 PM, Gael Guennebaud
<gael.guennebaud@xxxxxxxxx> wrote:
> Hi all,
>
> some tips there:
> http://eigen.tuxfamily.org/index.php?title=How_to_run_the_benchmark_suite
>
> gael
>
> On Thu, Jan 20, 2011 at 4:24 PM, Milian Wolff <mail@xxxxxxxxxx> wrote:
>> On 01/20/11 14:50, Milian Wolff wrote:
>>>
>>> Hey all!
>>
>> ...
>>>
>>> I am not able to install the benchmarks there:
>>>
>>> http://paste.kde.org/2822/
>>>
>>> that is the "default" branch in mercurial, eigen2 installed from squeeze
>>> repo, version is 2.0.15-1. Any help on this?
>>
>> When I remove eigen2 from my system I can compile it. I cannot get it to
>> work with GOTO Blas though.
>>
>> it looks for libgotoblas.so - current version of Goto Blas (2 !) creates
>> libgoto2.so. When I symlink that to libgotoblas.so and set GOTODIR
>> appropriately, I can compile it but linking fails:
>>
>> Linking CXX executable btl_goto
>> /home/milianw/projects/GotoBLAS2/libgotoblas.so: undefined reference to
>> `_gfortran_concat_string'
>> /home/milianw/projects/GotoBLAS2/libgotoblas.so: undefined reference to
>> `_gfortran_pow_i4_i4'
>> /home/milianw/projects/GotoBLAS2/libgotoblas.so: undefined reference to
>> `_gfortran_compare_string'
>>
>> neither ATLAS seems to work:
>>
>> 1) C_BLAS/main.cpp is missing an #include <complex>
>> 2) I get linking errors:
>>
>> Linking CXX executable btl_atlas
>> CMakeFiles/btl_atlas.dir/main.cpp.o: In function
>> `C_BLAS_interface<float>::lu_decomp(float* const&, float*&, int)':
>>
>> main.cpp:(.text._ZN16C_BLAS_interfaceIfE9lu_decompERKPfRS1_i[C_BLAS_interface<float>::lu_decomp(float*
>> const&, float*&, int)]+0x83): undefined reference to `sgetc2_'
>> CMakeFiles/btl_atlas.dir/main.cpp.o: In function
>> `Portable_Perf_Analyzer<Action_hessenberg<C_BLAS_interface<float> >
>>>::time_calculate(Action_hessenberg<C_BLAS_interface<float> >&)':
>> main.cpp:(.text._ZN22Portable_Perf_AnalyzerI17Action_hessenbergI16C_BLAS_interfaceIfEEE14time_calculateERS3_[Portable_Perf_Analyzer<Action_hessenberg<C_BLAS_interface<float>
>>> >::time_calculate(Action_hessenberg<C_BLAS_interface<float> >&)]+0xa3):
>> undefined reference to `sgehrd_'
>> main.cpp:(.text._ZN22Portable_Perf_AnalyzerI17Action_hessenbergI16C_BLAS_interfaceIfEEE14time_calculateERS3_[Portable_Perf_Analyzer<Action_hessenberg<C_BLAS_interface<float>
>>> >::time_calculate(Action_hessenberg<C_BLAS_interface<float> >&)]+0x185):
>> undefined reference to `sgehrd_'
>> CMakeFiles/btl_atlas.dir/main.cpp.o: In function
>> `Portable_Perf_Analyzer<Action_tridiagonalization<C_BLAS_interface<float> >
>>>::time_calculate(Action_tridiagonalization<C_BLAS_interface<float> >&)':
>> main.cpp:(.text._ZN22Portable_Perf_AnalyzerI25Action_tridiagonalizationI16C_BLAS_interfaceIfEEE14time_calculateERS3_[Portable_Perf_Analyzer<Action_tridiagonalization<C_BLAS_interface<float>
>>> >::time_calculate(Action_tridiagonalization<C_BLAS_interface<float>
>>>&)]+0xb0): undefined reference to `ssytrd_'
>> main.cpp:(.text._ZN22Portable_Perf_AnalyzerI25Action_tridiagonalizationI16C_BLAS_interfaceIfEEE14time_calculateERS3_[Portable_Perf_Analyzer<Action_tridiagonalization<C_BLAS_interface<float>
>>> >::time_calculate(Action_tridiagonalization<C_BLAS_interface<float>
>>>&)]+0x192): undefined reference to `ssytrd_'
>> CMakeFiles/btl_atlas.dir/main.cpp.o: In function
>> `Portable_Perf_Analyzer<Action_hessenberg<C_BLAS_interface<float> >
>>>::eval_mflops(int)':
>> main.cpp:(.text._ZN22Portable_Perf_AnalyzerI17Action_hessenbergI16C_BLAS_interfaceIfEEE11eval_mflopsEi[Portable_Perf_Analyzer<Action_hessenberg<C_BLAS_interface<float>
>>> >::eval_mflops(int)]+0x890): undefined reference to `sgehrd_'
>> CMakeFiles/btl_atlas.dir/main.cpp.o: In function
>> `Portable_Perf_Analyzer<Action_tridiagonalization<C_BLAS_interface<float> >
>>>::eval_mflops(int)':
>> main.cpp:(.text._ZN22Portable_Perf_AnalyzerI25Action_tridiagonalizationI16C_BLAS_interfaceIfEEE11eval_mflopsEi[Portable_Perf_Analyzer<Action_tridiagonalization<C_BLAS_interface<float>
>>> >::eval_mflops(int)]+0x7e2): undefined reference to `ssytrd_'
>> collect2: ld returned 1 exit status
>> make[2]: *** [libs/C_BLAS/btl_atlas] Error 1
>> make[1]: *** [libs/C_BLAS/CMakeFiles/btl_atlas.dir/all] Error 2
>> make: *** [all] Error 2
>> makeobj[0]: Leaving directory
>> `/home/milianw/projects/kde4/eigen/bench/btl/build'
>>
>> bye
>> --
>> Milian Wolff
>> http://milianw.de
>>
>>
>>
>



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/