<?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: newbie: free form include files in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/newbie-free-form-include-files/m-p/941852#M14552</link>
    <description>Let my clarify situation with VSL fortran headers.&lt;BR /&gt;About source form. VSL headers implemented in fixed source form. Since MKL 8.0.2 we were replaced comment symbols from 'C!' to '!'. But were are only one incompatibility between free and fixed source form: it`s line folding. And we can`t make headers which will be compatible with free and fixed source form at the same time.&lt;BR /&gt;You can compile VSL headers to .mod files and use these files in your program without including mkl_vsl.fi into your source code.&lt;BR /&gt;About differences between mkl_vsl.fi and mkl_vsl_subroutine.fi. Read mklman.pdf please (chapter 10, note at end of page 10-1).</description>
    <pubDate>Thu, 09 Mar 2006 14:54:00 GMT</pubDate>
    <dc:creator>Andrey_G_Intel2</dc:creator>
    <dc:date>2006-03-09T14:54:00Z</dc:date>
    <item>
      <title>newbie: free form include files</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/newbie-free-form-include-files/m-p/941849#M14549</link>
      <description>Hello,&lt;BR /&gt;I'm quite new to mkl. As I looked at the include files&lt;BR /&gt;I noticed that there are only fixed form inlcude files&lt;BR /&gt;in the installation. Do I need to install the free form &lt;BR /&gt;include files seperately ?</description>
      <pubDate>Wed, 08 Mar 2006 21:51:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/newbie-free-form-include-files/m-p/941849#M14549</guid>
      <dc:creator>awallrab</dc:creator>
      <dc:date>2006-03-08T21:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: newbie: free form include files</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/newbie-free-form-include-files/m-p/941850#M14550</link>
      <description>I forgot to post the program I want to compile, so here it is :&lt;BR /&gt;include '/opt/intel/mkl/8.0.1/include/mkl_vsl.fi'&lt;BR /&gt;&lt;BR /&gt;program noise&lt;BR /&gt;&lt;BR /&gt;USE MKL_VSL_TYPE&lt;BR /&gt;USE MKL_VSL&lt;BR /&gt;&lt;BR /&gt;implicit none&lt;BR /&gt;&lt;BR /&gt;integer :: n&lt;BR /&gt;&lt;BR /&gt;double precision :: a,sigma&lt;BR /&gt;double precision :: r(10000)&lt;BR /&gt;integer :: brng,method&lt;BR /&gt;integer :: seed,errcode&lt;BR /&gt;&lt;BR /&gt;TYPE (VSL_STREAM_STATE) :: stream&lt;BR /&gt;&lt;BR /&gt;brng=VSL_BRNG_MCG31&lt;BR /&gt;method=0&lt;BR /&gt;seed=1&lt;BR /&gt;&lt;BR /&gt;a=0d0&lt;BR /&gt;sigma=1d0&lt;BR /&gt;&lt;BR /&gt;n=10000&lt;BR /&gt;&lt;BR /&gt;errcode=vslnewstream( stream, brng,  seed )&lt;BR /&gt;&lt;BR /&gt;errcode=vdrnggaussian( method, stream, n, r, a, sigma)&lt;BR /&gt;&lt;BR /&gt;end&lt;BR /&gt;&lt;BR /&gt;When I try to compile it produces the following error mesages:&lt;BR /&gt;&lt;BR /&gt;ifort -fixed -free -L/opt/intel/mkl/8.0.1/lib/32/ -c noise.f90&lt;BR /&gt;fortcom: Error: /opt/intel/mkl/8.0.1/include/mkl_vsl.fi, line 1: Syntax error, found END-OF-STATEMENT when expecting one of: =&amp;gt; = . ( : %&lt;BR /&gt;C! file: mkl_vsl.fi&lt;BR /&gt;-------------------^&lt;BR /&gt;fortcom: Error: /opt/intel/mkl/8.0.1/include/mkl_vsl.fi, line 2: Syntax error, found END-OF-STATEMENT when expecting one of: =&amp;gt; = . ( : %&lt;BR /&gt;C!&lt;BR /&gt;--^&lt;BR /&gt;fortcom: Error: /opt/intel/mkl/8.0.1/include/mkl_vsl.fi, line 3: Syntax error, found END-OF-STATEMENT when expecting one of: =&amp;gt; = . ( : %&lt;BR /&gt;C!                             INTEL CONFIDENTIAL&lt;BR /&gt;-------------------------------------------------^&lt;BR /&gt;fortcom: Error: /opt/intel/mkl/8.0.1/include/mkl_vsl.fi, line 4: Syntax error, found END-OF-STATEMENT when expecting one of: =&amp;gt; = . ( : %&lt;BR /&gt;C!  Copyright(C) 2005 Intel Corporation. All Rights Reserved.&lt;BR /&gt;-------------------------------------------------------------^&lt;BR /&gt;fortcom: Error: /opt/intel/mkl/8.0.1/include/mkl_vsl.fi, line 5: Syntax error, found END-OF-STATEMENT when expecting one of: =&amp;gt; = . ( : %&lt;BR /&gt;C!  The source code contained  or  described herein and all documents related to&lt;BR /&gt;--------------------------------------------------------------------------------^&lt;BR /&gt;fortcom: Error: /opt/intel/mkl/8.0.1/include/mkl_vsl.fi, line 6: Syntax error, found END-OF-STATEMENT when expecting one of: =&amp;gt; = . ( : %&lt;BR /&gt;C!  the source code ("Material") are owned by Intel Corporation or its suppliers&lt;BR /&gt;--------------------------------------------------------------------------------^&lt;BR /&gt;fortcom: Error: /opt/intel/mkl/8.0.1/include/mkl_vsl.fi, line 7: Syntax error, found END-OF-STATEMENT when expecting one of: =&amp;gt; = . ( : %&lt;BR /&gt;C!  or licensors.  Title to the  Material remains with  Intel Corporation or its&lt;BR /&gt;--------------------------------------------------------------------------------^&lt;BR /&gt;fortcom: Error: /opt/intel/mkl/8.0.1/include/mkl_vsl.fi, line 8: Syntax error, found END-OF-STATEMENT when expecting one of: =&amp;gt; = . ( : %&lt;BR /&gt;C!  suppliers and licensors. The Material contains trade secrets and proprietary&lt;BR /&gt;--------------------------------------------------------------------------------^&lt;BR /&gt;fortcom: Error: /opt/intel/mkl/8.0.1/include/mkl_vsl.fi, line 9: Syntax error, found END-OF-STATEMENT when expecting one of: =&amp;gt; = . ( : %&lt;BR /&gt;C!  and  confidential  information of  Intel or its suppliers and licensors. The&lt;BR /&gt;--------------------------------------------------------------------------------^&lt;BR /&gt;fortcom: Error: /opt/intel/mkl/8.0.1/include/mkl_vsl.fi, line 10: Syntax error, found END-OF-STATEMENT when expecting one of: =&amp;gt; = . ( : %&lt;BR /&gt;C!  Material  is  protected  by  worldwide  copyright  and trade secret laws and&lt;BR /&gt;--------------------------------------------------------------------------------^&lt;BR /&gt;fortcom: Error: /opt/intel/mkl/8.0.1/incl
ude/mkl_vsl.fi, line 11: Syntax error, found END-OF-STATEMENT when expecting one of: =&amp;gt; = . ( : %&lt;BR /&gt;C!  treaty  provisions. No part of the Material may be used, copied, reproduced,&lt;BR /&gt;--------------------------------------------------------------------------------^&lt;BR /&gt;fortcom: Error: /opt/intel/mkl/8.0.1/include/mkl_vsl.fi, line 12: Syntax error, found END-OF-STATEMENT when expecting one of: =&amp;gt; = . ( : %&lt;BR /&gt;C!  modified, published, uploaded, posted, transmitted, distributed or disclosed&lt;BR /&gt;--------------------------------------------------------------------------------^&lt;BR /&gt;fortcom: Error: /opt/intel/mkl/8.0.1/include/mkl_vsl.fi, line 13: Syntax error, found END-OF-STATEMENT when expecting one of: =&amp;gt; = . ( : %&lt;BR /&gt;C!  in any way without Intel's prior express written permission.&lt;BR /&gt;----------------------------------------------------------------^&lt;BR /&gt;fortcom: Error: /opt/intel/mkl/8.0.1/include/mkl_vsl.fi, line 14: Syntax error, found END-OF-STATEMENT when expecting one of: =&amp;gt; = . ( : %&lt;BR /&gt;C!  No license  under any  patent, copyright, trade secret or other intellectual&lt;BR /&gt;--------------------------------------------------------------------------------^&lt;BR /&gt;fortcom: Error: /opt/intel/mkl/8.0.1/include/mkl_vsl.fi, line 15: Syntax error, found END-OF-STATEMENT when expecting one of: =&amp;gt; = . ( : %&lt;BR /&gt;C!  property right is granted to or conferred upon you by disclosure or delivery&lt;BR /&gt;--------------------------------------------------------------------------------^&lt;BR /&gt;fortcom: Error: /opt/intel/mkl/8.0.1/include/mkl_vsl.fi, line 16: Syntax error, found END-OF-STATEMENT when expecting one of: =&amp;gt; = . ( : %&lt;BR /&gt;C!  of the Materials,  either expressly, by implication, inducement, estoppel or&lt;BR /&gt;--------------------------------------------------------------------------------^&lt;BR /&gt;fortcom: Error: /opt/intel/mkl/8.0.1/include/mkl_vsl.fi, line 17: Syntax error, found END-OF-STATEMENT when expecting one of: =&amp;gt; = . ( : %&lt;BR /&gt;C!  otherwise.  Any  license  under  such  intellectual property  rights must be&lt;BR /&gt;--------------------------------------------------------------------------------^&lt;BR /&gt;fortcom: Error: /opt/intel/mkl/8.0.1/include/mkl_vsl.fi, line 18: Syntax error, found END-OF-STATEMENT when expecting one of: =&amp;gt; = . ( : %&lt;BR /&gt;C!  express and approved by Intel in writing.&lt;BR /&gt;---------------------------------------------^&lt;BR /&gt;fortcom: Error: /opt/intel/mkl/8.0.1/include/mkl_vsl.fi, line 19: Syntax error, found END-OF-STATEMENT when expecting one of: =&amp;gt; = . ( : %&lt;BR /&gt;C!++&lt;BR /&gt;----^&lt;BR /&gt;fortcom: Error: /opt/intel/mkl/8.0.1/include/mkl_vsl.fi, line 20: Syntax error, found END-OF-STATEMENT when expecting one of: =&amp;gt; = . ( : %&lt;BR /&gt;C!  Fortran 90 VSL interface.&lt;BR /&gt;-----------------------------^&lt;BR /&gt;fortcom: Error: /opt/intel/mkl/8.0.1/include/mkl_vsl.fi, line 21: Syntax error, found END-OF-STATEMENT when expecting one of: =&amp;gt; = . ( : %</description>
      <pubDate>Wed, 08 Mar 2006 23:37:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/newbie-free-form-include-files/m-p/941850#M14550</guid>
      <dc:creator>awallrab</dc:creator>
      <dc:date>2006-03-08T23:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: newbie: free form include files</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/newbie-free-form-include-files/m-p/941851#M14551</link>
      <description>The Fortran include files should have been made compatible with either fixed or free form.  It looks reasonable to me to file a problem report on premier.intel.com.  It should be easy to fix, by making comment lines start with !, for instance. You didn't show any inclusion of the -I path to the mkl include directory.  In my installation, the include file name is mkl_vsl_subroutine, not mkl_vsl_type.</description>
      <pubDate>Thu, 09 Mar 2006 01:29:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/newbie-free-form-include-files/m-p/941851#M14551</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2006-03-09T01:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: newbie: free form include files</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/newbie-free-form-include-files/m-p/941852#M14552</link>
      <description>Let my clarify situation with VSL fortran headers.&lt;BR /&gt;About source form. VSL headers implemented in fixed source form. Since MKL 8.0.2 we were replaced comment symbols from 'C!' to '!'. But were are only one incompatibility between free and fixed source form: it`s line folding. And we can`t make headers which will be compatible with free and fixed source form at the same time.&lt;BR /&gt;You can compile VSL headers to .mod files and use these files in your program without including mkl_vsl.fi into your source code.&lt;BR /&gt;About differences between mkl_vsl.fi and mkl_vsl_subroutine.fi. Read mklman.pdf please (chapter 10, note at end of page 10-1).</description>
      <pubDate>Thu, 09 Mar 2006 14:54:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/newbie-free-form-include-files/m-p/941852#M14552</guid>
      <dc:creator>Andrey_G_Intel2</dc:creator>
      <dc:date>2006-03-09T14:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: newbie: free form include files</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/newbie-free-form-include-files/m-p/941853#M14553</link>
      <description>Where there are continuation lines, the include files should be made compatible with both free form and standard 72-column fixed form, by the standard method:&lt;BR /&gt;&lt;BR /&gt;Place &amp;amp; in column 73 of the line to be continued, and &amp;amp; in column 6 of the continuation line.  The &amp;amp; in column 73 is ignored in fixed form.&lt;BR /&gt;&lt;BR /&gt;The only case which is not taken care of is fixed form with extended line length.  As agilev says, another copy of the include file would be needed, to take care of fixed form with varying line lengths.&lt;BR /&gt;Unfortunately, this scheme is not working in fixed format with the current ifort compiler, even with the include files provided with the compiler.  I am checking on whether I should file a problem report.&lt;P&gt;Message Edited by tim18 on &lt;SPAN class="date_text"&gt;03-10-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;05:27 AM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2006 19:33:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/newbie-free-form-include-files/m-p/941853#M14553</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2006-03-09T19:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: newbie: free form include files</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/newbie-free-form-include-files/m-p/941854#M14554</link>
      <description>I am having the same problem with " include 'mkl_vsl.fi' " when i include it in an f90 file. The random number generators works fine in a .f file however. The solution that is offered to use with f90 files is not at all clear to me. I tried something with the .mod files but then I got other errors. Does anyone have a simple worked example or a step-by-step howto for this? Or perhaps even better, an mkl_vsl.fi file that doesn't cause these problems?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Vincent&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 30 Jul 2006 09:35:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/newbie-free-form-include-files/m-p/941854#M14554</guid>
      <dc:creator>v-nijs</dc:creator>
      <dc:date>2006-07-30T09:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: newbie: free form include files</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/newbie-free-form-include-files/m-p/941855#M14555</link>
      <description>That problem was supposed to have been corrected in MKL 8.1. Please show a specific example of your problem with 8.1 or 9.0. Evidently, the problem was still in current versions 4 months ago, so there's little point in looking for a correction in any but now current versions.&lt;BR /&gt;</description>
      <pubDate>Sun, 30 Jul 2006 13:23:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/newbie-free-form-include-files/m-p/941855#M14555</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2006-07-30T13:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: newbie: free form include files</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/newbie-free-form-include-files/m-p/941856#M14556</link>
      <description>DON'T ANYBODY FIND THIS SITUATION WITH FORTRAN USERS UNACCEPTABLE. LOOK, THERE ARE NUMEROUS EXAMPLES FOR C/C++ USERS IN THE DOCS MATERIAL, ALMOST NOTHING FOR FORTRAN USERS ! HOW COME THAT QUESTIONS SO IMPORTANT LIKE THE WAY YOU SHOULD USE A SOFT YOU PAYED IS ALMOST NON-EXISTENT !!! 
&lt;BR /&gt;I TOO NEED TO BE ABLE TO USE IN A SIMPLE AND EFFICIENT WAY MKL, WHERE TO FIND THESE INFORMATIONS ? IT SEEMS THAT WE HAVE TO CORRECT BUGS IN THE SOFTS FOR THIS ? PLEASE, STOP THE JOKES !!!</description>
      <pubDate>Fri, 23 Feb 2007 20:25:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/newbie-free-form-include-files/m-p/941856#M14556</guid>
      <dc:creator>Daniel_Gandolfo</dc:creator>
      <dc:date>2007-02-23T20:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: newbie: free form include files</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/newbie-free-form-include-files/m-p/941857#M14557</link>
      <description>In order to use calls to VSL in fortran, do the following:
&lt;BR /&gt;
&lt;BR /&gt;1) go to include directory: /Library/Frameworks/Intel_MKL.framework/Versions/8.1.1/include
&lt;BR /&gt;2) compile the file mkl_vsl.f90 (it creates the corresponding mkl_vsl.mod file) this way:
&lt;BR /&gt;    ifort -vec-report0 -c mkl_vsl.f90
&lt;BR /&gt;3) At the begining of your .f90 file delete (if present) the command: include 'mkl_vsl.fi' (command appearing in all example files given at: /Library/Frameworks/Intel_MKL.framework/Versions/8.1.1/examples/vslf/source)
&lt;BR /&gt;4) At the beginning of your code, include module files: mkl_vsl_type.mod and mkl_vsl.mod right :
&lt;BR /&gt;   USE MKL_VSL_TYPE
&lt;BR /&gt;   USE MKL_VSL
&lt;BR /&gt;These .mod files have to be present in your working dir!
&lt;BR /&gt;5) compile your code including paths to libraries:
&lt;BR /&gt;    ifort -vec-report0 -L/$MKLROOT -lmkl -lguide -lpthread -lmkl_ia32 -lm Test.f90
&lt;BR /&gt;6) Some functions (like CheckVslError) show errors at compilation time, just comment them.
&lt;BR /&gt;
&lt;BR /&gt;All this works for me.</description>
      <pubDate>Sat, 24 Feb 2007 09:25:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/newbie-free-form-include-files/m-p/941857#M14557</guid>
      <dc:creator>Daniel_Gandolfo</dc:creator>
      <dc:date>2007-02-24T09:25:22Z</dc:date>
    </item>
  </channel>
</rss>

