<?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 Thanks. Boost could be a in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/compiling-problem-libmpi-mt-so-vs-libmpi-so/m-p/967095#M3252</link>
    <description>&lt;P&gt;Thanks. Boost could be a little tricky, I will rebuild it with:&lt;/P&gt;

&lt;P&gt;using mpi : /app/intel/impi/4.1.3.048/bin64/mpiicpc : &amp;lt;cxxflags&amp;gt;-lmpi_mt &amp;lt;linkflags&amp;gt;-lmpi_mt ;&lt;/P&gt;

&lt;P&gt;If you have experience on building boost with -mt_mpi please advise, thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 31 Mar 2014 21:23:55 GMT</pubDate>
    <dc:creator>Beichuan_Y_</dc:creator>
    <dc:date>2014-03-31T21:23:55Z</dc:date>
    <item>
      <title>compiling problem: libmpi_mt.so vs libmpi.so</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/compiling-problem-libmpi-mt-so-vs-libmpi-so/m-p/967088#M3245</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;1. My hybrid mpi/openmpi code compiled with intelmpi-4.1.3.048 and intel-compilers-13.0.1 gives the following errors:&lt;/P&gt;

&lt;P&gt;mpiicpc -o paraEllip3d -O3 -DNDEBUG -openmp -mt_mpi&amp;nbsp; Assembly.o Boundary.o Contact.o Cylinder.o Fluid.o Parameter.o Particle.o Rectangle.o Spring.o Vec.o balanc.o const.o hqr.o main.o nrutil.o ran.o realtypes.o root6.o zrhqr.o -I/work4/projects/openmpi/boost-1.53.0-intelmpi-4.1.3.048-intel-compilers-13.0.1/include -L/work4/projects/openmpi/boost-1.53.0-intelmpi-4.1.3.048-intel-compilers-13.0.1/lib -lboost_mpi -lboost_serialization -lboost_timer -Wl,-rpath=/work4/projects/openmpi/boost-1.53.0-intelmpi-4.1.3.048-intel-compilers-13.0.1/lib&lt;/P&gt;

&lt;P&gt;ld: MPIR_Thread: TLS definition in /apps/intel/impi/4.1.3.048/intel64/lib/libmpi_mt.so section .tbss mismatches non-TLS definition in /apps/intel/impi/4.1.3.048/intel64/lib/libmpi.so.4 section .bss&lt;BR /&gt;
	/apps/intel/impi/4.1.3.048/intel64/lib/libmpi.so.4: could not read symbols: Bad value&lt;BR /&gt;
	make: *** [paraEllip3d] Error 1&lt;/P&gt;

&lt;P&gt;2. However, it compiles and runs well with intelmpi/4.0.3.008 and intel-compilers/12.1.0. So I am wondering if there is anything wrong with intelmpi-4.1.3.048 and intel-compilers-13.0.1.&lt;/P&gt;

&lt;P&gt;Note that "-openmp -mt_mpi" option is used for both cases.&lt;/P&gt;

&lt;P&gt;3. FYI, my code uses C++ boost.mpi libraries, which are compiled well with both intelmpi/4.0.3.008 and intel-compilers/12.1.0, and intelmpi-4.1.3.048 and intel-compilers-13.0.1, so I don't think boost.mpi causes this problem.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Beichuan Yan&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2014 20:08:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/compiling-problem-libmpi-mt-so-vs-libmpi-so/m-p/967088#M3245</guid>
      <dc:creator>Beichuan_Y_</dc:creator>
      <dc:date>2014-03-31T20:08:22Z</dc:date>
    </item>
    <item>
      <title>mpiicpc -show:</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/compiling-problem-libmpi-mt-so-vs-libmpi-so/m-p/967089#M3246</link>
      <description>&lt;P&gt;mpiicpc -show:&lt;/P&gt;

&lt;P&gt;icpc -I/apps/intel/impi/4.1.3.048/intel64/include -L/apps/intel/impi/4.1.3.048/intel64/lib -Xlinker --enable-new-dtags -Xlinker -rpath -Xlinker /apps/intel/impi/4.1.3.048/intel64/lib -Xlinker -rpath -Xlinker /opt/intel/mpi-rt/4.1 -lmpigc4 -lmpigf -lmpi -lmpigi -ldl -lrt -lpthread&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2014 20:40:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/compiling-problem-libmpi-mt-so-vs-libmpi-so/m-p/967089#M3246</guid>
      <dc:creator>Beichuan_Y_</dc:creator>
      <dc:date>2014-03-31T20:40:36Z</dc:date>
    </item>
    <item>
      <title>Hi Beichuan,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/compiling-problem-libmpi-mt-so-vs-libmpi-so/m-p/967090#M3247</link>
      <description>&lt;P&gt;Hi Beichuan,&lt;/P&gt;

