<?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: MKL in Xcode in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-in-Xcode/m-p/894333#M10759</link>
    <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;You canadd -V in Xcode by -&amp;gt; &lt;BR /&gt;&lt;BR /&gt;get info -&amp;gt; build tab -&amp;gt; Intel Fortran Compiler 11.1 -&amp;gt; Additonal options&lt;BR /&gt;&lt;BR /&gt;post the build log.</description>
    <pubDate>Wed, 22 Apr 2009 00:00:18 GMT</pubDate>
    <dc:creator>Quoc-An_L_Intel</dc:creator>
    <dc:date>2009-04-22T00:00:18Z</dc:date>
    <item>
      <title>MKL in Xcode</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-in-Xcode/m-p/894328#M10754</link>
      <description>I'm in the process of transitioning from a PPC Mac and xlf to an Intel Mac and ifort.  I have managed to transfer over an XCode project, fix the compiler and options and get one program to compile.  So I'm pretty sure I have the basics down.
&lt;BR /&gt;
&lt;BR /&gt;However, another executable in the same project, which unlike the first program links against MKL's LAPACK, does not compile.  I can compile and run the same execuatable using Make on the command line, so I'm pretty sure the problem is in configuring the build in XCode.
&lt;BR /&gt;
&lt;BR /&gt;I'm using Xcode 3.1, MKL 10.0.4.022 and ifort 10.1.017.
&lt;BR /&gt;
&lt;BR /&gt;Here's what I've done.
&lt;BR /&gt;1) Added Intel_MKL.framework to the "Link Binary with Libraries".
&lt;BR /&gt;
&lt;BR /&gt;2) Under build in the Get Info box, I set 
&lt;BR /&gt;
&lt;BR /&gt;LIBRARY_SEARCH_PATHS = /Library/Frameworks/Intel_MKL.framework/Versions/Current/lib/em64t/
&lt;BR /&gt;
&lt;BR /&gt;USER_HEADER_SEARCH_PATHS = /Library/Frameworks/Intel_MKL.framework/Headers/**
&lt;BR /&gt;
&lt;BR /&gt;OTHER_LDFLAGS = -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lmkl_sequential -lmkl_core -lguide
&lt;BR /&gt;
&lt;BR /&gt;I get the following error
&lt;BR /&gt;
&lt;BR /&gt;		ipo: warning #11023: file format not recognized for /Library/Frameworks/Intel_MKL.framework/Versions/Current/lib/em64t/libmkl_intel_lp64.dylib
&lt;BR /&gt;		ipo: warning #11023: file format not recognized for /Library/Frameworks/Intel_MKL.framework/Versions/Current/lib/em64t/libmkl_sequential.dylib
&lt;BR /&gt;		ipo: warning #11023: file format not recognized for /Library/Frameworks/Intel_MKL.framework/Versions/Current/lib/em64t/libmkl_core.dylib
&lt;BR /&gt;		ipo: warning #11023: file format not recognized for /Library/Frameworks/Intel_MKL.framework/Versions/Current/lib/em64t/libmkl_sequential.dylib
&lt;BR /&gt;		ipo: warning #11023: file format not recognized for /Library/Frameworks/Intel_MKL.framework/Versions/Current/lib/em64t/libmkl_core.dylib
&lt;BR /&gt;		ipo: warning #11023: file format not recognized for /Library/Frameworks/Intel_MKL.framework/Versions/Current/lib/em64t/libguide.dylib
&lt;BR /&gt;		IPO link: can not find -framework Intel_MKL
&lt;BR /&gt;		ifort: error #10014: problem during multi-file optimization compilation (code 1)
&lt;BR /&gt;Build failed (2 errors, 6 warnings)
&lt;BR /&gt;
&lt;BR /&gt;Any ideas what I've forgotten to do?
&lt;BR /&gt;
&lt;BR /&gt;Raph</description>
      <pubDate>Fri, 29 Aug 2008 21:02:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-in-Xcode/m-p/894328#M10754</guid>
      <dc:creator>Raph</dc:creator>
      <dc:date>2008-08-29T21:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: MKL in Xcode</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-in-Xcode/m-p/894329#M10755</link>
      <description>Sounds like you are building a 32-bit XCode target, but linking against the 64-bit MKL.</description>
      <pubDate>Tue, 02 Sep 2008 17:03:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-in-Xcode/m-p/894329#M10755</guid>
      <dc:creator>AndrewC</dc:creator>
      <dc:date>2008-09-02T17:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: MKL in Xcode</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-in-Xcode/m-p/894330#M10756</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/371334"&gt;vasci_intel&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; Sounds like you are building a 32-bit XCode target, but linking against the 64-bit MKL. &lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;I finally got back to this problem.&lt;/P&gt;
&lt;P&gt;How to I build a 64 bit XCode target? The "Architectures" setting is set to "Native Architecture of Build Machine" on this MacBook. The code compiles, links and runs fine with Make on this machine (see below), so I'm pretty sure 64 bit is the right libraries to use.&lt;/P&gt;
&lt;P&gt;                Raph&lt;/P&gt;
&lt;P&gt;% make xnet&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;ifort       -pg&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt; -ipo -O3 -xT -mdynamic-no-pic -no-prec-div -autodouble -c data.f&lt;/P&gt;
&lt;P&gt;ifort       -pg&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt; -ipo -O3 -xT -mdynamic-no-pic -no-prec-div -autodouble -c ffn.f&lt;/P&gt;
&lt;P&gt;ifort       -pg&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt; -ipo -O3 -xT -mdynamic-no-pic -no-prec-div -autodouble -c full_net.f&lt;/P&gt;
&lt;P&gt;ifort       -pg&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt; -ipo -O3 -xT -mdynamic-no-pic -no-prec-div -autodouble -c match.f&lt;/P&gt;
&lt;P&gt;ifort       -pg&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt; -ipo -O3 -xT -mdynamic-no-pic -no-prec-div -autodouble -c flux.f&lt;/P&gt;
&lt;P&gt;ifort       -pg&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt; -ipo -O3 -xT -mdynamic-no-pic -no-prec-div -autodouble -c net.f&lt;/P&gt;
&lt;P&gt;ifort       -pg&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt; -ipo -O3 -xT -mdynamic-no-pic -no-prec-div -autodouble -c eosnom90.f&lt;/P&gt;
&lt;P&gt;ifort       -pg&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt; -ipo -O3 -xT -mdynamic-no-pic -no-prec-div -autodouble -c jacobian_dense.f&lt;/P&gt;
&lt;P&gt;ifort       -pg&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt; -ipo -O3 -xT -mdynamic-no-pic -no-prec-div -autodouble -g  -o xnet data.o ffn.o full_net.o match.o net.o flux.o eosnom90.o jacobian_dense.o -I/Library/Frameworks/Intel_MKL.framework/Versions/Current/include -L/Library/Frameworks/Intel_MKL.framework/Versions/Current/lib/em64t -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lmkl_sequential -lmkl_core -lguide&lt;/P&gt;
&lt;P&gt;ipo: remark #11000: performing multi-file optimizations&lt;/P&gt;
&lt;P&gt;ipo: remark #11005: generating object file /var/folders/EH/EHnPHq7RHA4K3TDOT18kbI2wqow/-Tmp-/ipo_ifortgVCULX.o&lt;/P&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2008 20:16:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-in-Xcode/m-p/894330#M10756</guid>
      <dc:creator>Raph</dc:creator>
      <dc:date>2008-10-27T20:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: MKL in Xcode</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-in-Xcode/m-p/894331#M10757</link>
      <description>&lt;DIV style="margin:0px;"&gt;Could you add -V to ifort's options to see exactly which version of compiler is used?&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2008 10:51:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-in-Xcode/m-p/894331#M10757</guid>
      <dc:creator>Andrey_Bespalov</dc:creator>
      <dc:date>2008-10-30T10:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: MKL in Xcode</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-in-Xcode/m-p/894332#M10758</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/206171"&gt;Andrey Bespalov (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;Could you add -V to ifort's options to see exactly which version of compiler is used?&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Adding -V to the loader in the Makefile adds&lt;/P&gt;
&lt;P&gt;Intel Fortran Compiler for applications running on Intel 64, Version 10.1  Build 20080801 Package ID: m_fc_p_10.1.017&lt;/P&gt;
&lt;P&gt;Copyright (C) 1985-2008 Intel Corporation. All rights reserved.&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;@(#)PROGRAM:ld PROJECT:ld64-85&lt;/P&gt;
&lt;P&gt;Library search paths:&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;/Library/Frameworks/Intel_MKL.framework/Versions/Current/lib/em64t&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;/Library/Frameworks/Intel_MKL.framework/Versions/10.0.5.025/lib/em64t&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;/Library/Frameworks/Intel_MKL.framework/Versions/10.0.5.025/lib/em64t&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;/Library/Frameworks/Intel_MKL.framework/Versions/10.0.5.025/lib/em64t&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;/opt/intel/fce/10.1.017/lib&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;/usr/lib/i686-apple-darwin9/4.0.1/&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;/usr/lib/&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;/Library/Frameworks/Intel_MKL.framework/Versions/10.0.5.025/lib/em64t/&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;/usr/lib/gcc/i686-apple-darwin9/4.0.1/x86_64&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;/usr/lib/gcc/i686-apple-darwin9/4.0.1/&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;/usr/lib/i686-apple-darwin9/4.0.1&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;/usr/lib&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;/usr/lib&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;/usr/local/lib&lt;/P&gt;
&lt;P&gt;Framework search paths:&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;/Library/Frameworks/&lt;/P&gt;
&lt;P&gt;/System/Library/Frameworks/&lt;/P&gt;
&lt;DIV&gt;I'm not sure how to do this in XCode.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Raph&lt;/DIV&gt;</description>
      <pubDate>Thu, 30 Oct 2008 14:42:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-in-Xcode/m-p/894332#M10758</guid>
      <dc:creator>Raph</dc:creator>
      <dc:date>2008-10-30T14:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: MKL in Xcode</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-in-Xcode/m-p/894333#M10759</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;You canadd -V in Xcode by -&amp;gt; &lt;BR /&gt;&lt;BR /&gt;get info -&amp;gt; build tab -&amp;gt; Intel Fortran Compiler 11.1 -&amp;gt; Additonal options&lt;BR /&gt;&lt;BR /&gt;post the build log.</description>
      <pubDate>Wed, 22 Apr 2009 00:00:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-in-Xcode/m-p/894333#M10759</guid>
      <dc:creator>Quoc-An_L_Intel</dc:creator>
      <dc:date>2009-04-22T00:00:18Z</dc:date>
    </item>
  </channel>
</rss>

