<?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 Bump issue! in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-diagonalization-Siesta-with-gt-2018-2-046/m-p/1126795#M25310</link>
    <description>&lt;P&gt;Bump issue!&lt;/P&gt;</description>
    <pubDate>Mon, 26 Nov 2018 13:54:09 GMT</pubDate>
    <dc:creator>nickpapior</dc:creator>
    <dc:date>2018-11-26T13:54:09Z</dc:date>
    <item>
      <title>Error in diagonalization (Siesta) with &gt;=2018.2.046</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-diagonalization-Siesta-with-gt-2018-2-046/m-p/1126792#M25307</link>
      <description>&lt;P&gt;I am trying out the latest MKL version with Siesta (4.0.2). However, I keep on getting&lt;/P&gt;

&lt;PRE class="brush:bash; class-name:dark;"&gt;{&amp;nbsp; &amp;nbsp; 0,&amp;nbsp; &amp;nbsp; 0}:&amp;nbsp; On entry to&amp;nbsp;
PDSTEDC parameter number&amp;nbsp; &amp;nbsp;10 had an illegal value&amp;nbsp;
....&lt;/PRE&gt;

&lt;P&gt;for&amp;nbsp;2018.2.046 and 2018.3.051. I am compiling and running on the same node in a for loop:&lt;/P&gt;

&lt;PRE class="brush:bash; class-name:dark;"&gt;for v in 2017.7.065 2018.0.033&amp;nbsp; 2018.1.038 2018.2.046 2018.3.051
do
module purge
module load intel/$v
module load intel/$v.mkl
module load intel/$v.mpi
make clean
make
cd Tests/si64
make SIESTA="mpiexec -np $PBS_NP ../../../siesta" label=$v
cd ../../
done&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Note that only the last two are failing with the above error message.&lt;BR /&gt;
	The arch.make file is this:&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:; class-name:dark;"&gt;SIESTA_ARCH=intel-mpi
FC=mpiifort

FFLAGS = -O2 -xHost -fp-model precise -prec-sqrt -prec-div \
     -fimf-precision=high -ip -mp1 -fpp -heap-arrays 1024 -i4 \
   -double-size 64 -real-size 32 \
     -warn unused,truncated_source,uncalled,declarations,usage
FFLAGS_SPECIAL= -O1 -xHost -ip -mp1 -fpp -heap-arrays 1024 -i4 \
    -double-size 64 -real-size 32 -fp-model precise \
        -warn unused,truncated_source,uncalled,declarations,usage

DUMMY_FOX=--enable-dummy
FFLAGS_DEBUG=-g -O0 -debug full -traceback -C
LDFLAGS= -static-intel -static-libgcc
RANLIB=ranlib
FC_SERIAL=ifort
#
NETCDF_LIBS=
NETCDF_INTERFACE=
FPPFLAGS_CDF=

MPI_INTERFACE=libmpi_f90.a
MKL_INCLUDE=-I$(MKLROOT)/include/intel64/lp64
MPI_LIBS=-L$(I_MPI_ROOT)/intel64/lib -lmpi
MKL_LIBS=$(MKLROOT)/lib/intel64
MPI_INCLUDE=-I$(I_MPI_ROOT)/intel64/include
INCFLAGS=$(MPI_INCLUDE) $(MKL_INCLUDE)
#
FPPFLAGS_MPI=-DMPI -DMPI_TIMING -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DSIESTA__NO_MRRR
##
NETCDF_LIBS=
NETCDF_INTERFACE=
##
LIBS=   $(MPI_LIB) -mkl=parallel \
  ${MKLROOT}/lib/intel64/libmkl_blas95_lp64.a \
  ${MKLROOT}/lib/intel64/libmkl_scalapack_lp64.a \
  -Wl,--start-group \
  ${MKLROOT}/lib/intel64/libmkl_intel_lp64.a \
  ${MKLROOT}/lib/intel64/libmkl_sequential.a \
  ${MKLROOT}/lib/intel64/libmkl_core.a \
  ${MKLROOT}/lib/intel64/libmkl_blacs_intelmpi_lp64.a \
  -Wl,--end-group -lstdc++ -lpthread -lm -ldl
#
SYS=nag
FPPFLAGS= $(FPPFLAGS_CDF) $(FPPFLAGS_MPI)
##
atom.o: atom.F
        $(FC) -c $(FFLAGS_SPECIAL) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_fixed_F) $&amp;lt;
