<?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 Failed HPCC built with FFTW from MKL on Linux 64 bit machine in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Failed-HPCC-built-with-FFTW-from-MKL-on-Linux-64-bit-machine/m-p/832198#M5723</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I built HPCC using Intel MKL FFTW library following instruction in the following article:&lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/articles/performance-tools-for-software-developers-use-of-intel-mkl-in-hpcc-benchmark/" target="_blank"&gt;http://software.intel.com/en-us/articles/performance-tools-for-software-developers-use-of-intel-mkl-in-hpcc-benchmark/&lt;/A&gt;&lt;BR /&gt;I used the following compiler version:&lt;BR /&gt;&lt;BR /&gt;$ icc -V&lt;BR /&gt;
Intel C Intel 64 Compiler XE for applications running on Intel 64, Version 12.0.0.084 Build 20101006&lt;BR /&gt;$ which mpiicc&lt;BR /&gt;/opt/intel/impi/4.0.1/bin64/mpiicc&lt;BR /&gt;&lt;BR /&gt;The binary was failed with the following error:&lt;BR /&gt;&lt;BR /&gt;$ mpirun -machinefile ~/machinefile -n 2 hpcc&lt;BR /&gt;HPL WARNING from process # 0, on line 313 of function HPL_pdinfo:&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; cannot open file hpccinf.txt &amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;rank 1 in job 1 compute-0-0-10gb_44496 caused collective abort of all ranks&lt;BR /&gt; exit status of rank 1: killed by signal 11&lt;BR /&gt;&lt;BR /&gt;It failed right after starting StarFFT section according to the output.&lt;BR /&gt;&lt;BR /&gt;$ tail hpccoutf.txt&lt;BR /&gt;Generation time: 0.565&lt;BR /&gt;Tuning: 1.438&lt;BR /&gt;Computing: 1.009&lt;BR /&gt;Inverse FFT: 1.359&lt;BR /&gt;max(|x-x0|): 1.715e+00&lt;BR /&gt;Gflop/s: 1.536&lt;BR /&gt;Current time (1303986275) is Thu Apr 28 06:24:35 2011&lt;BR /&gt;&lt;BR /&gt;End of MPIFFT section.&lt;BR /&gt;Begin of StarFFT section.&lt;BR /&gt;&lt;BR /&gt;The system log message shows segfault error:&lt;BR /&gt;&lt;BR /&gt;Apr 28 06:24:39 compute-0-0 kernel: hpcc[23811]: segfault at fffffffffffffff9 ip 00000000004c3666 sp 00007fff1b399180 error 4 in hpcc[400000+16f8000]&lt;BR /&gt;Apr 28 06:24:39 compute-0-0 kernel: hpcc[23810]: segfault at fffffffffffffff9 ip 00000000004c3666 sp 00007fffd2a14e00 error 4 in hpcc[400000+16f8000]&lt;BR /&gt;&lt;BR /&gt;Below is my makefile entry to build hpcc using FFTW from MKL.&lt;BR /&gt;&lt;BR /&gt;LAdir = /opt/intel/mkl/lib/intel64&lt;BR /&gt;LAinc =&lt;BR /&gt;LAlib = -Wl,--start-group $(LAdir)/libmkl_intel_lp64.a $(LAdir)/libmkl_sequential.a $(LAdir)/libmkl_core.a $(LAdir)/libmkl_blacs_intelmpi_lp64.a $(LAdir)/libfftw2x_cdft_DOUBLE_ilp64.a $(LAdir)/libfftw2xc_intel.a $(LAdir)/libmkl_cdft_core.a -Wl,--end-group /opt/intel/lib/intel64/libiomp5.a -lpthread -lm&lt;BR /&gt;&lt;BR /&gt;F2CDEFS = -DAdd_ -DF77_INTEGER=int -DStringSunStyle&lt;BR /&gt;HPL_INCLUDES = -I$(INCdir) -I$(INCdir)/$(ARCH) $(LAinc) $(MPinc) -I/opt/intel/mkl/include/fftw&lt;BR /&gt;HPL_LIBS = $(HPLlib) $(LAlib) $(MPlib) -lm&lt;BR /&gt;HPL_OPTS = -DUSING_FFTW -DMKL_INT=long -DLONG_IS_64BITS -DRA_SANDIA_OPT2 -DHPCC_FFT_235&lt;BR /&gt;HPL_DEFS = -g $(F2CDEFS) $(HPL_OPTS) $(HPL_INCLUDES)&lt;BR /&gt;CC = mpiicc&lt;BR /&gt;CCNOOPT = $(HPL_DEFS)&lt;BR /&gt;CCFLAGS = $(HPL_DEFS) $(MKLINCDIR) -O3 -ansi-alias -ip -fno-alias&lt;BR /&gt;LINKER = mpiicc&lt;BR /&gt;&lt;BR /&gt;If you have any suggestions, please let me know.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;- CB&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 28 Apr 2011 16:38:01 GMT</pubDate>
    <dc:creator>Chansup_Byun</dc:creator>
    <dc:date>2011-04-28T16:38:01Z</dc:date>
    <item>
      <title>Failed HPCC built with FFTW from MKL on Linux 64 bit machine</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Failed-HPCC-built-with-FFTW-from-MKL-on-Linux-64-bit-machine/m-p/832198#M5723</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I built HPCC using Intel MKL FFTW library following instruction in the following article:&lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/articles/performance-tools-for-software-developers-use-of-intel-mkl-in-hpcc-benchmark/" target="_blank"&gt;http://software.intel.com/en-us/articles/performance-tools-for-software-developers-use-of-intel-mkl-in-hpcc-benchmark/&lt;/A&gt;&lt;BR /&gt;I used the following compiler version:&lt;BR /&gt;&lt;BR /&gt;$ icc -V&lt;BR /&gt;
Intel C Intel 64 Compiler XE for applications running on Intel 64, Version 12.0.0.084 Build 20101006&lt;BR /&gt;$ which mpiicc&lt;BR /&gt;/opt/intel/impi/4.0.1/bin64/mpiicc&lt;BR /&gt;&lt;BR /&gt;The binary was failed with the following error:&lt;BR /&gt;&lt;BR /&gt;$ mpirun -machinefile ~/machinefile -n 2 hpcc&lt;BR /&gt;HPL WARNING from process # 0, on line 313 of function HPL_pdinfo:&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; cannot open file hpccinf.txt &amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;rank 1 in job 1 compute-0-0-10gb_44496 caused collective abort of all ranks&lt;BR /&gt; exit status of rank 1: killed by signal 11&lt;BR /&gt;&lt;BR /&gt;It failed right after starting StarFFT section according to the output.&lt;BR /&gt;&lt;BR /&gt;$ tail hpccoutf.txt&lt;BR /&gt;Generation time: 0.565&lt;BR /&gt;Tuning: 1.438&lt;BR /&gt;Computing: 1.009&lt;BR /&gt;Inverse FFT: 1.359&lt;BR /&gt;max(|x-x0|): 1.715e+00&lt;BR /&gt;Gflop/s: 1.536&lt;BR /&gt;Current time (1303986275) is Thu Apr 28 06:24:35 2011&lt;BR /&gt;&lt;BR /&gt;End of MPIFFT section.&lt;BR /&gt;Begin of StarFFT section.&lt;BR /&gt;&lt;BR /&gt;The system log message shows segfault error:&lt;BR /&gt;&lt;BR /&gt;Apr 28 06:24:39 compute-0-0 kernel: hpcc[23811]: segfault at fffffffffffffff9 ip 00000000004c3666 sp 00007fff1b399180 error 4 in hpcc[400000+16f8000]&lt;BR /&gt;Apr 28 06:24:39 compute-0-0 kernel: hpcc[23810]: segfault at fffffffffffffff9 ip 00000000004c3666 sp 00007fffd2a14e00 error 4 in hpcc[400000+16f8000]&lt;BR /&gt;&lt;BR /&gt;Below is my makefile entry to build hpcc using FFTW from MKL.&lt;BR /&gt;&lt;BR /&gt;LAdir = /opt/intel/mkl/lib/intel64&lt;BR /&gt;LAinc =&lt;BR /&gt;LAlib = -Wl,--start-group $(LAdir)/libmkl_intel_lp64.a $(LAdir)/libmkl_sequential.a $(LAdir)/libmkl_core.a $(LAdir)/libmkl_blacs_intelmpi_lp64.a $(LAdir)/libfftw2x_cdft_DOUBLE_ilp64.a $(LAdir)/libfftw2xc_intel.a $(LAdir)/libmkl_cdft_core.a -Wl,--end-group /opt/intel/lib/intel64/libiomp5.a -lpthread -lm&lt;BR /&gt;&lt;BR /&gt;F2CDEFS = -DAdd_ -DF77_INTEGER=int -DStringSunStyle&lt;BR /&gt;HPL_INCLUDES = -I$(INCdir) -I$(INCdir)/$(ARCH) $(LAinc) $(MPinc) -I/opt/intel/mkl/include/fftw&lt;BR /&gt;HPL_LIBS = $(HPLlib) $(LAlib) $(MPlib) -lm&lt;BR /&gt;HPL_OPTS = -DUSING_FFTW -DMKL_INT=long -DLONG_IS_64BITS -DRA_SANDIA_OPT2 -DHPCC_FFT_235&lt;BR /&gt;HPL_DEFS = -g $(F2CDEFS) $(HPL_OPTS) $(HPL_INCLUDES)&lt;BR /&gt;CC = mpiicc&lt;BR /&gt;CCNOOPT = $(HPL_DEFS)&lt;BR /&gt;CCFLAGS = $(HPL_DEFS) $(MKLINCDIR) -O3 -ansi-alias -ip -fno-alias&lt;BR /&gt;LINKER = mpiicc&lt;BR /&gt;&lt;BR /&gt;If you have any suggestions, please let me know.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;- CB&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Apr 2011 16:38:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Failed-HPCC-built-with-FFTW-from-MKL-on-Linux-64-bit-machine/m-p/832198#M5723</guid>
      <dc:creator>Chansup_Byun</dc:creator>
      <dc:date>2011-04-28T16:38:01Z</dc:date>
    </item>
    <item>
      <title>Failed HPCC built with FFTW from MKL on Linux 64 bit machine</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Failed-HPCC-built-with-FFTW-from-MKL-on-Linux-64-bit-machine/m-p/832199#M5724</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Judging by the line "&amp;gt;&amp;gt;&amp;gt; cannot open file hpccinf.txt &amp;lt;&amp;lt;&amp;lt;" I guess that you did not provide an input file to the benchmark. Please note that the example file has an underscore in its name - "_hpccinf.txt". Feel free to rename it and modify per your needs.&lt;BR /&gt;&lt;BR /&gt;Another thing that I have noticed is that in the list of libraries the FFTW wrapper libraries must go first:&lt;BR /&gt;LAlib = -Wl,--start-group &lt;B&gt;$(LAdir)/libfftw2x_cdft_DOUBLE_ilp64.a $(LAdir)/libfftw2xc_intel.a&lt;/B&gt; $(LAdir)/libmkl_intel_lp64.a 
