<?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 James, in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958939#M3137</link>
    <description>&lt;P&gt;Hi James,&lt;/P&gt;

&lt;P&gt;Thanks for having a look.&lt;/P&gt;

&lt;P&gt;LD_LIBRARY_PATH = /opt/gridware/applications/PBS/mvapich2/lib:/opt/gridware/compilers/intel/icsxe/composer_xe_2013/lib/intel64:/opt/gridware/compilers/intel/icsxe/itac/8.1.0.024/intel64/slib:/opt/gridware/compilers/intel/icsxe/itac/8.1.0.024/intel64/lib:/opt/gridware/compilers/intel/icsxe/tbb/lib/intel64:/opt/gridware/compilers/intel/icsxe/ipp/lib/intel64:/opt/gridware/compilers/intel/icsxe/mkl/lib/intel64:/opt/gridware/compilers/intel/icsxe/impi/4.1.0.024/lib64:/opt/gridware/users/nag/lib64:/opt/gridware/users/nag/lib:/opt/pbs/default/lib/:/opt/gridware/lib64&lt;/P&gt;

&lt;P&gt;But that's just for runtime right?&lt;/P&gt;

&lt;P&gt;I should've mentioned this first, but the model I use makes use of C for a few routines (primarily the MPI stuff). My mpicc -show gives:&lt;/P&gt;

&lt;P&gt;gcc -ldl -I/opt/gridware/compilers/intel/icsxe/impi/4.1.0.024/intel64/include -L/opt/gridware/compilers/intel/icsxe/impi/4.1.0.024/intel64/lib -Xlinker --enable-new-dtags -Xlinker -rpath -Xlinker /opt/gridware/compilers/intel/icsxe/impi/4.1.0.024/intel64/lib -Xlinker -rpath -Xlinker /opt/intel/mpi-rt/4.1 -lmpi -lmpigf -lmpigi -lrt -lpthread&lt;/P&gt;

&lt;P&gt;And in that makefile I've used:&lt;/P&gt;

&lt;P&gt;LIB = -L$(MPI_INST)/lib64 -lmpich -lrt -lmpi_mt&lt;/P&gt;

&lt;P&gt;CFLAGS = -O2 -mcmodel=medium -I $(INC)&lt;/P&gt;

&lt;P&gt;I've noticed that -lmpi_mt is only used in the final linking process.&lt;/P&gt;

&lt;P&gt;Is there an -mt_mpi option for gcc?&lt;/P&gt;

&lt;P&gt;I've tried to attach the log of the make here but I think my java is too old.&lt;/P&gt;

&lt;P&gt;Can I mail it somewhere?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jan 2014 08:13:35 GMT</pubDate>
    <dc:creator>tanksnr</dc:creator>
    <dc:date>2014-01-13T08:13:35Z</dc:date>
    <item>
      <title>Compilation errors: libmpi_mt.so and libmpi.so.4  mismatch</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958934#M3132</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;the MPI compilation of my code results in the following error:&lt;/P&gt;

&lt;P&gt;ld: MPIR_Thread: TLS definition in /opt/apps/intel13/impi/4.1.0.030/intel64/lib/libmpi_mt.so section .tbss mismatches non-TLS definition in /opt/apps/intel13/impi/4.1.0.030/intel64/lib/libmpi.so.4 section .bss&lt;/P&gt;

&lt;P&gt;/opt/apps/intel13/impi/4.1.0.030/intel64/lib/libmpi.so.4: could not read symbols: Bad value&lt;/P&gt;

