Menu

IT++ under Windows without MKL

tfmaciel
2006-08-17
2012-09-15
  • tfmaciel

    tfmaciel - 2006-08-17

    Hi,

    I've been using IT++ under Linux for some time. Now, I need to compile and use it under Windows. The problem is: I want to compile it without MKL because I only need some basic functionalities of IT++. How could I do this using VC++??

    Thanks.

     
    • Tomas Andersson

      Tomas Andersson - 2006-10-18

      It is possible to use cygwin and gcc to build an atlas dll for use in windows.

      See: http://www.rdrop.com/users/twest/code/atlas/
      http://www.kevinsheppard.com/research/matlabatlas/matlab_atlas.aspx
      for details. They provide almost identical shell scripts to do the job, but I don't know who is the original author.

      Minor modifications have to be made to the scripts. In particular, the fortran calling convention can be a bit tricky. I added the following line to the fortran exports section, so that functions are exported both with and without an extra underscore:
      echo -e "${export}=${export}" >> ${defname}

      A windows dll for fftw3 is available from the fftw homepage.

      To configure IT++ to use these dll's instead of MKL, edit config_msvc.h so that HAVE_FFT_MKL8 is undefined and HAVE_FFTW3 is defined instead.

       
    • Adam Piątyszek

      Adam Piątyszek - 2006-09-27

      Hi,

      I am afraid MSVC++ is not our target compiler, so we are not able to support all combinations of IT++ and external libraries for this compiler.

      You have two choices:
      1) Either switch to Cygwin/GCC or MinGW/MSYS and install IT++ External Libraries.
      2) Or edit "config_msvc.h" header file by hand and undefine all the dependencies from external libraries (BLAS, CBLAS, LAPACK, FFT). This is not recommended since the functionality and performance of the library will be limited.

      BR,
      /ediap

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.