&lt;P&gt;When you compiled the Boost MPI libraries, did you compile with -mt_mpi? &amp;nbsp;Somewhere in your compilation, you are pulling in the single-threaded MPI library, which is conflicting with the multi-threaded library. &amp;nbsp;Try adding -show to the full link command (and the compile steps) and see if that shows where the incompatible library is pulled in.&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>Mon, 31 Mar 2014 20:51:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/compiling-problem-libmpi-mt-so-vs-libmpi-so/m-p/967090#M3247</guid>
      <dc:creator>James_T_Intel</dc:creator>
      <dc:date>2014-03-31T20:51:42Z</dc:date>
    </item>
    <item>
      <title>James,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/compiling-problem-libmpi-mt-so-vs-libmpi-so/m-p/967091#M3248</link>
      <description>&lt;P&gt;James,&lt;/P&gt;

&lt;P&gt;Thanks. Look at the mpiicpc -show:&lt;/P&gt;

&lt;DIV class="field field-name-comment-body field-type-text-long field-label-hidden"&gt;
	&lt;DIV class="field-items"&gt;
		&lt;DIV class="field-item even"&gt;
			&lt;P&gt;icpc -I/apps/intel/impi/4.1.3.048/intel64/include -L/apps/intel/impi/4.1.3.048/intel64/lib -Xlinker --enable-new-dtags -Xlinker -rpath -Xlinker /apps/intel/impi/4.1.3.048/intel64/lib -Xlinker -rpath -Xlinker /opt/intel/mpi-rt/4.1 -lmpigc4 -lmpigf -lmpi -lmpigi -ldl -lrt -lpthread&lt;/P&gt;

			&lt;P&gt;How to make this mpiicpc use -lmpi_mt instead of -lmpi? should the sysadmin rebuild intel mpi with a smart choice between libmpi and libmpi_mt?&lt;/P&gt;

			&lt;P&gt;FYI, this issue causes problem on HDF5: in &lt;A href="http://www.prace-project.eu/IMG/pdf/d7.2.2.pdf"&gt;http://www.prace-project.eu/IMG/pdf/d7.2.2.pdf&lt;/A&gt; , which says:&lt;BR /&gt;
				&lt;BR /&gt;
				The parallel HDF5 library is usually linked with the MPI-compiler wrappers which, for Intel MPI leads to a dependency on the plain MPI runtime library (libmpi), or on its multithreaded version (libmpi_mt). Starting with version 4.1.0 of the Intel MPI library, this causes a conflict when trying to link a multithreaded code with the plain-MPI variant of the HDF5 library, or vice versa. Together with Intel, RZG has worked out a patch for the HDF5 installation procedure which simply accounts for using the plain linker (instead of the MPI wrapper) for building HDF5. This makes a single HDF5 installation compatible with both, plain MPI and hybrid (MPI + threads) codes.&lt;/P&gt;

			&lt;P&gt;Thanks,&lt;/P&gt;

			&lt;P&gt;Beichuan&lt;/P&gt;

			&lt;P&gt;&amp;nbsp;&lt;/P&gt;

			&lt;P&gt;&amp;nbsp;&lt;/P&gt;
		&lt;/DIV&gt;
	&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 31 Mar 2014 21:02:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/compiling-problem-libmpi-mt-so-vs-libmpi-so/m-p/967091#M3248</guid>
      <dc:creator>Beichuan_Y_</dc:creator>
      <dc:date>2014-03-31T21:02:55Z</dc:date>
    </item>
    <item>
      <title>If you just use mpiicpc -show</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/compiling-problem-libmpi-mt-so-vs-libmpi-so/m-p/967092#M3249</link>
      <description>&lt;P&gt;If you just use mpiicpc -show, there is nothing indicating that mpi_mt should be linked. &amp;nbsp;Instead, add -show to the full link command, where you have -mpi_mt. &amp;nbsp;This will add libmpi_mt to the link command.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2014 21:05:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/compiling-problem-libmpi-mt-so-vs-libmpi-so/m-p/967092#M3249</guid>
      <dc:creator>James_T_Intel</dc:creator>
      <dc:date>2014-03-31T21:05:18Z</dc:date>
    </item>
    <item>
      <title>Thanks. I am a little</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/compiling-problem-libmpi-mt-so-vs-libmpi-so/m-p/967093#M3250</link>
      <description>&lt;P&gt;Thanks. I am a little confused by how to add -show to full link command, can you please look at my makefile, and should I do &amp;nbsp;MPICXX = mpiicpc -show instead?&lt;/P&gt;