&lt;P&gt;I have sent the systems admin. several e-mails but he just can't seem to figure it out. Any help on how to fix this problem would be appreciated.&lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2013 22:59:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958934#M3132</guid>
      <dc:creator>ffgarcia</dc:creator>
      <dc:date>2013-05-11T22:59:44Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958935#M3133</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;How are you compiling and linking?&amp;nbsp; At a guess, it looks like you are mixing the standard and&amp;nbsp;thread-safe MPI libraries.&amp;nbsp; If you are using the compiler scripts, look for -mt_mpi, -openmp, -parallel, -threads, -reentrancy, or -reentrancy threaded.&amp;nbsp; Any of these options will link to the thread-safe library (libmpi_mt).&amp;nbsp; If you are using them, make certain that they are used on all compliation and linking commands.&amp;nbsp; If you are using one of the flags other than -mt_mpi and want to restrict it to only the necessary routines, then adding -mt_mpi to others should be sufficient.&lt;/P&gt;
&lt;P&gt;Sincerely,&lt;BR /&gt; James Tullos&lt;BR /&gt; Technical Consulting Engineer&lt;BR /&gt; Intel® Cluster Tools&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2013 14:09:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958935#M3133</guid>
      <dc:creator>James_T_Intel</dc:creator>
      <dc:date>2013-05-14T14:09:20Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958936#M3134</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Hope you all don't mind me resurrecting this one.&lt;/P&gt;

&lt;P&gt;But I have the exact same, or at least similar, error.&lt;/P&gt;

&lt;P&gt;ld: MPIR_Thread: TLS definition in /opt/gridware/c8000/intel/impi/4.1.0.024/lib64/libmpi_mt.so section .tbss mismatches non-TLS definition in /opt/gridware/c8000/intel/impi/4.1.0.024/lib64/libmpich.so section .bss&lt;BR /&gt;
	/opt/gridware/c8000/intel/impi/4.1.0.024/lib64/libmpi_mt.so: could not read symbols: Bad value&lt;/P&gt;

&lt;P&gt;I'm using -openmp with ifort, and it appears at all compilation and linking commands.&lt;/P&gt;

&lt;P&gt;I've since also added -mt_mpi, as well as "-L&amp;lt;mpi_install&amp;gt; -lmpi_mt".&lt;/P&gt;

&lt;P&gt;I still get the error.&lt;/P&gt;

&lt;P&gt;Here is a shortened version of my final compiler command:&lt;/P&gt;

&lt;P&gt;mpiifort -o &amp;lt;executable&amp;gt; -I./Includes -I/opt/gridware/c8000/intel/impi/4.1.0.024/include64 -openmp -mt_mpi -mcmodel=medium -O2 -mieee-fp -align dcommons -extend_source -convert big_endian&amp;nbsp; &amp;lt;many objects&amp;gt; -L/opt/gridware/c8000/intel/impi/4.1.0.024/lib64 -lmpich -lrt -lpthread -libverbs -libumad -lmpi_mt -L/opt/gridware/lib64 -libcommon&lt;/P&gt;

&lt;P&gt;and mpiifort -show =&lt;/P&gt;

&lt;P&gt;ifort -ldl -I/opt/gridware/compilers/intel/icsxe/impi/4.1.0.024/intel64/include -I/opt/gridware/compilers/intel/icsxe/impi/4.1.0.024/intel64/include -L/opt/gridware/compilers/intel/icsxe/impi/4.1.0.024/intel64/lib -Xlinker --enable-new-dtags -Xlinker -rpath -Xlinker /opt/gridware/compilers/intel/icsxe/impi/4.1.0.024/intel64/lib -Xlinker -rpath -Xlinker /opt/intel/mpi-rt/4.1 -lmpi -lmpigf -lmpigi -lrt -lpthread&lt;/P&gt;

&lt;P&gt;Anybody have any ideas?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2014 09:23:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958936#M3134</guid>
      <dc:creator>tanksnr</dc:creator>
      <dc:date>2014-01-10T09:23:58Z</dc:date>
    </item>
    <item>
      <title>What is your LD_LIBRARY_PATH?</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958937#M3135</link>
      <description>&lt;P&gt;What is your LD_LIBRARY_PATH?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2014 17:04:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958937#M3135</guid>
      <dc:creator>James_T_Intel</dc:creator>
      <dc:date>2014-01-10T17:04:02Z</dc:date>
    </item>
    <item>
      <title>Also, make certain that any</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958938#M3136</link>
      <description>&lt;P&gt;Also, make certain that any other libraries using MPI are compiled with -mt_mpi.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2014 17:17:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958938#M3136</guid>
      <dc:creator>James_T_Intel</dc:creator>
      <dc:date>2014-01-10T17:17:49Z</dc:date>
    </item>
    <item>
      <title>Hi James,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958939#M3137</link>
      <description>&lt;P&gt;Hi James,&lt;/P&gt;

&lt;P&gt;Thanks for having a look.&lt;/P&gt;

&lt;P&gt;LD_LIBRARY_PATH = /opt/gridware/applications/PBS/mvapich2/lib:/opt/gridware/compilers/intel/icsxe/composer_xe_2013/lib/intel64:/opt/gridware/compilers/intel/icsxe/itac/8.1.0.024/intel64/slib:/opt/gridware/compilers/intel/icsxe/itac/8.1.0.024/intel64/lib:/opt/gridware/compilers/intel/icsxe/tbb/lib/intel64:/opt/gridware/compilers/intel/icsxe/ipp/lib/intel64:/opt/gridware/compilers/intel/icsxe/mkl/lib/intel64:/opt/gridware/compilers/intel/icsxe/impi/4.1.0.024/lib64:/opt/gridware/users/nag/lib64:/opt/gridware/users/nag/lib:/opt/pbs/default/lib/:/opt/gridware/lib64&lt;/P&gt;

&lt;P&gt;But that's just for runtime right?&lt;/P&gt;

&lt;P&gt;I should've mentioned this first, but the model I use makes use of C for a few routines (primarily the MPI stuff). My mpicc -show gives:&lt;/P&gt;

&lt;P&gt;gcc -ldl -I/opt/gridware/compilers/intel/icsxe/impi/4.1.0.024/intel64/include -L/opt/gridware/compilers/intel/icsxe/impi/4.1.0.024/intel64/lib -Xlinker --enable-new-dtags -Xlinker -rpath -Xlinker /opt/gridware/compilers/intel/icsxe/impi/4.1.0.024/intel64/lib -Xlinker -rpath -Xlinker /opt/intel/mpi-rt/4.1 -lmpi -lmpigf -lmpigi -lrt -lpthread&lt;/P&gt;

&lt;P&gt;And in that makefile I've used:&lt;/P&gt;

&lt;P&gt;LIB = -L$(MPI_INST)/lib64 -lmpich -lrt -lmpi_mt&lt;/P&gt;

&lt;P&gt;CFLAGS = -O2 -mcmodel=medium -I $(INC)&lt;/P&gt;

&lt;P&gt;I've noticed that -lmpi_mt is only used in the final linking process.&lt;/P&gt;

&lt;P&gt;Is there an -mt_mpi option for gcc?&lt;/P&gt;

&lt;P&gt;I've tried to attach the log of the make here but I think my java is too old.&lt;/P&gt;

&lt;P&gt;Can I mail it somewhere?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2014 08:13:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958939#M3137</guid>
      <dc:creator>tanksnr</dc:creator>
      <dc:date>2014-01-13T08:13:35Z</dc:date>
    </item>
    <item>
      <title>Ok I think I've managed to</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958940#M3138</link>
      <description>&lt;P&gt;Ok I think I've managed to attach it here.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2014 10:07:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958940#M3138</guid>
      <dc:creator>tanksnr</dc:creator>
      <dc:date>2014-01-13T10:07:33Z</dc:date>
    </item>
    <item>
      <title>It didn't attach, but I don't</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958941#M3139</link>
      <description>&lt;P&gt;It didn't attach, but I don't think that'll be necessary.&amp;nbsp; You can change -lmpi to -lmpi_mt in the compilation as well.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2014 19:30:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958941#M3139</guid>
      <dc:creator>James_T_Intel</dc:creator>
      <dc:date>2014-01-13T19:30:36Z</dc:date>
    </item>
    <item>
      <title>Hi James,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958942#M3140</link>
      <description>&lt;P&gt;Hi James,&lt;/P&gt;