$(LAdir)/libmkl_sequential.a $(LAdir)/libmkl_core.a 
$(LAdir)/libmkl_blacs_intelmpi_lp64.a 
$(LAdir)/libmkl_cdft_core.a -Wl,--end-group 
/opt/intel/lib/intel64/libiomp5.a -lpthread -lm&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;-Vladimir</description>
      <pubDate>Thu, 28 Apr 2011 17:38:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Failed-HPCC-built-with-FFTW-from-MKL-on-Linux-64-bit-machine/m-p/832199#M5724</guid>
      <dc:creator>Vladimir_Petrov__Int</dc:creator>
      <dc:date>2011-04-28T17:38:49Z</dc:date>
    </item>
    <item>
      <title>Failed HPCC built with FFTW from MKL on Linux 64 bit machine</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Failed-HPCC-built-with-FFTW-from-MKL-on-Linux-64-bit-machine/m-p/832200#M5725</link>
      <description>Hi Vladimir,&lt;BR /&gt;&lt;BR /&gt;I used "hpccmemf.txt" instead of "hpccinf.txt" for input. &lt;BR /&gt;Anyway, I rebuilt the binary following your suggestion but it still failed with the same error at the same spot.&lt;BR /&gt;&lt;BR /&gt;$ mpirun -n 2 hpcc&lt;BR /&gt;rank 0 in job 1 compute-0-0_47995 caused collective abort of all ranks&lt;BR /&gt; exit status of rank 0: killed by signal 9&lt;BR /&gt;&lt;BR /&gt;From system log:&lt;BR /&gt;Apr 28 08:44:58 compute-0-0 kernel: hpcc[14131]: segfault at fffffffffffffff9 ip 00000000004c3666 sp 00007fffa4ed6000 error 4 in hpcc[400000+16f8000]&lt;BR /&gt;&lt;BR /&gt;Any other suggestions?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;- CB&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Apr 2011 18:50:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Failed-HPCC-built-with-FFTW-from-MKL-on-Linux-64-bit-machine/m-p/832200#M5725</guid>
      <dc:creator>Chansup_Byun</dc:creator>
      <dc:date>2011-04-28T18:50:32Z</dc:date>
    </item>
    <item>
      <title>Failed HPCC built with FFTW from MKL on Linux 64 bit machine</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Failed-HPCC-built-with-FFTW-from-MKL-on-Linux-64-bit-machine/m-p/832201#M5726</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Please make sure you run "make clean arch=XXX" (where XXX is your arch) before you rebuild the hpcc binary with the new library order.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;-Vladimir</description>
      <pubDate>Fri, 29 Apr 2011 09:24:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Failed-HPCC-built-with-FFTW-from-MKL-on-Linux-64-bit-machine/m-p/832201#M5726</guid>
      <dc:creator>Vladimir_Petrov__Int</dc:creator>
      <dc:date>2011-04-29T09:24:42Z</dc:date>
    </item>
  </channel>
</rss>

