help for run test of fastica

Help
Dangeralby
2014-05-28
2014-05-29
1 2 > >> (Page 1 of 2)
  • Dangeralby

    Dangeralby - 2014-05-28

    hi, i have a problem in starting the test files that I have in the folder gtest for the filter FastICA.
    I added an entry in cmake GTEST_DIR and I put the path .. /.. /.. / Desktop / gtest
    I press configure and some warning about the lack of fft libraries blas and lapack but that's ok then I press generated and gives me this error
    CMake Error at gtests / CMakeLists.txt: 32 (add_executable):
       Can not find source file:

    C :/ Users/Alby/Desktop/itpp-4.3.1/gtests/src/gtest-all.cc

    Tried extensions. C. C. C + +. DC. Cpp. Cxx. Meters. M. Mm. H. Hh. + H +. Hm. Hpp
       . hxx. within. txx

     
  • Bogdan Cristea

    Bogdan Cristea - 2014-05-28

    Is this file located in the path shown ? The error you see is due to a missing file in the folder you provided.

     
  • andy_panov

    andy_panov - 2014-05-28

    You should download and install Google test suite first and give a hint to cmake where it is located:
    cmake ... -DGTEST_DIR::PATH="your_path_to_gtest"

     
  • Dangeralby

    Dangeralby - 2014-05-28

    ok i correct the error now i have the itpp gtest include in the project.
    now how do I start the test? only fastica??
    build with visual studio 10 and don't have errors and now??

     
    Last edit: Dangeralby 2014-05-28
  • andy_panov

    andy_panov - 2014-05-28

    you can run test executable directly from MSVC or find it in "your_build_folder\gtests\Release". Your can have some problems if itpp dll is not in your path. If so, just copy it from "your_build_folder\itpp\Release" to "your_build_folder\gtests\Release".

    You can not run FastICA test only. Test executable runs all the tests at once.

     
    Last edit: andy_panov 2014-05-28
  • Bogdan Cristea

    Bogdan Cristea - 2014-05-28

    gtest framework provides options to run selected tests (filter them). Basically you need to run the executable with some command line options (use itpp_gtest --help for more details)

     
    Last edit: Bogdan Cristea 2014-05-28
  • Dangeralby

    Dangeralby - 2014-05-28

    inside Desktop\itpp-4.3.1\gtests\release i have now itpp_gtest and can't run because itpp.dll is not present but where is this library?? itpp.dll

    ok i find it and copy in release but .exe run and close immediately with a error fft library is needed how install it??

     
    Last edit: Dangeralby 2014-05-28
    • andy_panov

      andy_panov - 2014-05-28

      Please read my post above

       
  • andy_panov

    andy_panov - 2014-05-28

    Thanks for clarifications, Bogdan

    I did not know about that.

     
  • Dangeralby

    Dangeralby - 2014-05-28

    ah ok but for fastica i need fft o blas o other library??because if i can run only fasticatest.cpp don't install this library... and run single filter

    how install fft library??

     
    Last edit: Dangeralby 2014-05-28
  • andy_panov

    andy_panov - 2014-05-28

    You'll definitely need lapack/blas

     
  • Dangeralby

    Dangeralby - 2014-05-28

    ok how install fft lapack and blas??download it and???

     
  • andy_panov

    andy_panov - 2014-05-28

    Download and install ACML. Aside from blas/lapack, it should also provide you with fft functionality.
    cmake should detect ACML automatically if you install it to default location.

     
  • Dangeralby

    Dangeralby - 2014-05-28

    ok i download ACML and try to generate with cmake

     
  • Dangeralby

    Dangeralby - 2014-05-28

    this versione in correct?? i see only 64 bit version acml5.3.1-ifort-int64.exe is correct??

     
    Last edit: Dangeralby 2014-05-28
    • Dangeralby

      Dangeralby - 2014-05-28

      i install acml library but cmake display warning when i press configure
      A library with BLAS API not found. Please specify library location.
      A library with BLAS API not found. Please specify library location.
      LAPACK requires BLAS
      A library with LAPACK API not found. Please specify library location.
      Could NOT find FFT (missing: FFT_LIBRARIES FFT_INCLUDES)
      A library with FFT API not found. Please specify library location.
      Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
      CMake Warning at CMakeLists.txt:192 (message):
      BLAS library not found.

      CMake Warning at CMakeLists.txt:196 (message):
      LAPACK library not found.

      CMake Warning at CMakeLists.txt:200 (message):
      FFT library not found.

      CMake Warning at CMakeLists.txt:204 (message):
      You can still compile IT++ but the functionality will be reduced.

      i install it in default folder C:\AMD\acml5.3.1

       
      Last edit: Dangeralby 2014-05-28
  • andy_panov

    andy_panov - 2014-05-28

    Depends. Try to search acml4.4.0-ifort32.exe in the web if you use MSVC 2010 Express.

     
  • Dangeralby

    Dangeralby - 2014-05-28

    i find only this for windows 32 bit
    acml-3.6.0-32-g77.exe

    and install it in C:\Program Files (x86)\AMD\acml3.6.0

    cmake not found autmatically the library error display

    A library with BLAS API not found. Please specify library location.
    LAPACK requires BLAS
    A library with LAPACK API not found. Please specify library location.
    Could NOT find FFT (missing: FFT_LIBRARIES FFT_INCLUDES)
    A library with FFT API not found. Please specify library location.
    Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
    CMake Warning at CMakeLists.txt:192 (message):
    BLAS library not found.

    CMake Warning at CMakeLists.txt:196 (message):
    LAPACK library not found.

    CMake Warning at CMakeLists.txt:200 (message):
    FFT library not found.

    CMake Warning at CMakeLists.txt:204 (message):
    You can still compile IT++ but the functionality will be reduced.

     
    Last edit: Dangeralby 2014-05-28
  • Dangeralby

    Dangeralby - 2014-05-28

    help for installation ACML because after installatiion of acml-3.6.0-32-g77.exe cmake don't see blas fft e lapack library....

     
    • andy_panov

      andy_panov - 2014-05-28

      Try to download ACML from the link above

       
  • Dangeralby

    Dangeralby - 2014-05-28

    I installed your version but even with this cmake does not find libraries.
    knowing that the installation path of ACML this is C: \ AMD \ acml4.4.0, I can not enter it manually in cmake?

     
    Last edit: Dangeralby 2014-05-28
    • andy_panov

      andy_panov - 2014-05-28

      Try to execute following commands before running cmake

      set CMAKE_Fortran_COMPILER_ID=Intel
      set BLA_VENDOR=ACML
      set ACMLDIR=C:\AMD\acml4.4.0\ifort32_mp
      set LIBACML="%ACMLDIR%\lib\libacml_mp_dll.lib"

      Also, try to clean your build folder and run cmake from scratch.

       
  • Dangeralby

    Dangeralby - 2014-05-28

    I must add these entries? are not currently in the list

     
  • andy_panov

    andy_panov - 2014-05-28

    You can add these commands to batch file and execute it before running cmake.

     
1 2 > >> (Page 1 of 2)

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks