<?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 Compiling a Fortran Subroutine using MKL in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-a-Fortran-Subroutine-using-MKL/m-p/900588#M11192</link>
    <description>Hi&lt;BR /&gt;I have sucessfully compile and run a FORTRAN 90 program which is calling MKL Library as:&lt;BR /&gt;&lt;BR /&gt;[root@localhost ahmad1]# ifort -w GQ.f90 -L/opt/intel/mlk1/10.1.012/lib/32 -lmkl_lapack95 /opt/intel/mlk1/10.1.012/lib/32/libmkl_intel.a -Wl,--start-group /opt/intel/mlk1/10.1.012/lib/32/libmkl_intel_thread.a /opt/intel/mlk1/10.1.012/lib/32/libmkl_core.a -Wl,--end-group /opt/intel/mlk1/10.1.012/lib/32/libguide.a -lpthread -o GQ.out&lt;BR /&gt;&lt;BR /&gt;When I compile a FORTRAN 90 Subroutine GQ1.f90 with same above parameters, I got error as:&lt;BR /&gt;&lt;BR /&gt;[root@localhost ahmad1]# ifort -w GQ1.f90 -L/opt/intel/mlk1/10.1.012/lib/32 -lmkl_lapack95 /opt/intel/mlk1/10.1.012/lib/32/libmkl_intel.a -Wl,--start-group /opt/intel/mlk1/10.1.012/lib/32/libmkl_intel_thread.a /opt/intel/mlk1/10.1.012/lib/32/libmkl_core.a -Wl,--end-group /opt/intel/mlk1/10.1.012/lib/32/libguide.a -lpthread -o GQ1.out&lt;BR /&gt;/opt/intel/fc/10.1.012/lib/for_main.o: In function `main':&lt;BR /&gt;/users/nbtester/x86linux_nightly/branch-10_1/20080112_010000/libdev/frtl/src/libfor/for_main.c:(.text+0x39): undefined reference to `MAIN__'&lt;BR /&gt;&lt;BR /&gt;Please give some idea to remove this.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Ishaq&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 21 Aug 2008 06:43:34 GMT</pubDate>
    <dc:creator>mishaq151</dc:creator>
    <dc:date>2008-08-21T06:43:34Z</dc:date>
    <item>
      <title>Compiling a Fortran Subroutine using MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-a-Fortran-Subroutine-using-MKL/m-p/900588#M11192</link>
      <description>Hi&lt;BR /&gt;I have sucessfully compile and run a FORTRAN 90 program which is calling MKL Library as:&lt;BR /&gt;&lt;BR /&gt;[root@localhost ahmad1]# ifort -w GQ.f90 -L/opt/intel/mlk1/10.1.012/lib/32 -lmkl_lapack95 /opt/intel/mlk1/10.1.012/lib/32/libmkl_intel.a -Wl,--start-group /opt/intel/mlk1/10.1.012/lib/32/libmkl_intel_thread.a /opt/intel/mlk1/10.1.012/lib/32/libmkl_core.a -Wl,--end-group /opt/intel/mlk1/10.1.012/lib/32/libguide.a -lpthread -o GQ.out&lt;BR /&gt;&lt;BR /&gt;When I compile a FORTRAN 90 Subroutine GQ1.f90 with same above parameters, I got error as:&lt;BR /&gt;&lt;BR /&gt;[root@localhost ahmad1]# ifort -w GQ1.f90 -L/opt/intel/mlk1/10.1.012/lib/32 -lmkl_lapack95 /opt/intel/mlk1/10.1.012/lib/32/libmkl_intel.a -Wl,--start-group /opt/intel/mlk1/10.1.012/lib/32/libmkl_intel_thread.a /opt/intel/mlk1/10.1.012/lib/32/libmkl_core.a -Wl,--end-group /opt/intel/mlk1/10.1.012/lib/32/libguide.a -lpthread -o GQ1.out&lt;BR /&gt;/opt/intel/fc/10.1.012/lib/for_main.o: In function `main':&lt;BR /&gt;/users/nbtester/x86linux_nightly/branch-10_1/20080112_010000/libdev/frtl/src/libfor/for_main.c:(.text+0x39): undefined reference to `MAIN__'&lt;BR /&gt;&lt;BR /&gt;Please give some idea to remove this.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Ishaq&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Aug 2008 06:43:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-a-Fortran-Subroutine-using-MKL/m-p/900588#M11192</guid>
      <dc:creator>mishaq151</dc:creator>
      <dc:date>2008-08-21T06:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling a Fortran Subroutine using MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-a-Fortran-Subroutine-using-MKL/m-p/900589#M11193</link>
      <description>When you don't provide a main program, you add the -c (compile only, no link) in order to make an object file for later linking. With -c, all the MKL linking information will be ignored.&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Aug 2008 12:32:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-a-Fortran-Subroutine-using-MKL/m-p/900589#M11193</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-08-21T12:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling a Fortran Subroutine using MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-a-Fortran-Subroutine-using-MKL/m-p/900590#M11194</link>
      <description>Dear sir,&lt;BR /&gt;Thank you very much.&lt;BR /&gt;I have done this as:&lt;BR /&gt;&lt;BR /&gt;[root@localhost ahmad1]# ifort -c GQ1.f90&lt;BR /&gt;&lt;BR /&gt;It has created GQ1.o&lt;BR /&gt;&lt;BR /&gt;Now, can you guide me, how to run GQ1.o (which includes MKL function) &lt;BR /&gt;Please write the commands to link this with main program.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Ishaq&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Aug 2008 05:56:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-a-Fortran-Subroutine-using-MKL/m-p/900590#M11194</guid>
      <dc:creator>mishaq151</dc:creator>
      <dc:date>2008-08-22T05:56:48Z</dc:date>
    </item>
  </channel>
</rss>

