<?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: linking problem between gfortran and mkl10.2 in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/linking-problem-between-gfortran-and-mkl10-2/m-p/909469#M12017</link>
    <description>Sorry, that was my mistake.&lt;BR /&gt;&lt;BR /&gt;What I called "last stable version" of mkl is the "biggest" one available: 10.2. I did not downloaded any alpha or beta version, but I guess now that it is the 018 build (I can be mixing it up with with last comillers build, thow).&lt;BR /&gt;&lt;BR /&gt;Basically, you mean I should add the flags -fopenmp -liomp5 -lpthread to the linking stage, all together?&lt;BR /&gt;&lt;BR /&gt;Thanks a lot in advance, and sorry again for my "miswriting".&lt;BR /&gt;</description>
    <pubDate>Tue, 01 Apr 2008 17:03:23 GMT</pubDate>
    <dc:creator>johannesrs</dc:creator>
    <dc:date>2008-04-01T17:03:23Z</dc:date>
    <item>
      <title>linking problem between gfortran and mkl10.2</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/linking-problem-between-gfortran-and-mkl10-2/m-p/909467#M12015</link>
      <description>Hi all.&lt;BR /&gt;
&lt;BR /&gt;
I'm having a stupid problem in compiling gamess. Hope someone here can help me.&lt;BR /&gt;
&lt;BR /&gt;
We are using gfortran together with mkl library. Basically, the first option when considering linux64 and intel machines (in this case, our new cluster of core2quads).&lt;BR /&gt;
&lt;BR /&gt;
We are having problems in the linking stage, lked script. I get the following error messages:&lt;BR /&gt;
&lt;BR /&gt;
gfortran -o ../gamess.01.x gamess.o unport.o zunix.o aldeci.o algnci.o&lt;BR /&gt;
basccn.o basecp.o basext.o bashuz.o bashz2.o basn21.o basn31.o&lt;BR /&gt;
baspcn.o bassto.o ccaux.o ccddi.o ccqaux.o ccquad.o ccsdt.o cee&lt;BR /&gt;
is.o chgpen.o cisgrd.o cosmo.o cphf.o cpmchf.o cprohf.o ddilib.o&lt;BR /&gt;
delocl.o demrpt.o dft.o dftaux.o dftexc.o dftfun.o dftgrd.o dftint.o&lt;BR /&gt;
dgeev.o dgesvd.o dmulti.o drc.o ecp.o ecpder.o ecplib.o ecppot.&lt;BR /&gt;
o efchtr.o efdrvr.o efgrda.o efgrdb.o efgrdc.o efgrd2.o efinp.o&lt;BR /&gt;
efinta.o efintb.o efelec.o efpaul.o efpcm.o efpcov.o efpfmo.o eigen.o&lt;BR /&gt;
elglib.o elgloc.o elgscf.o eomcc.o ewald.o ffield.o fmo.o fmoes&lt;BR /&gt;
d.o fmogrd.o fmoint.o fmoio.o fmolib.o fmopbc.o fmoprp.o frfmt.o&lt;BR /&gt;
fsodci.o globop.o gradex.o guess.o grd1.o grd2a.o grd2b.o grd2c.o&lt;BR /&gt;
gugdga.o gugdgb.o gugdm.o gugdm2.o gugdrt.o gugem.o gugsrt.o gvb.o&lt;BR /&gt;
hess.o hss1a.o hss1b.o hss2a.o hss2b.o inputa.o inputb.o inputc.o&lt;BR /&gt;
int1.o int2a.o int2b.o int2c.o int2d.o int2f.o int2g.o int2r.o int2s.o&lt;BR /&gt;
int2t.o int2u.o int2v.o int2w.o int2x.o iolib.o ivocas.o la&lt;BR /&gt;
gran.o local.o loccd.o locpol.o mcpgrd.o mcpinp.o mcpint.o mcpl10.o&lt;BR /&gt;
mcpl20.o mcpl30.o mcpl40.o mcpl50.o mcpl60.o mcpl70.o mcpl80.o mccas.o&lt;BR /&gt;
mcjac.o mcqdpt.o mcqdwt.o mcqud.o mcscf.o mctwo.o mdefp.o&lt;BR /&gt;
mexing.o mm23.o mp2.o mp2ddi.o mp2grd.o mp2gr2.o mp2ims.o mpcdat.o&lt;BR /&gt;
mpcgrd.o mpcint.o mpcmol.o mpcmsc.o morokm.o mthlib.o nameio.o nmr.o&lt;BR /&gt;
ordint.o ormas1.o parley.o pcm.o pcmcav.o pcmcv2.o pcmder.o p&lt;BR /&gt;
cmdis.o pcmief.o pcmpol.o pcmvch.o prpel.o prplib.o prppop.o qeigen.o&lt;BR /&gt;
qfmm.o qmfm.o qrel.o raman.o rhfuhf.o rohfcc.o rxncrd.o ryspol.o&lt;BR /&gt;
scflib.o scfmi.o scrf.o sobrt.o soffac.o solib.o sozeff.o stat&lt;BR /&gt;
pt.o surf.o svpchg.o svpinp.o svpleb.o symorb.o symslc.o tddft.o&lt;BR /&gt;
tddefp.o tddfun.o tddfxc.o tddgrd.o tddint.o tdhf.o tdx.o tdxio.o&lt;BR /&gt;
tdxitr.o tdxni.o tdxprp.o trans.o trfdm2.o trnstn.o trudge.o umpdd&lt;BR /&gt;
i.o vibanl.o vscf.o vvos.o zapddi.o zheev.o zmatrx.o qmmm.o vbdum.o&lt;BR /&gt;
neostb.o ../ddi/libddi.a -lpthread -L/home/johannes/lib/mkl/lib&lt;DIV id="1g0k" class="ArwC7c ckChnd"&gt;/em64t -&lt;BR /&gt;
lmkl_em64t -lmkl_lapack -lmkl&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.a(dgemm_omp.o):&lt;BR /&gt;
In function `mkl_blas_dgemm':&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x6c): undefined reference to&lt;BR /&gt;
`__kmpc_global_thread_num'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x32c): undefined reference to&lt;BR /&gt;
`__kmpc_ok_to_fork'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x351): undefined reference to&lt;BR /&gt;
`__kmpc_push_num_threads'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x3c3): undefined reference to&lt;BR /&gt;
`__kmpc_fork_call'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x3dd): undefined reference to&lt;BR /&gt;
`__kmpc_serialized_parallel'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x44f): undefined reference to&lt;BR /&gt;
`__kmpc_end_serialized_parallel'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x53d): undefined reference to&lt;BR /&gt;
`__kmpc_ok_to_fork'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x562): undefined reference to&lt;BR /&gt;
`__kmpc_push_num_threads'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x656): undefined reference to&lt;BR /&gt;
`__kmpc_fork_call'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x670): undefined
 reference to&lt;BR /&gt;