&lt;P&gt;You mean change -lmpi to -lmpi_mt in my mpicc wrapper?&lt;/P&gt;

&lt;P&gt;So that mpicc -show will show a gcc compile command with -lmpi_mt INSTEAD of -lmpi?&lt;/P&gt;

&lt;P&gt;I didn't compile mpi for our cluster. How do I change what's given by the wrapper without recompiling?&lt;/P&gt;

&lt;P&gt;I guess instead of mpicc I could manually use gcc with all the necessary mpicc commands and there change -lmpi to -lmpi_mt.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2014 11:25:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958942#M3140</guid>
      <dc:creator>tanksnr</dc:creator>
      <dc:date>2014-01-21T11:25:25Z</dc:date>
    </item>
    <item>
      <title>Adding -lmpi_mt to each use</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958943#M3141</link>
      <description>&lt;P&gt;Adding -lmpi_mt to each use of mpicc should replace the default libmpi with libmpi_mt every time, as James suggested. &amp;nbsp;It won't change the showme result.&lt;/P&gt;

&lt;P&gt;You and your sysadmin don't have the option of rebuilding Intel MPI. &amp;nbsp;You could make your own copy of the python script in the Intel mpi installation and make a change there, but your sysadmin would be entirely justified in refusing to support you.&lt;/P&gt;

&lt;P&gt;If you have an installation of icc and mpiicc, do you have a reason for using gcc?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2014 14:22:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958943#M3141</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2014-01-21T14:22:00Z</dc:date>
    </item>
    <item>
      <title>Hi Tim,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958944#M3142</link>
      <description>&lt;P&gt;Hi Tim,&lt;/P&gt;