&lt;P&gt;#########################################################&lt;BR /&gt;
	###&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Part A: change with your environment&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ###&lt;BR /&gt;
	#########################################################&lt;BR /&gt;
	###1. system platform&lt;BR /&gt;
	PLATFORM = supercomputer&lt;BR /&gt;
	#PLATFORM = workstation&lt;/P&gt;

&lt;P&gt;###2. compilers package&lt;BR /&gt;
	#COMPILERS = gcc&lt;BR /&gt;
	COMPILERS = intel&lt;/P&gt;

&lt;P&gt;###3. boost location&lt;BR /&gt;
	ifeq ($(PLATFORM), supercomputer)&lt;BR /&gt;
	&amp;nbsp;ifeq ($(COMPILERS), gcc)&lt;BR /&gt;
	&amp;nbsp; BOOST_ROOT = /work4/projects/openmpi/boost-1.53.0-openmpi-1.7.5-gcc-compilers-4.7.3&lt;BR /&gt;
	&amp;nbsp;endif&lt;BR /&gt;
	&amp;nbsp;ifeq ($(COMPILERS), intel)&lt;BR /&gt;
	&amp;nbsp; #BOOST_ROOT = /work4/projects/openmpi/boost-1.53.0-intelmpi-4.0.3.008&lt;BR /&gt;
	&amp;nbsp; BOOST_ROOT = /work4/projects/openmpi/boost-1.55.0-intelmpi-4.1.3.048-intel-compilers-13.0.1&lt;BR /&gt;
	&amp;nbsp;endif&lt;BR /&gt;
	endif&lt;/P&gt;

&lt;P&gt;ifeq ($(PLATFORM), workstation)&lt;BR /&gt;
	&amp;nbsp;BOOST_ROOT = /usr/local/boost-1.53.0-openmpi-1.6.4-gcc-4.6.4&lt;BR /&gt;
	&amp;nbsp;#BOOST_ROOT = default&lt;BR /&gt;
	endif&lt;/P&gt;

&lt;P&gt;#########################################################&lt;BR /&gt;
	###&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Part B: usually do not need change&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ###&lt;BR /&gt;
	#########################################################&lt;BR /&gt;
	###1. MPICXX, OPENMPI and OPTIMIZE&lt;BR /&gt;
	# C++ compiler&lt;BR /&gt;
	ifeq ($(COMPILERS), gcc)&lt;BR /&gt;
	&amp;nbsp;MPICXX = mpic++&lt;BR /&gt;
	endif&lt;/P&gt;

&lt;P&gt;ifeq ($(COMPILERS), intel)&lt;BR /&gt;
	&amp;nbsp;MPICXX = mpiicpc&lt;BR /&gt;
	endif&lt;/P&gt;

&lt;P&gt;# OpenMP&lt;BR /&gt;
	ifeq ($(COMPILERS), gcc)&lt;BR /&gt;
	&amp;nbsp;OPENMP = -fopenmp&lt;BR /&gt;
	endif&lt;/P&gt;

&lt;P&gt;ifeq ($(COMPILERS), intel)&lt;BR /&gt;
	&amp;nbsp;OPENMP = -openmp -mt_mpi&lt;BR /&gt;
	endif&lt;/P&gt;

&lt;P&gt;# optimize or debug&lt;BR /&gt;
	ifeq ($(COMPILERS), gcc)&lt;BR /&gt;
	&amp;nbsp;#full level of IEEE 754 compliance&lt;BR /&gt;
	&amp;nbsp;#OPTIMIZE = -O3 -DNDEBUG -frounding-math -fsignaling-nans&lt;BR /&gt;
	&amp;nbsp;OPTIMIZE = -O3 -DNDEBUG&lt;BR /&gt;
	endif&lt;BR /&gt;
	ifeq ($(COMPILERS), intel)&lt;BR /&gt;
	&amp;nbsp;#-fp-model source also implies keyword precise; and it is nearly as twice slow as default -fp-model fast=1&lt;BR /&gt;
	&amp;nbsp;#OPTIMIZE = -O3 -DNDEBUG -fp-model source&lt;BR /&gt;
	&amp;nbsp;OPTIMIZE = -O3 -DNDEBUG&lt;BR /&gt;
	endif&lt;BR /&gt;
	#OPTIMIZE = -Wall -g&lt;/P&gt;

&lt;P&gt;# GCC quadmath, default off&lt;BR /&gt;
	#QUADMATH = -DQUADMATH -L/usr/local/gcc-4.6.2/lib64 -lquadmath&lt;/P&gt;

