<?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 Hi Ying, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-SCALAPACK-example1-f-linking-problems/m-p/773632#M843</link>
    <description>&lt;P&gt;Hi Ying,&lt;/P&gt;

&lt;P&gt;Is this closed or still opening?&lt;/P&gt;

&lt;P&gt;I got the same error as the original poster although with a different command:&lt;/P&gt;

&lt;P&gt;mpif90 -L$MKLPATH -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -lm example.f -o example&lt;/P&gt;

&lt;P&gt;Could you please help me here?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Yue&lt;/P&gt;</description>
    <pubDate>Thu, 15 Feb 2018 06:45:41 GMT</pubDate>
    <dc:creator>Shi__Yue</dc:creator>
    <dc:date>2018-02-15T06:45:41Z</dc:date>
    <item>
      <title>Compiling SCALAPACK example1.f ... linking problems</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-SCALAPACK-example1-f-linking-problems/m-p/773630#M841</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;I am trying to run scalapack using ifort 11.1 and corresponding MKL version..&lt;BR /&gt;&lt;BR /&gt;The example1.f is from SCALAPACK website &lt;A href="http://www.netlib.org/scalapack/examples/" target="_blank"&gt;http://www.netlib.org/scalapack/examples/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The MKLPATH = /opt/intel/Compiler/11.1/059/mkl/lib/32&lt;BR /&gt;&lt;BR /&gt;WHEN I do..&lt;BR /&gt;&lt;BR /&gt;mpif90 EXAMPLE1.f -L$MKLPATH/libmkl_scalapack_core.a $MKLPATH/libmkl_solver.a -Wl,--start-group $MKLPATH/libmkl_intel.a $MKLPATH/libmkl_intel_thread.a $MKLPATH/libmkl_core.a $MKLPATH/libmkl_blacs_intelmpi.a -Wl,--end-group -openmp -lpthread&lt;BR /&gt;&lt;BR /&gt;I get..&lt;BR /&gt;&lt;BR /&gt;/tmp/ccizXxrV.o: In function `MAIN__':&lt;BR /&gt;EXAMPLE.f:(.text+0xd2): undefined reference to `descinit_'&lt;BR /&gt;EXAMPLE.f:(.text+0x12c): undefined reference to `descinit_'&lt;BR /&gt;EXAMPLE.f:(.text+0x1c4): undefined reference to `pdlacpy_'&lt;BR /&gt;EXAMPLE.f:(.text+0x230): undefined reference to `pdlacpy_'&lt;BR /&gt;EXAMPLE.f:(.text+0x2a0): undefined reference to `pdgesv_'&lt;BR /&gt;EXAMPLE.f:(.text+0x524): undefined reference to `pdlamch_'&lt;BR /&gt;EXAMPLE.f:(.text+0x579): undefined reference to `pdlange_'&lt;BR /&gt;EXAMPLE.f:(.text+0x5ce): undefined reference to `pdlange_'&lt;BR /&gt;EXAMPLE.f:(.text+0x689): undefined reference to `pdgemm_'&lt;BR /&gt;EXAMPLE.f:(.text+0x6db): undefined reference to `pdlange_'&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;&lt;BR /&gt;Please can you tell what is wrong here as this is my first time with scalapack and Blacs ??&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;&lt;BR /&gt;Nitin</description>
      <pubDate>Sun, 25 Jul 2010 21:14:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-SCALAPACK-example1-f-linking-problems/m-p/773630#M841</guid>
      <dc:creator>TinTin_9</dc:creator>
      <dc:date>2010-07-25T21:14:20Z</dc:date>
    </item>
    <item>
      <title>Compiling SCALAPACK example1.f ... linking problems</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-SCALAPACK-example1-f-linking-problems/m-p/773631#M842</link>
      <description>Hi Nitin, &lt;BR /&gt;&lt;BR /&gt;The problem may be in the command line&lt;BR /&gt;&lt;BR /&gt;A possible workablecommand line is like the one in the KB &lt;A href="http://software.intel.com/en-us/articles/using-cluster-mkl-pblasscalapack-fortran-routine-in-your-c-program/"&gt;&lt;B&gt;Using Cluster MKL PBLAS/ScaLAPACK FORTRAN routine in your C program&lt;/B&gt;&lt;/A&gt; &lt;A target="_blank" href="http://software.intel.com/en-us/articles/using-cluster-mkl-pblasscalapack-fortran-routine-in-your-c-program/feed/"&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;mpif90 EXAMPLE1.f $MKLPATH/libmkl_scalapack_core.a $MKLPATH/libmkl_blacs_intelmpi.a $MKLPATH/libmkl_solver.a -Wl,--start-group $MKLPATH/libmkl_intel.a $MKLPATH/libmkl_intel_thread.a $MKLPATH/libmkl_core.a -Wl,--end-group -openmp -lpthread&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ying</description>
      <pubDate>Mon, 26 Jul 2010 06:32:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-SCALAPACK-example1-f-linking-problems/m-p/773631#M842</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2010-07-26T06:32:32Z</dc:date>
    </item>
    <item>
      <title>Hi Ying,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-SCALAPACK-example1-f-linking-problems/m-p/773632#M843</link>
      <description>&lt;P&gt;Hi Ying,&lt;/P&gt;