&lt;P&gt;My initial attempts (post #3 and #6) with adding -L&amp;lt;impi install&amp;gt;/lib64 -lmpi_mt to the ifort and gcc compiler commands did not solve the problem:&lt;/P&gt;

&lt;P&gt;ld: MPIR_Thread: TLS definition in /opt/gridware/compilers/intel/icsxe/impi/4.1.0.024/lib64/libmpi_mt.so section .tbss mismatches non-TLS definition in /opt/gridware/compilers/intel/icsxe/impi/4.1.0.024/lib64/libmpich.so section .bss&lt;BR /&gt;
	/opt/gridware/compilers/intel/icsxe/impi/4.1.0.024/lib64/libmpi_mt.so: could not read symbols: Bad value&lt;/P&gt;

&lt;P&gt;Note that this happens for the final linking phase using mpiifort. The mpicc compilation itself seems to go ok (i.e. no errors), although there is no linking done, just ar to create a library. Which is later on linked in the final mpiifort linking that's giving the problem.&lt;/P&gt;

&lt;P&gt;Indeed your solution should have worked, since you pointed out that it will replace (or supersede?) the -lmpi shown in the wrapper.&lt;/P&gt;

&lt;P&gt;Yes we do have icc on the cluster (13.0.1) but my code specifies gcc in the makefile. Shown below is the makefile for the C codes.&lt;/P&gt;

&lt;P&gt;SHELL=/bin/sh&lt;/P&gt;

&lt;P&gt;MPI_INST = /opt/gridware/compilers/intel/icsxe/impi/4.1.0.024&lt;/P&gt;

&lt;P&gt;LIBNAME = libparlib.a&lt;/P&gt;

&lt;P&gt;CC = $(MPI_INST)/bin64/mpicc&lt;/P&gt;

&lt;P&gt;LIB = $(MPI_INST)/lib64 -lmpich -lrt -lmpi_mt&lt;/P&gt;

&lt;P&gt;INC = $(MPI_INST)/include64&lt;/P&gt;

&lt;P&gt;####CFLAGS = -O2 -m32 -I $(INC)&lt;BR /&gt;
	CFLAGS = -O2 -mcmodel=medium -I$(INC) -L$(LIB)&lt;/P&gt;

&lt;P&gt;OBJS= par_assoc_buff.o&amp;nbsp; \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; par_send_noblock.o&amp;nbsp; \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; par_get_noblock.o&amp;nbsp; \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; par_wait.o&amp;nbsp;&amp;nbsp; \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; par_init_put.o \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; par_put_int.o&amp;nbsp; \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; par_get_int.o&amp;nbsp; \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; par_put_float.o&amp;nbsp; \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; par_get_float.o&lt;/P&gt;

&lt;P&gt;$(LIBNAME) : $(OBJS)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(CC) $(CFLAGS) -c $(?:.o=.c)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ar -rv $@ $?&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chmod 644 $@&lt;BR /&gt;
	clean:&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rm -rf *.o $(LIBNAME)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2014 10:56:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958944#M3142</guid>
      <dc:creator>tanksnr</dc:creator>
      <dc:date>2014-01-22T10:56:16Z</dc:date>
    </item>
    <item>
      <title>I don't know to what extent</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958945#M3143</link>
      <description>&lt;P&gt;I don't know to what extent anyone has been able to make a successful MPI application using the rudimentary MIC gcc, or if mpicc is even tested, as gcc isn't intended to support satisfactory performance. &amp;nbsp;For example, there is an intentionally non-working mpif90 there.&lt;/P&gt;

&lt;P&gt;Your attempt to use libmpi_mt implies that you are trying to make a threaded gcc application. &amp;nbsp;Were you able to do that in a simple case, not using MPI?&lt;/P&gt;

&lt;P&gt;If your point is that your icc is too old to have been tested with a current MIC MPSS, and you may as well use one untested tool as another, that may be true, but MIC programming is difficult enough using tested development tools.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2014 12:48:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958945#M3143</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2014-01-22T12:48:00Z</dc:date>
    </item>
    <item>
      <title>Why are you using -lmpich? </title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958946#M3144</link>
      <description>&lt;P&gt;Why are you using -lmpich?&amp;nbsp; This links to libmpi, not libmpi_mt.&amp;nbsp; Try removing that and see if it works.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2014 19:37:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958946#M3144</guid>
      <dc:creator>James_T_Intel</dc:creator>
      <dc:date>2014-01-22T19:37:39Z</dc:date>
    </item>
    <item>
      <title>Hi Tim and James,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958947#M3145</link>
      <description>&lt;P&gt;Hi Tim and James,&lt;/P&gt;

&lt;P&gt;Thanks for your help.&lt;/P&gt;

&lt;P&gt;I could make an omp and non-omp executable without MPI.&lt;/P&gt;

&lt;P&gt;I could also make a non-omp executable with MPI.&lt;/P&gt;

&lt;P&gt;It was just the omp + MPI I couldn't do.&lt;/P&gt;

&lt;P&gt;But James was correct in his last post. I just forgot to remove -lmpich :-&amp;gt;.&lt;/P&gt;

&lt;P&gt;Didn't even occur to me.&lt;/P&gt;

&lt;P&gt;So now I can make an omp + MPI executable!&lt;/P&gt;

&lt;P&gt;Edit: The reason for the old library linking in the makefile is that I'm using a relatively old version of a model, which used mpich2.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2014 08:21:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958947#M3145</guid>
      <dc:creator>tanksnr</dc:creator>
      <dc:date>2014-01-23T08:21:00Z</dc:date>
    </item>
    <item>
      <title>Great, I'm glad it's working</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958948#M3146</link>
      <description>&lt;P&gt;Great, I'm glad it's working now!&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2014 21:54:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Compilation-errors-libmpi-mt-so-and-libmpi-so-4-mismatch/m-p/958948#M3146</guid>
      <dc:creator>James_T_Intel</dc:creator>
      <dc:date>2014-01-31T21:54:57Z</dc:date>
    </item>
  </channel>
</rss>