`__kmpc_serialized_parallel'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x743): undefined reference to&lt;BR /&gt;
`__kmpc_end_serialized_parallel'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.a(dgemm_omp.o):&lt;BR /&gt;
In function `L_mkl_blas_dgemm_570__par_loop2':&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0xaec): undefined reference to&lt;BR /&gt;
`__kmpc_for_static_init_8'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0xd72): undefined reference to&lt;BR /&gt;
`__kmpc_for_static_fini'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.a(dgemm_omp.o):&lt;BR /&gt;
In function `L_mkl_blas_dgemm_557__par_loop1':&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0xf3d): undefined reference to&lt;BR /&gt;
`__kmpc_for_static_init_8'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x10ec): undefined reference to&lt;BR /&gt;
`__kmpc_for_static_fini'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.a(dgemm_omp.o):&lt;BR /&gt;
In function `L_mkl_blas_dgemm_601__par_loop3':&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x12f3): undefined reference to&lt;BR /&gt;
`__kmpc_for_static_init_8'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x152a): undefined reference to&lt;BR /&gt;
`__kmpc_for_static_fini'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.a(dgemm_omp.o):&lt;BR /&gt;
In function `L_mkl_blas_dgemm_467__par_loop0':&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x166b): undefined reference to&lt;BR /&gt;
`__kmpc_for_static_init_8'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x1776): undefined reference to&lt;BR /&gt;
`__kmpc_for_static_fini'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.a(dgemm_omp.o):&lt;BR /&gt;
In function `dgemm_1D':&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x1931): undefined reference to&lt;BR /&gt;
`__kmpc_global_thread_num'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x19ed): undefined reference to&lt;BR /&gt;
`__kmpc_ok_to_fork'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x1a12): undefined reference to&lt;BR /&gt;
`__kmpc_push_num_threads'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x1aca): undefined reference to&lt;BR /&gt;
`__kmpc_fork_call'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x1ae8): undefined reference to&lt;BR /&gt;
`__kmpc_serialized_parallel'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x1bd9): undefined reference to&lt;BR /&gt;
`__kmpc_end_serialized_parallel'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x1c2d): undefined reference to&lt;BR /&gt;
`__kmpc_ok_to_fork'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x1c52): undefined reference to&lt;BR /&gt;
`__kmpc_push_num_threads'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x1d46): undefined reference to&lt;BR /&gt;
`__kmpc_fork_call'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x1d60): undefined reference to&lt;BR /&gt;
`__kmpc_serialized_parallel'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x1e33): undefined reference to&lt;BR /&gt;
`__kmpc_end_serialized_parallel'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.a(dgemm_omp.o):&lt;BR /&gt;
In function `L_dgemm_1D_665__par_loop4':&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x2022): undefined reference to&lt;BR /&gt;
`__kmpc_for_static_init_8'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x21c8): undefined reference to&lt;BR /&gt;
`__kmpc_for_static_fini'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.a(dgemm_omp.o):&lt;BR /&gt;
In function `L_dgemm_1D_678__par_loop5':&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x23c9): undefined reference to&lt;BR /&gt;
`__kmpc_for_static_init_8'&lt;BR /&gt;
__tmp_dgemm_omp.c:(.text+0x257a): undefined reference to&lt;BR /&gt;
`__kmpc_for_static_fini'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.a(dtrmm_omp.o):&lt;BR /&gt;
In function `mkl_blas_dtrmm':&lt;BR /&gt;
__tmp_dtrmm_omp.c:(.text+0x68): undefined reference to&lt;BR /&gt;
`__kmpc_global_thread_num'&lt;BR /&gt;
__tmp_dtrmm_omp.c:(.text+0x1a4): undefined reference to&lt;BR /&gt;
`__kmpc_ok_to_fork'&lt;BR /&gt;
__tmp_dtrmm_omp.c:(.text+0x1c9): undefined reference to&lt;BR /&gt;
`__kmpc_push_num_threa
ds'&lt;BR /&gt;
__tmp_dtrmm_omp.c:(.text+0x280): undefined reference to&lt;BR /&gt;
`__kmpc_fork_call'&lt;BR /&gt;
__tmp_dtrmm_omp.c:(.text+0x29a): undefined reference to&lt;BR /&gt;
`__kmpc_serialized_parallel'&lt;BR /&gt;
__tmp_dtrmm_omp.c:(.text+0x33f): undefined reference to&lt;BR /&gt;
`__kmpc_end_serialized_parallel'&lt;BR /&gt;
__tmp_dtrmm_omp.c:(.text+0x352): undefined reference to&lt;BR /&gt;
`__kmpc_ok_to_fork'&lt;BR /&gt;
__tmp_dtrmm_omp.c:(.text+0x377): undefined reference to&lt;BR /&gt;
`__kmpc_push_num_threads'&lt;BR /&gt;
__tmp_dtrmm_omp.c:(.text+0x400): undefined reference to&lt;BR /&gt;
`__kmpc_fork_call'&lt;BR /&gt;
__tmp_dtrmm_omp.c:(.text+0x41e): undefined reference to&lt;BR /&gt;
`__kmpc_serialized_parallel'&lt;BR /&gt;
__tmp_dtrmm_omp.c:(.text+0x4d2): undefined reference to&lt;BR /&gt;
`__kmpc_end_serialized_parallel'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.a(dtrmm_omp.o):&lt;BR /&gt;
In function `L_mkl_blas_dtrmm_236__par_loop0':&lt;BR /&gt;
__tmp_dtrmm_omp.c:(.text+0x730): undefined reference to&lt;BR /&gt;
`__kmpc_for_static_init_8'&lt;BR /&gt;
__tmp_dtrmm_omp.c:(.text+0x897): undefined reference to&lt;BR /&gt;
`__kmpc_for_static_fini'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.a(dtrmm_omp.o):&lt;BR /&gt;
In function `L_mkl_blas_dtrmm_256__par_loop1':&lt;BR /&gt;
__tmp_dtrmm_omp.c:(.text+0xa36): undefined reference to&lt;BR /&gt;
`__kmpc_for_static_init_8'&lt;BR /&gt;
__tmp_dtrmm_omp.c:(.text+0xb97): undefined reference to&lt;BR /&gt;
`__kmpc_for_static_fini'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.a(dtrsm_omp.o):&lt;BR /&gt;
In function `mkl_blas_dtrsm':&lt;BR /&gt;
__tmp_dtrsm_omp.c:(.text+0x68): undefined reference to&lt;BR /&gt;
`__kmpc_global_thread_num'&lt;BR /&gt;
__tmp_dtrsm_omp.c:(.text+0x1a2): undefined reference to&lt;BR /&gt;
`__kmpc_ok_to_fork'&lt;BR /&gt;
__tmp_dtrsm_omp.c:(.text+0x1c7): undefined reference to&lt;BR /&gt;
`__kmpc_push_num_threads'&lt;BR /&gt;
__tmp_dtrsm_omp.c:(.text+0x27b): undefined reference to&lt;BR /&gt;
`__kmpc_fork_call'&lt;BR /&gt;
__tmp_dtrsm_omp.c:(.text+0x295): undefined reference to&lt;BR /&gt;
`__kmpc_serialized_parallel'&lt;BR /&gt;
__tmp_dtrsm_omp.c:(.text+0x337): undefined reference to&lt;BR /&gt;
`__kmpc_end_serialized_parallel'&lt;BR /&gt;
__tmp_dtrsm_omp.c:(.text+0x34a): undefined reference to&lt;BR /&gt;
`__kmpc_ok_to_fork'&lt;BR /&gt;
__tmp_dtrsm_omp.c:(.text+0x36f): undefined reference to&lt;BR /&gt;
`__kmpc_push_num_threads'&lt;BR /&gt;
__tmp_dtrsm_omp.c:(.text+0x3f5): undefined reference to&lt;BR /&gt;
`__kmpc_fork_call'&lt;BR /&gt;
__tmp_dtrsm_omp.c:(.text+0x413): undefined reference to&lt;BR /&gt;
`__kmpc_serialized_parallel'&lt;BR /&gt;
__tmp_dtrsm_omp.c:(.text+0x4c4): undefined reference to&lt;BR /&gt;
`__kmpc_end_serialized_parallel'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.a(dtrsm_omp.o):&lt;BR /&gt;
In function `L_mkl_blas_dtrsm_259__par_loop0':&lt;BR /&gt;
__tmp_dtrsm_omp.c:(.text+0x722): undefined reference to&lt;BR /&gt;
`__kmpc_for_static_init_8'&lt;BR /&gt;
__tmp_dtrsm_omp.c:(.text+0x88f): undefined reference to&lt;BR /&gt;
`__kmpc_for_static_fini'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.a(dtrsm_omp.o):&lt;BR /&gt;
In function `L_mkl_blas_dtrsm_276__par_loop1':&lt;BR /&gt;
__tmp_dtrsm_omp.c:(.text+0xa2e): undefined reference to&lt;BR /&gt;
`__kmpc_for_static_init_8'&lt;BR /&gt;
__tmp_dtrsm_omp.c:(.text+0xb8f): undefined reference to&lt;BR /&gt;
`__kmpc_for_static_fini'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/&lt;BR /&gt;
libmkl_intel_thread.a(mkl_threading.o): In function&lt;BR /&gt;
`MKL_Get_Max_Threads':&lt;BR /&gt;
__tmp_mkl_threading.c:(.text+0x55): undefined reference to&lt;BR /&gt;
`omp_in_parallel'&lt;BR /&gt;
__tmp_mkl_threading.c:(.text+0x77): undefined reference to&lt;BR /&gt;
`omp_get_max_threads'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/&lt;BR /&gt;
libmkl_intel_thread.a(mkl_threading.o): In function&lt;BR /&gt;
`M
KL_Domain_Get_Max_Threads':&lt;BR /&gt;
__tmp_mkl_threading.c:(.text+0x855): undefined reference to&lt;BR /&gt;
`omp_in_parallel'&lt;BR /&gt;
__tmp_mkl_threading.c:(.text+0x874): undefined reference to&lt;BR /&gt;
`omp_get_max_threads'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.so: undefined&lt;BR /&gt;
reference to `__kmpc_ordered'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.so: undefined&lt;BR /&gt;
reference to `omp_get_thread_num'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.so: undefined&lt;BR /&gt;
reference to `__kmpc_barrier'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.so: undefined&lt;BR /&gt;
reference to `omp_get_num_procs'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.so: undefined&lt;BR /&gt;
reference to `__kmpc_critical'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.so: undefined&lt;BR /&gt;
reference to `__kmpc_dispatch_fini_8'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.so: undefined&lt;BR /&gt;
reference to `__kmpc_end_critical'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.so: undefined&lt;BR /&gt;
reference to `__kmpc_dispatch_init_8'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.so: undefined&lt;BR /&gt;
reference to `__kmpc_for_static_init_4'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.so: undefined&lt;BR /&gt;
reference to `__kmpc_flush'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.so: undefined&lt;BR /&gt;
reference to `__kmpc_dispatch_next_8'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.so: undefined&lt;BR /&gt;
reference to `__kmpc_end_ordered'&lt;BR /&gt;
/home/johannes/lib/mkl/lib/em64t/libmkl_intel_thread.so: undefined&lt;BR /&gt;
reference to `__kmpc_atomic_fixed8_add'&lt;BR /&gt;
collect2: ld returned 1 exit status&lt;BR /&gt;
unset echo&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;IO found a few messages on this, but concerning pure use of intel compilers together with mkl. That would be an option, but not a good one, since would need to much hacking of the standard gamess scripts, which are all really long. :(&lt;BR /&gt;
&lt;BR /&gt;
I'm using the last stable versions of both mkl and gamess. Does anybody has any clue on this? Have anybody please gone throw such a problem?&lt;BR /&gt;
&lt;BR /&gt;
Thanks a lot to everybody in advance.&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Apr 2008 08:53:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/linking-problem-between-gfortran-and-mkl10-2/m-p/909467#M12015</guid>
      <dc:creator>johannesrs</dc:creator>
      <dc:date>2008-04-01T08:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: linking problem between gfortran and mkl10.2</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/linking-problem-between-gfortran-and-mkl10-2/m-p/909468#M12016</link>
      <description>That's a dig, if there ever was one, but how are we to know which MKL you consider the "last stable version?" It does look like some 10.0 version.&lt;BR /&gt;When you use mkl_thread, you must link one of the corresponding OpenMP run-time libraries (-lguide, or, if using gfortran -fopenmp, -liomp5), and -lpthread. I don't think the docs are so poor in this respect. &lt;BR /&gt;If you are running as a cluster application, you should check whether others have been successful running this as a hybrid MPI/OpenMP application, with the MPI of your choice. For example, Intel MPI only just last week introduced environment variable options for this purpose. There is a reasonable chance that plain MPI with 1 process per node, each process running mkl_thread, should work.&lt;BR /&gt;The other option is to use the non-threaded MKL link option (mkl_sequential instead of mkl_thread).&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Apr 2008 14:28:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/linking-problem-between-gfortran-and-mkl10-2/m-p/909468#M12016</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-04-01T14:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: linking problem between gfortran and mkl10.2</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/linking-problem-between-gfortran-and-mkl10-2/m-p/909469#M12017</link>
      <description>Sorry, that was my mistake.&lt;BR /&gt;&lt;BR /&gt;What I called "last stable version" of mkl is the "biggest" one available: 10.2. I did not downloaded any alpha or beta version, but I guess now that it is the 018 build (I can be mixing it up with with last comillers build, thow).&lt;BR /&gt;&lt;BR /&gt;Basically, you mean I should add the flags -fopenmp -liomp5 -lpthread to the linking stage, all together?&lt;BR /&gt;&lt;BR /&gt;Thanks a lot in advance, and sorry again for my "miswriting".&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Apr 2008 17:03:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/linking-problem-between-gfortran-and-mkl10-2/m-p/909469#M12017</guid>
      <dc:creator>johannesrs</dc:creator>
      <dc:date>2008-04-01T17:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: linking problem between gfortran and mkl10.2</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/linking-problem-between-gfortran-and-mkl10-2/m-p/909470#M12018</link>
      <description>If you have gfortran 4.2 or later (so as to support -fopenmp), -fopenmp includes -lpthread automatically. It might work without -liomp5, but -liomp5 will perform better than -lgomp, which -liomp5 replaces. If you don't use -fopenmp, either -lguide -lpthread or -liomp5 -lpthread should work.&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Apr 2008 18:02:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/linking-problem-between-gfortran-and-mkl10-2/m-p/909470#M12018</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-04-01T18:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: linking problem between gfortran and mkl10.2</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/linking-problem-between-gfortran-and-mkl10-2/m-p/909471#M12019</link>
      <description>everybody know, you are right, the last tricks worked and it compiled perfectly! Thanks a lot!&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Apr 2008 05:01:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/linking-problem-between-gfortran-and-mkl10-2/m-p/909471#M12019</guid>
      <dc:creator>johannesrs</dc:creator>
      <dc:date>2008-04-02T05:01:40Z</dc:date>
    </item>
  </channel>
</rss>