state_analysis.o: state_analysis.F
        $(FC) -c $(FFLAGS_SPECIAL) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_fixed_F) $&amp;lt;
.F.o:
        $(FC) -c $(FFLAGS) $(INCFLAGS) $(FPPFLAGS) $&amp;lt;
.f.o:
        $(FC) -c $(FFLAGS) $(INCFLAGS) $&amp;lt;
.F90.o:
        $(FC) -c $(FFLAGS) $(INCFLAGS) $(FPPFLAGS) $&amp;lt;
.f90.o:
        $(FC) -c $(FFLAGS) $(INCFLAGS) $&amp;lt;

&lt;/PRE&gt;

&lt;P&gt;I am running the test with 8 cores, and the architechture is:&amp;nbsp;XeonE5-2665.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 07:20:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-diagonalization-Siesta-with-gt-2018-2-046/m-p/1126792#M25307</guid>
      <dc:creator>nickpapior</dc:creator>
      <dc:date>2018-09-11T07:20:34Z</dc:date>
    </item>
    <item>
      <title>thanks for report. We don't</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-diagonalization-Siesta-with-gt-2018-2-046/m-p/1126793#M25308</link>
      <description>&lt;P&gt;thanks for report. We don't know about such problem. Which version of MKL do you use before?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 03:41:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-diagonalization-Siesta-with-gt-2018-2-046/m-p/1126793#M25308</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2018-09-13T03:41:34Z</dc:date>
    </item>
    <item>
      <title>Hi Gennady,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-diagonalization-Siesta-with-gt-2018-2-046/m-p/1126794#M25309</link>
      <description>&lt;DIV&gt;&lt;SPAN style="font-size: 16.26px;"&gt;Hi Gennady,&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 16.26px;"&gt;As I wrote above, I have tested these versions:&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 16.26px;"&gt;Siesta 4.0.2:&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 16.26px;"&gt;- 2017.7.065 [works]&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 16.26px;"&gt;- 2018.0.033 [works]&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 16.26px;"&gt;- 2018.1.038 [works]&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 16.26px;"&gt;- 2018.2.042 [fails]&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 16.26px;"&gt;- 2018.3.051 [fails]&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 16.26px;"&gt;1) The code is exactly the same.&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 16.26px;"&gt;2) The arch.make is exactly the same.&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 16.26px;"&gt;The problem (I guess) is the LWORK size. Generally Siesta version (4.0 and prior)&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 16.26px;"&gt;are calculating the work-size manually, and they have always been "enough".&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 16.26px;"&gt;In 4.1 and later the diagonalization routines are using the lwork = -1 query scheme (to rely on the LAPACK/ScaLAPACK implementations), and hence here all MKL versions works correctly.&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 16.26px;"&gt;So has anything changed in the required work-array sizes in the latest MKL versions? If so, how can I track those changes?&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 13 Sep 2018 09:04:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-diagonalization-Siesta-with-gt-2018-2-046/m-p/1126794#M25309</guid>
      <dc:creator>nickpapior</dc:creator>
      <dc:date>2018-09-13T09:04:07Z</dc:date>
    </item>
    <item>
      <title>Bump issue!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-diagonalization-Siesta-with-gt-2018-2-046/m-p/1126795#M25310</link>
      <description>&lt;P&gt;Bump issue!&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 13:54:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-diagonalization-Siesta-with-gt-2018-2-046/m-p/1126795#M25310</guid>
      <dc:creator>nickpapior</dc:creator>
      <dc:date>2018-11-26T13:54:09Z</dc:date>
    </item>
    <item>
      <title>For future reference.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-diagonalization-Siesta-with-gt-2018-2-046/m-p/1126796#M25311</link>
      <description>&lt;P&gt;For future reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This has to do with Intel MKL trying to internally select the best 2D distribution (regardless of user request!).&lt;/P&gt;&lt;P&gt;Essentially this means that the workspace required is not as the documentation specifies since the used distribution is different.&lt;/P&gt;&lt;P&gt;I've been told it was fixed in 2019 and onwards, but I don't know for sure...&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 11:06:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-diagonalization-Siesta-with-gt-2018-2-046/m-p/1126796#M25311</guid>
      <dc:creator>nickpapior</dc:creator>
      <dc:date>2019-06-21T11:06:48Z</dc:date>
    </item>
  </channel>
</rss>