&lt;P&gt;# CXXFLAGS&lt;BR /&gt;
	CXXFLAGS = $(OPTIMIZE) $(OPENMP) $(QUADMATH)&lt;/P&gt;

&lt;P&gt;###2. BOOST details&lt;BR /&gt;
	ifeq ($(PLATFORM), supercomputer)&lt;BR /&gt;
	&amp;nbsp;BOOST_INCLUDE=-I$(BOOST_ROOT)/include&lt;BR /&gt;
	&amp;nbsp;BOOST_LIB_DIR=-L$(BOOST_ROOT)/lib&lt;BR /&gt;
	&amp;nbsp;BOOST_LIBS=-lboost_mpi -lboost_serialization -lboost_timer&lt;BR /&gt;
	&amp;nbsp;BOOST_RUN_LIB_DIR=-Wl,-rpath=$(BOOST_ROOT)/lib&lt;BR /&gt;
	endif&lt;/P&gt;

&lt;P&gt;ifeq ($(PLATFORM), workstation)&lt;BR /&gt;
	&amp;nbsp; ifeq ($(BOOST_ROOT), default)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; BOOST_LIB_DIR=-L/usr/lib64/openmpi/lib:/usr/lib64/compat-openmpi/lib:/usr/lib64&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; BOOST_LIBS=-lboost_mpi -lboost_serialization -lboost_timer&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; BOOST_RUN_LIB_DIR=-Wl,-rpath=/usr/lib64/openmpi/lib:/usr/lib64/compat-openmpi/lib:/usr/lib64&lt;BR /&gt;
	&amp;nbsp; else&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; BOOST_INCLUDE=-I$(BOOST_ROOT)/include&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; BOOST_LIB_DIR=-L$(BOOST_ROOT)/lib&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; BOOST_LIBS=-lboost_mpi -lboost_serialization -lboost_timer&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; BOOST_RUN_LIB_DIR=-Wl,-rpath=$(BOOST_ROOT)/lib&lt;BR /&gt;
	&amp;nbsp; endif&lt;BR /&gt;
	endif&lt;/P&gt;

&lt;P&gt;INCLUDE=$(BOOST_INCLUDE)&lt;BR /&gt;
	LIB_DIR=$(BOOST_LIB_DIR)&lt;BR /&gt;
	LIBS=$(BOOST_LIBS)&lt;BR /&gt;
	RUN_LIB_DIR=$(BOOST_RUN_LIB_DIR)&lt;/P&gt;

&lt;P&gt;###3. makefile&lt;BR /&gt;
	SOURCES = $(wildcard *.cpp)&lt;BR /&gt;
	OBJECTS = $(SOURCES:.cpp=.o)&lt;BR /&gt;
	#OBJECTS = $(patsubst %.cpp, %.o, $(SOURCES))&lt;BR /&gt;
	EXECUTABLE = paraEllip3d&lt;/P&gt;

&lt;P&gt;.PHONY: all tar clean&lt;/P&gt;

&lt;P&gt;all: $(EXECUTABLE)&lt;/P&gt;

&lt;P&gt;$(EXECUTABLE): $(OBJECTS)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(MPICXX) -o $@ $(CXXFLAGS) $(OBJECTS) $(INCLUDE) $(LIB_DIR) $(LIBS) $(RUN_LIB_DIR)&lt;/P&gt;

&lt;P&gt;%.o: %.cpp&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(MPICXX) -c $&amp;lt; -o $@ $(CXXFLAGS) $(INCLUDE) $(LIB_DIR) $(LIBS)&lt;/P&gt;

&lt;P&gt;sinclude $(SOURCES:.cpp=.d)&lt;/P&gt;

&lt;P&gt;%.d: %.cpp&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(MPICXX) -MM $&amp;lt; &amp;gt; $@.$$$$; \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' &amp;lt; $@.$$$$ &amp;gt; $@; \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rm -f $@.$$$$&lt;/P&gt;

&lt;P&gt;tar:&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tar -cvf $(EXECUTABLE).tar *.h *.cpp makefile* readme&lt;/P&gt;

&lt;P&gt;clean:&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -rm -f *.o *.d&amp;nbsp; *~ *.tar $(EXECUTABLE)&lt;/P&gt;

