<?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 You say you want serial, yet in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/to-compile-ARPACK-with-sequential-mkl/m-p/1078067#M22646</link>
    <description>&lt;P&gt;You say you want serial, yet you set hopelessly aggressive parallelization options.&lt;/P&gt;

&lt;P&gt;You would also require the -larpack at the end of your linking step, possibly followed by -mkl.&lt;/P&gt;

&lt;P&gt;Did you have expert advice to set -i8?&amp;nbsp; If so, everything including libraries would require that setting.&lt;/P&gt;</description>
    <pubDate>Sat, 20 Feb 2016 16:21:00 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2016-02-20T16:21:00Z</dc:date>
    <item>
      <title>to compile ARPACK  with sequential mkl</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/to-compile-ARPACK-with-sequential-mkl/m-p/1078066#M22645</link>
      <description>&lt;DIV&gt;
	&lt;P&gt;i need to compile ARPACK&amp;nbsp; with sequential mkl. the two versions of ARAPCK are available serial and parallel. i am using ubuntu 14.04 and ifort &lt;STRONG&gt;version 16.0.1.&lt;/STRONG&gt;&lt;/P&gt;

	&lt;P&gt;i chose serial version of ARPACK, transferred all .f files from patch to SRC and used&lt;/P&gt;

	&lt;P&gt;if&lt;STRONG&gt;ort *.f -c&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;EM&gt;then created archive file using &lt;/EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ar q libarpack.a *.o&lt;/STRONG&gt;&lt;/P&gt;

	&lt;P&gt;this .a file then i linked my source codes and mkl libraries (LAPACK and BLAS) and using commands&lt;/P&gt;

	&lt;P&gt;ifort -O3 -static-intel -parallel -par-threshold0 -mkl=parallel -openmp -i8 -mkl=parallel -L/home/user/Desktop/lib/libarpack.a -w -o xyz a.f b.f c.f d.f e.f g.f90 h.f90 i.f90 k.f90 l.f90 m.f90 o.......f90&lt;/P&gt;

	&lt;P&gt;i get output as&lt;/P&gt;

	&lt;P&gt;/tmp/ifortkfJcST.o: In function `m_3_arpack_diagonalizers_mp_arpack_coo_half_auto_':&lt;/P&gt;

	&lt;P&gt;h.f90:(.text+0x1076): undefined reference to `dsaupd_'&lt;/P&gt;

	&lt;P&gt;h.f90:(.text+0x18bf): undefined reference to `dseupd_'&lt;/P&gt;

	&lt;P&gt;i am unable to understand the cause and hence cant rectify. i strongly feel it is linked to linking/ compiling of arpack file.&lt;/P&gt;

	&lt;P&gt;pl help. your expertise will be invaluable to me.&lt;/P&gt;

	&lt;P&gt;anand&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 18 Feb 2016 16:02:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/to-compile-ARPACK-with-sequential-mkl/m-p/1078066#M22645</guid>
      <dc:creator>anand_b_</dc:creator>
      <dc:date>2016-02-18T16:02:19Z</dc:date>
    </item>
    <item>
      <title>You say you want serial, yet</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/to-compile-ARPACK-with-sequential-mkl/m-p/1078067#M22646</link>
      <description>&lt;P&gt;You say you want serial, yet you set hopelessly aggressive parallelization options.&lt;/P&gt;

&lt;P&gt;You would also require the -larpack at the end of your linking step, possibly followed by -mkl.&lt;/P&gt;

&lt;P&gt;Did you have expert advice to set -i8?&amp;nbsp; If so, everything including libraries would require that setting.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Feb 2016 16:21:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/to-compile-ARPACK-with-sequential-mkl/m-p/1078067#M22646</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2016-02-20T16:21:00Z</dc:date>
    </item>
    <item>
      <title> thank you Mr Tim.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/to-compile-ARPACK-with-sequential-mkl/m-p/1078068#M22647</link>
      <description>&lt;P&gt;&amp;nbsp;thank you Mr Tim.&lt;/P&gt;

&lt;P&gt;I write the details given in make file&lt;/P&gt;

&lt;P&gt;Default settings for the system-dependent variables&lt;/P&gt;

&lt;P&gt;&amp;nbsp;32-bit integer version of arpack&amp;nbsp; to be compiled with sequential mkl&amp;nbsp;&amp;nbsp;&amp;nbsp; (required)&lt;/P&gt;

&lt;P&gt;the default settings for system dependent variables are&lt;/P&gt;

&lt;P&gt;LINK2 = ifort -O3 -static-intel -parallel -par-threshold0 &lt;STRONG&gt;-mkl=parallel &lt;/STRONG&gt;-openmp -i8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	&lt;BR /&gt;
	LIBAR= ./source/lib/libarpack_intel_mkl.a&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;LIB=-mkl=sequential&lt;BR /&gt;
	LIB2=-mkl=parallel&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(LINK2) $^ $(LIB2) $(LIBAR) -o $@&amp;nbsp;&amp;nbsp; is the command given in make file.&lt;/P&gt;

&lt;P&gt;while creating executable i followed it. but i am apprehensive of the LINK2.&lt;/P&gt;

&lt;P&gt;the linking of 'arpack' to Intel's 'mkl' library is by -O3 -static-intel -parallel -par-threshold0 -mkl=parallel&lt;/P&gt;

&lt;P&gt;so i dont think we need &lt;STRONG&gt;-mkl=parallel &lt;/STRONG&gt;again. this might be an error in make file description..&lt;/P&gt;

&lt;P&gt;i feel it should be&lt;/P&gt;

&lt;P&gt;ifort -O3 -static-intel -parallel -par-threshold0 -mkl=parallel -openmp -i8&amp;nbsp;&amp;nbsp;&amp;nbsp;-L/home/user/Desktop/lib/libarpack.a&amp;nbsp; xyz a.f b.f c.f d.f e.f g.f90 h.f90 i.f90 k.f90 l.f90 m.f90 o.......f90&lt;/P&gt;

&lt;P&gt;if it is required to set -i8, then pl explain me how to configure the settings.&lt;/P&gt;

&lt;P&gt;also i used intel fortran composer which does not inculde MPI lib. the arpack is available in two options serial and parallel. i used serial type of arpack. hope these were not the cause of errors.&lt;/P&gt;

&lt;P&gt;i value your time and advice. I am not an expert. pl write in detail if you dont mind.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;warm regards&lt;/P&gt;

&lt;P&gt;anand&lt;/P&gt;</description>
      <pubDate>Sat, 20 Feb 2016 17:05:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/to-compile-ARPACK-with-sequential-mkl/m-p/1078068#M22647</guid>
      <dc:creator>anand_b_</dc:creator>
      <dc:date>2016-02-20T17:05:00Z</dc:date>
    </item>
    <item>
      <title>pls pay attention on the fact</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/to-compile-ARPACK-with-sequential-mkl/m-p/1078069#M22648</link>
      <description>&lt;P&gt;pls pay attention on the fact, then you use compiler option mkl=parallell, then by the default, LP64 mkl's libraries would be linked. In the case you need to link with ILP64 Libraries, then you need explicitly to add MKL's libraries you need to link. pls look at the MKL Linker Adviser to see how to do that.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2016 05:12:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/to-compile-ARPACK-with-sequential-mkl/m-p/1078069#M22648</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2016-02-21T05:12:53Z</dc:date>
    </item>
    <item>
      <title>Gennady Fedorov</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/to-compile-ARPACK-with-sequential-mkl/m-p/1078070#M22649</link>
      <description>&lt;DIV&gt;&lt;A href="https://software.intel.com/en-us/user/335030"&gt;Gennady Fedorov&lt;/A&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;thank you for valuable input. pl answers specifically to my questions. i will enhance my understanding and eliminate doubts&lt;/DIV&gt;

&lt;DIV&gt;1&amp;nbsp;&amp;nbsp; does use of&lt;STRONG&gt; composer &lt;/STRONG&gt;version can be a reason to my problem. it does not contain&lt;STRONG&gt; MPI&lt;/STRONG&gt; libraries. only&lt;STRONG&gt; cluster edition &lt;/STRONG&gt;has &lt;STRONG&gt;MPI libraries&lt;/STRONG&gt;&lt;/DIV&gt;

&lt;DIV&gt;2&amp;nbsp;&amp;nbsp; how to compile static 32 bit ARPACK sequentially using MKL lib.&amp;nbsp; i need full command&lt;/DIV&gt;

&lt;DIV&gt;3&amp;nbsp; the default setting given are&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;
	&lt;P&gt;LINK2 = ifort -O3 -static-intel -parallel -par-threshold0 &lt;STRONG&gt;-mkl=parallel &lt;/STRONG&gt;-openmp -i8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;

	&lt;P&gt;LIBAR= ./source/lib/libarpack_intel_mkl.a&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LIB=-mkl=sequential&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LIB2=-mkl=parallel&lt;/P&gt;

	&lt;P&gt;&lt;STRONG&gt;$(LINK2) $^ $(LIB2) $(LIBAR) -o $@&amp;nbsp;&amp;nbsp; is the command given in make file.&lt;/STRONG&gt;&lt;/P&gt;

	&lt;P&gt;but i am apprehensive of the LINK2 and LIB&lt;/P&gt;

	&lt;P&gt;the linking of 'arpack' to Intel's 'mkl' library is by &lt;STRONG&gt;ifort -O3 -static-intel -parallel -par-threshold0 -mkl=parallel&lt;/STRONG&gt;&amp;nbsp; which means i am linking with 32 bit interger code. Am I right ?&lt;/P&gt;

	&lt;P&gt;4&amp;nbsp;&amp;nbsp; do i we need &lt;STRONG&gt;-mkl=parallel &lt;/STRONG&gt;again in LIB2. this might be an error in make file description..&lt;/P&gt;

	&lt;P&gt;5&amp;nbsp; what is -openmp -i8 refer to in LINK2.....&lt;/P&gt;

	&lt;P&gt;pl answer 1,2,4,5 .&amp;nbsp; answers to these points may help in solving the issue&lt;/P&gt;

	&lt;P&gt;anand&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 21 Feb 2016 06:25:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/to-compile-ARPACK-with-sequential-mkl/m-p/1078070#M22649</guid>
      <dc:creator>anand_b_</dc:creator>
      <dc:date>2016-02-21T06:25:00Z</dc:date>
    </item>
    <item>
      <title>As Gennady pointed out, the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/to-compile-ARPACK-with-sequential-mkl/m-p/1078071#M22650</link>
      <description>&lt;P&gt;As Gennady pointed out, the obsolete -i8 option (if still implemented) set when making an object which calls MKL will require the ilp64 MKL library.&amp;nbsp; I don't think it's feasible to mix lp64 and ilp64 (the subject was brought up here not long ago), so you would need to be consistent in using that option or the current versions of it.&amp;nbsp; -i8 would have no effect in a compile step which includes no source files, but why confuse things?&lt;/P&gt;

&lt;P&gt;Speaking of confusion, once again, you are telling the compiler to auto-parallelize wherever possible, even at the expense of performance.&amp;nbsp; It seems to make more sense to try to get things working first without -parallel, and avoid -par-threshold until you have evidence in favor of it.&amp;nbsp; For the link step, either -parallel or -qopenmp have the same effect of linking in the OpenMP library which is used also by mkl=parallel.&amp;nbsp; Your recent compiler should reject the old spelling of -openmp.&lt;/P&gt;

&lt;P&gt;If your arpack Makefile was set up carefully,&amp;nbsp; it might use -parallel along with mkl=sequential, and mkl=parallel where -parallel is not used.&amp;nbsp; At the very least, you are seeing evidence that it was set up for ifort several versions back, and you should pay attention to the options.&lt;/P&gt;

&lt;P&gt;If you are meaning by serial arpack one which does not use MPI, then you will not need the cluster parallel studio.&amp;nbsp; Use of MPI would involve MPI wrappers such as mpiifort, mpiicc, mpiicpc as the names of the Intel MPI Fortran, C, and C++ compilers, with slightly different names for other MPI implementations.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2016 12:49:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/to-compile-ARPACK-with-sequential-mkl/m-p/1078071#M22650</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2016-02-21T12:49:18Z</dc:date>
    </item>
    <item>
      <title>thanks Tim</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/to-compile-ARPACK-with-sequential-mkl/m-p/1078072#M22651</link>
      <description>&lt;P&gt;thanks Tim&lt;/P&gt;

&lt;P&gt;while installing ifort cluster ed (evaluating version)&amp;nbsp; do i need to edit bash file and set environment for using default MKL, MPI libraries.&lt;/P&gt;

&lt;P&gt;what should be the exact path.... the ifort path is , which directory should we consider to specify the path as there are so many lib in intel folder like bin, mkl (shared), mpi (shared), impi, daal (shared), compilers_and_libraries_2016.1.150 and compilers_and_libraries_2016 have same folders and files&lt;/P&gt;

&lt;P&gt;e.g&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; source /opt/intel/compilers_and_libraries_2016.1.150/linux/bin/ifortvars.sh intel64&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; source /opt/intel/compilers_and_libraries_2016.1.150/linux/bin/ifortvars.sh ia32&amp;nbsp; since i require 32 bit arpack to be compiled sequetially...&lt;/P&gt;

&lt;P&gt;2&amp;nbsp; you mean in LINK2 = ifort -O3 -static-intel -parallel -par-threshold0 &lt;STRONG&gt;-mkl=parallel &lt;/STRONG&gt;-openmp -i8 ,&amp;nbsp; i dont need MPI libraries.&amp;nbsp; what does openmp -i8 stand for&lt;/P&gt;

&lt;P&gt;i shall answer your questions raised in above and my need for using commands mentioned in above post later just to avoid confusion at this stage,.&lt;/P&gt;

&lt;P&gt;your suggestions have been highly helpful a lot. thanks for your efforts&lt;/P&gt;

&lt;P&gt;ab&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2016 13:46:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/to-compile-ARPACK-with-sequential-mkl/m-p/1078072#M22651</guid>
      <dc:creator>anand_b_</dc:creator>
      <dc:date>2016-02-22T13:46:56Z</dc:date>
    </item>
    <item>
      <title>In addition to sourceing the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/to-compile-ARPACK-with-sequential-mkl/m-p/1078073#M22652</link>
      <description>&lt;P&gt;In addition to sourceing the ifortvars.sh, if you wished to use Intel MPI, you would source mpivars.sh ia32 (if you are running a version of Intel MPI which still has 32-bit mode support).&amp;nbsp; Did you read&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/en-us/articles/intel-cluster-tools-deprecation-information" target="_blank"&gt;https://software.intel.com/en-us/articles/intel-cluster-tools-deprecation-information&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;where it is advised to use MPI 4.1 if you insist on 32-bit mode?&amp;nbsp; It may work with current ifort but probably hasn't been tested, nor would it be likely to have been tested on current linux distros.&lt;/P&gt;

&lt;P&gt;You can assure yourself of which ifort is set up for MPI build by 'mpiifort -V'.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;In my own opinion, you may be wasting more time switching your focus to running 32-bit ifort and MPI on a 64-bit system.&amp;nbsp; To make it work, you will need to set up the full 32-bit g++ in addition to the 64-bit g++ development system.&amp;nbsp; You will need also to keep track of your 32- and 64-bit MPI installations and builds.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2016 15:37:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/to-compile-ARPACK-with-sequential-mkl/m-p/1078073#M22652</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2016-02-22T15:37:21Z</dc:date>
    </item>
  </channel>
</rss>