&lt;P&gt;Is this closed or still opening?&lt;/P&gt;

&lt;P&gt;I got the same error as the original poster although with a different command:&lt;/P&gt;

&lt;P&gt;mpif90 -L$MKLPATH -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -lm example.f -o example&lt;/P&gt;

&lt;P&gt;Could you please help me here?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Yue&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 06:45:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-SCALAPACK-example1-f-linking-problems/m-p/773632#M843</guid>
      <dc:creator>Shi__Yue</dc:creator>
      <dc:date>2018-02-15T06:45:41Z</dc:date>
    </item>
    <item>
      <title>Hi Yue,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-SCALAPACK-example1-f-linking-problems/m-p/773633#M844</link>
      <description>&lt;P&gt;Hi Yue,&lt;/P&gt;

&lt;P&gt;Are you running intel MPI 64bit and intel fortran compiler or gnu fortran compiler?&amp;nbsp; You may try the example under MKL install folder, which provide the example code and how to compile and run the&amp;nbsp;scalapack routine.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;for example below command line with Intel mpi and GNU gfortran.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If the example can work, but your example doesn't work, could you please submit your question to &lt;A href="https://supporttickets.intel.com/"&gt;https://supporttickets.intel.com/&lt;/A&gt;&amp;nbsp;, where you can provide your test code and reproduce step.&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Ying &amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;gt;&amp;nbsp;tar -xzvf examples_cluster_f.tgz&lt;BR /&gt;
	&amp;gt;source /opt/intel/impi/2017.3.196/bin64/mpivars.sh&lt;/P&gt;

&lt;P&gt;&amp;gt;source /opt/intel/mkl/bin/mklvars.sh intel64&lt;/P&gt;