&lt;P&gt;# sinclude is always resolved even if make tar/clean&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2014 21:10:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/compiling-problem-libmpi-mt-so-vs-libmpi-so/m-p/967093#M3250</guid>
      <dc:creator>Beichuan_Y_</dc:creator>
      <dc:date>2014-03-31T21:10:12Z</dc:date>
    </item>
    <item>
      <title>The easiest would be to add</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/compiling-problem-libmpi-mt-so-vs-libmpi-so/m-p/967094#M3251</link>
      <description>&lt;P&gt;The easiest would be to add it to CXXFLAGS. &amp;nbsp;Also, when you compiled the Boost* libraries, did you use -mt_mpi here?&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2014 21:20:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/compiling-problem-libmpi-mt-so-vs-libmpi-so/m-p/967094#M3251</guid>
      <dc:creator>James_T_Intel</dc:creator>
      <dc:date>2014-03-31T21:20:08Z</dc:date>
    </item>
    <item>
      <title>Thanks. Boost could be a</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/compiling-problem-libmpi-mt-so-vs-libmpi-so/m-p/967095#M3252</link>
      <description>&lt;P&gt;Thanks. Boost could be a little tricky, I will rebuild it with:&lt;/P&gt;

&lt;P&gt;using mpi : /app/intel/impi/4.1.3.048/bin64/mpiicpc : &amp;lt;cxxflags&amp;gt;-lmpi_mt &amp;lt;linkflags&amp;gt;-lmpi_mt ;&lt;/P&gt;

&lt;P&gt;If you have experience on building boost with -mt_mpi please advise, thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2014 21:23:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/compiling-problem-libmpi-mt-so-vs-libmpi-so/m-p/967095#M3252</guid>
      <dc:creator>Beichuan_Y_</dc:creator>
      <dc:date>2014-03-31T21:23:55Z</dc:date>
    </item>
    <item>
      <title>1. I rebuild boost-1.55.0</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/compiling-problem-libmpi-mt-so-vs-libmpi-so/m-p/967096#M3253</link>
      <description>&lt;P&gt;1. I rebuild boost-1.55.0 with the command: ./b2 toolset=intel cflags="-lmpi_mt" cxxflags="-lmpi_mt" linkflags="-lmpi_mt" install&lt;/P&gt;

&lt;P&gt;2. Then I compiled my code by adding "-show" to my CXXFLAGS, it just shows the following and does not compile:&lt;/P&gt;

&lt;P&gt;mpiicpc -o paraEllip3d -show -O3 -DNDEBUG -openmp -mt_mpi&amp;nbsp; Assembly.o Boundary.o Contact.o Cylinder.o Fluid.o Parameter.o Particle.o Rectangle.o Spring.o Vec.o balanc.o const.o hqr.o main.o nrutil.o ran.o realtypes.o root6.o zrhqr.o -I/work4/projects/openmpi/boost-1.55.0-intelmpi-4.1.3.048-intel-compilers-13.0.1/include -L/work4/projects/openmpi/boost-1.55.0-intelmpi-4.1.3.048-intel-compilers-13.0.1/lib -lboost_mpi -lboost_serialization -lboost_timer -Wl,-rpath=/work4/projects/openmpi/boost-1.55.0-intelmpi-4.1.3.048-intel-compilers-13.0.1/lib&lt;/P&gt;

&lt;P&gt;icpc -o paraEllip3d -O3 -DNDEBUG -openmp Assembly.o Boundary.o Contact.o Cylinder.o Fluid.o Parameter.o Particle.o Rectangle.o Spring.o Vec.o balanc.o const.o hqr.o main.o nrutil.o ran.o realtypes.o root6.o zrhqr.o -I/work4/projects/openmpi/boost-1.55.0-intelmpi-4.1.3.048-intel-compilers-13.0.1/include -L/work4/projects/openmpi/boost-1.55.0-intelmpi-4.1.3.048-intel-compilers-13.0.1/lib -lboost_mpi -lboost_serialization -lboost_timer -Wl,-rpath=/work4/projects/openmpi/boost-1.55.0-intelmpi-4.1.3.048-intel-compilers-13.0.1/lib -I/apps/intel/impi/4.1.3.048/intel64/include -L/apps/intel/impi/4.1.3.048/intel64/lib -Xlinker --enable-new-dtags -Xlinker -rpath -Xlinker /apps/intel/impi/4.1.3.048/intel64/lib -Xlinker -rpath -Xlinker /opt/intel/mpi-rt/4.1 -lmpigc4 -lmpigf -lmpi_mt -lmpigi -ldl -lrt -lpthread&lt;/P&gt;

&lt;P&gt;3. Then I removed "-show" and now it compiles.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Beichuan&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2014 23:14:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/compiling-problem-libmpi-mt-so-vs-libmpi-so/m-p/967096#M3253</guid>
      <dc:creator>Beichuan_Y_</dc:creator>
      <dc:date>2014-03-31T23:14:29Z</dc:date>
    </item>
  </channel>
</rss>

