<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Using MKL interval methods from C/C++ programs in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-MKL-interval-methods-from-C-C-programs/m-p/858468#M7264</link>
    <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;and thanks a lot for your statement.&lt;/P&gt;
&lt;P&gt;Since I'm not familiar with FORTRAN, I would like to avoid any implementation using that language. As far as I know, function translation is normally possible, but I'm not sure in that point.&lt;/P&gt;
&lt;P&gt;Regarding the mkl_interval.f90 file: I just downloaded the MKL 10 library 14 days ago - it still contains this file.&lt;/P&gt;
&lt;P&gt;Can someone give me a definitive answer to my problem - e.g. if someone already tried to wrap the fortran codes by C header files?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Tobias&lt;/P&gt;</description>
    <pubDate>Tue, 28 Oct 2008 15:00:38 GMT</pubDate>
    <dc:creator>-tobias-</dc:creator>
    <dc:date>2008-10-28T15:00:38Z</dc:date>
    <item>
      <title>Using MKL interval methods from C/C++ programs</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-MKL-interval-methods-from-C-C-programs/m-p/858466#M7262</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I'd like to use the interval solvers available in the MKL library in a C/C++ application (to be more specific, in a MATLAB MEX-function) using MS Visual C++ 2005.&lt;BR /&gt;&lt;BR /&gt;Now I found out that there are only FORTRAN interfaces available for the interval solvers of the MKL. My question is now, how to access these routines from my C program.&lt;BR /&gt;&lt;BR /&gt;My first approach was to use f2c (from netlib.org) to convert the mkl_interval.f90 into a C header file and to link with the provided MKL libraries. This fails since f2c provides no support for Fortran90.&lt;BR /&gt;&lt;BR /&gt;Additionally, I found the following statement on the Intel pages: "&lt;BR /&gt;* The interval libraries will require the libifcore library from Intel Fortran compiler.&lt;BR /&gt;* Interval arithmetic functions require a processor which supports SSE instructions."&lt;BR /&gt;&lt;BR /&gt;So I can't use the interval part from MS Visual C++ 2005 without also obtaining the Intel Fortran Compiler?&lt;BR /&gt;&lt;BR /&gt;One last question: Can I distribute the programm (internally for scientific purposes), or do I need a licence for every user during runtime?&lt;BR /&gt;&lt;BR /&gt;Thanks a lot and best regards,&lt;BR /&gt;&lt;BR /&gt;Tobias&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2008 10:37:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-MKL-interval-methods-from-C-C-programs/m-p/858466#M7262</guid>
      <dc:creator>-tobias-</dc:creator>
      <dc:date>2008-10-28T10:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using MKL interval methods from C/C++ programs</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-MKL-interval-methods-from-C-C-programs/m-p/858467#M7263</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;I don't have a definitive answer, but I'll offer some comments.&lt;/P&gt;
&lt;P&gt;I note that the file mkl_interval.f90 isn't present in the newer versions of mkl. I don't know if that's intentional.&lt;/P&gt;
&lt;P&gt;I don't know whether your target is C or C++, or why you don't consider Fortran. I see that mkl_interval.f90 seems to work OK with gfortran (and probably with most any up to date Fortran, in spite of its gratuitous non-portabilities). Unfortunately, to the extent that MKL depends on Fortran run-time library, it is tied to Intel Fortran.&lt;/P&gt;
&lt;P&gt;C++ is enough different from Fortran, with enough differences of opinion on how to go about things, that some kind of C++ interface would be way beyond the capability of an automatic translator. I suppose some C++ fanatics have considered interval solvers; I doubt that it's easy.&lt;/P&gt;
&lt;P&gt;In case you make a program which depends on Intel run-time libraries, the standard full license (please read) does cover the case of distributing the run-time libraries, should you choose a dynamic link. The libraries come in both static and dynamic versions. Individual users would need the Intel compiler/MKL licenses only for recompilation, and could use a floating license if they do require it. I believe there are academic terms, should that be applicable.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2008 12:12:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-MKL-interval-methods-from-C-C-programs/m-p/858467#M7263</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-10-28T12:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using MKL interval methods from C/C++ programs</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-MKL-interval-methods-from-C-C-programs/m-p/858468#M7264</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;and thanks a lot for your statement.&lt;/P&gt;
&lt;P&gt;Since I'm not familiar with FORTRAN, I would like to avoid any implementation using that language. As far as I know, function translation is normally possible, but I'm not sure in that point.&lt;/P&gt;
&lt;P&gt;Regarding the mkl_interval.f90 file: I just downloaded the MKL 10 library 14 days ago - it still contains this file.&lt;/P&gt;
&lt;P&gt;Can someone give me a definitive answer to my problem - e.g. if someone already tried to wrap the fortran codes by C header files?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Tobias&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2008 15:00:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-MKL-interval-methods-from-C-C-programs/m-p/858468#M7264</guid>
      <dc:creator>-tobias-</dc:creator>
      <dc:date>2008-10-28T15:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using MKL interval methods from C/C++ programs</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-MKL-interval-methods-from-C-C-programs/m-p/858469#M7265</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hi Tobias,&lt;/P&gt;
&lt;P&gt;You can use the FORTRAN interfaces directly from C/C++/VC++/CLI without the need for a FORTRAN compiler (they are also faster and more memory efficient than the C alternatives).&lt;/P&gt;
&lt;P&gt;Just google: 'mixed programming' || 'calling FORTRAN from C/C++'&lt;/P&gt;
&lt;P&gt;If I remember corectly, you will need to specify __cdecl in the visual studio settings (google: 'cdecl msdn') and use pointers for arguments.&lt;/P&gt;
&lt;P&gt;A quick search on the forum brought up this post: (http://software.intel.com/en-us/forums/showthread.php?t=59818) which is illustrating a sample that is calling a VML function via, what appears to be, the FORTRAN 77 interface.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Newton&lt;BR /&gt;--------&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Nov 2008 04:08:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-MKL-interval-methods-from-C-C-programs/m-p/858469#M7265</guid>
      <dc:creator>newton_particle</dc:creator>
      <dc:date>2008-11-02T04:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using MKL interval methods from C/C++ programs</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-MKL-interval-methods-from-C-C-programs/m-p/858470#M7266</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;IIRC, Intel dropped support for interval arithmetic in the latest MKL claiming that not enough users used it. By eliminating it they have guaranteed that this will be so for post MKL 10. Like good strawmen, they'll now claim that they were right!&lt;/P&gt;
&lt;P&gt;BTW, most researchers in the interval arithmetic game use Fortran (FWIT, FORTRAN died out with bell bottoms and disco) or Pascal.&lt;/P&gt;
&lt;P&gt;Matlab has an interval arithmetic toolbox, INITLAB by Rump.&lt;/P&gt;
&lt;P&gt;Gerry&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2008 14:53:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-MKL-interval-methods-from-C-C-programs/m-p/858470#M7266</guid>
      <dc:creator>g_f_thomas</dc:creator>
      <dc:date>2008-11-03T14:53:35Z</dc:date>
    </item>
  </channel>
</rss>