&lt;P&gt;&amp;gt;cd scalapackf&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;gt;make libintel64 function=pdgetrf compiler=gnu&lt;BR /&gt;
	make pdgetrfx.res _IA=intel64 Ibin=bin64 EXT=a RES_EXT=lib&lt;BR /&gt;
	make[1]: Entering directory `/home/yhu5/mkl2018/mkl_nightly_2018u1_20170712/mkl_nightly_2018u1_20170712/__release_lnx/mkl/examples/scalapackf'&lt;BR /&gt;
	mkdir -p _results/gnu_intelmpi_lp64_intel64_lib_parallel&lt;BR /&gt;
	mpif90 -f90=gfortran&amp;nbsp; -Wall -m64&amp;nbsp; -DMPI_KIND_=4 source/common/pcmatgen.f -c -o _results/gnu_intelmpi_lp64_intel64_lib_parallel/pcmatgen.o&lt;BR /&gt;
	mpif90 -f90=gfortran&amp;nbsp; -Wall -m64&amp;nbsp; -DMPI_KIND_=4 source/common/pdmatgen.f -c -o _results/gnu_intelmpi_lp64_intel64_lib_parallel/pdmatgen.o&lt;BR /&gt;
	mpif90 -f90=gfortran&amp;nbsp; -Wall -m64&amp;nbsp; -DMPI_KIND_=4 source/common/psmatgen.f -c -o _results/gnu_intelmpi_lp64_intel64_lib_parallel/psmatgen.o&lt;BR /&gt;
	mpif90 -f90=gfortran&amp;nbsp; -Wall -m64&amp;nbsp; -DMPI_KIND_=4 source/common/pzmatgen.f -c -o _results/gnu_intelmpi_lp64_intel64_lib_parallel/pzmatgen.o&lt;BR /&gt;
	mpif90 -f90=gfortran&amp;nbsp; -Wall -m64&amp;nbsp; -DMPI_KIND_=4 source/common/pmatgeninc.f -c -o _results/gnu_intelmpi_lp64_intel64_lib_parallel/pmatgeninc.o&lt;BR /&gt;
	source/common/pmatgeninc.f:244.33:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; REAL FUNCTION PSRAND( IDUMM )&lt;BR /&gt;
	&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;BR /&gt;
	Warning: Unused dummy argument 'idumm' at (1)&lt;BR /&gt;
	source/common/pmatgeninc.f:292.45:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DOUBLE PRECISION FUNCTION PDRAND( IDUMM )&lt;BR /&gt;
	&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;&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; 1&lt;BR /&gt;
	Warning: Unused dummy argument 'idumm' at (1)&lt;BR /&gt;
	mpif90 -f90=gfortran&amp;nbsp; -Wall -m64&amp;nbsp; -DMPI_KIND_=4 source/common/average_time.f -c -o _results/gnu_intelmpi_lp64_intel64_lib_parallel/average_time.o&lt;BR /&gt;
	source/common/average_time.f:53.46:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUBROUTINE SORT_ARRAY( ARRAY, DIM, ORDER )&lt;BR /&gt;
	&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;&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; 1&lt;BR /&gt;
	Warning: Unused dummy argument 'order' at (1)&lt;BR /&gt;
	mpif90 -f90=gfortran&amp;nbsp; -Wall -m64&amp;nbsp; -DMPI_KIND_=4 source/pdgetrfx.f -c -o _results/gnu_intelmpi_lp64_intel64_lib_parallel/pdgetrfx.o&lt;BR /&gt;
	mpif90 -f90=gfortran&amp;nbsp; -Wall -m64&amp;nbsp; -DMPI_KIND_=4 _results/gnu_intelmpi_lp64_intel64_lib_parallel/pdgetrfx.o _results/gnu_intelmpi_lp64_intel64_lib_parallel/pcmatgen.o _results/gnu_intelmpi_lp64_intel64_lib_parallel/pdmatgen.o _results/gnu_intelmpi_lp64_intel64_lib_parallel/psmatgen.o _results/gnu_intelmpi_lp64_intel64_lib_parallel/pzmatgen.o _results/gnu_intelmpi_lp64_intel64_lib_parallel/pmatgeninc.o _results/gnu_intelmpi_lp64_intel64_lib_parallel/average_time.o -o _results/gnu_intelmpi_lp64_intel64_lib_parallel/pdgetrfx.exe -L"../../lib/intel64" -Wl,--start-group "../../lib/intel64"/libmkl_scalapack_lp64.a "../../lib/intel64"/libmkl_gf_lp64.a "../../lib/intel64"/libmkl_gnu_thread.a "../../lib/intel64"/libmkl_core.a "../../lib/intel64"/libmkl_blacs_intelmpi_lp64.a -Wl,--end-group -fopenmp -Wl,--whole-archive -lpthread -Wl,--no-whole-archive -mt_mpi -ldl -lm&lt;BR /&gt;
	&lt;STRONG&gt;mpiexec -n 4 /usr/bin/env LD_LIBRARY_PATH="../../lib/intel64":/opt/intel/compilers_and_libraries_2017.4.196/linux/mpi/intel64/lib:/opt/intel/compilers_and_libraries_2017.4.196/linux/mpi/mic/lib:"../../../compiler/lib/intel64" _results/gnu_intelmpi_lp64_intel64_lib_parallel/pdgetrfx.exe in/pdgetrfx.in &lt;/STRONG&gt;_results/gnu_intelmpi_lp64_intel64_lib_parallel/pdgetrfx.res&lt;BR /&gt;
	STOP 0&lt;BR /&gt;
	STOP 0&lt;BR /&gt;
	STOP 0&lt;BR /&gt;
	STOP 0&lt;BR /&gt;
	rm _results/gnu_intelmpi_lp64_intel64_lib_parallel/*.o&lt;BR /&gt;
	make[1]: Leaving directory `/home/yhu5/mkl2018/mkl_nightly_2018u1_20170712/mkl_nightly_2018u1_20170712/__release_lnx/mkl/examples/scalapackf'&lt;BR /&gt;
	[yhu5@hsw-ep01 scalapackf]$&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2018 01:28:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-SCALAPACK-example1-f-linking-problems/m-p/773633#M844</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2018-02-22T01:28:58Z</dc:date>
    </item>
  </channel>
</rss>

