[mvapich-discuss] (no subject)

Jonathan Perkins perkinjo at cse.ohio-state.edu
Fri Oct 9 15:12:58 EDT 2015


Hello Amit:
Registration cache depends on the ability for the MPI library to intercept
all the allocation and deallocation calls made by the application.  The
method used by MVAPICH2 is with the use of an embedded version of
PTMALLOC2.  This works in the general case however we found that in certain
cases such as using mpi4py that these calls are not being caught by the
MVAPICH2 library.

One such work around was to use LD_PRELOAD which forces the symbols of the
MVAPICH2 library to be used before any other matching symbols which enables
the library to work properly.

On Fri, Oct 9, 2015 at 3:09 PM Kumar, Amit <ahkumar at mail.smu.edu> wrote:

> --===============6114265560034953597==
> Content-Language: en-US
> Content-Type: multipart/alternative;
>
> boundary="_000_BB6BA2C397CCB140A2475E542B21644729D34824SXMB1PGSYSTEMSS_"
>
> --_000_BB6BA2C397CCB140A2475E542B21644729D34824SXMB1PGSYSTEMSS_
> Content-Type: text/plain; charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
>
> Dear MVAPICH2, & Hari
>
>
> I read the following post of your's on using
> LD_PRELOAD=3D<path_to/.../libm=
> pi.so> to fix the issue with this error. I am curious to learn: Why do I
> ha=
> ve to explicitly pre-load this library when it comes to ptmalloc library.
>
>
> http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/2015-April/0055=
> 35.html
> <http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/2015-April/0055=35.html>
>
> Any help in understanding this is really appreciated.
>
> Thank you,
> Amit
>
>
> --_000_BB6BA2C397CCB140A2475E542B21644729D34824SXMB1PGSYSTEMSS_
> Content-Type: text/html; charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
>
> <html xmlns:v=3D"urn:schemas-microsoft-com:vml"
> xmlns:o=3D"urn:schemas-micr=
> osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word"
> =
> xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:m=3D"
> http://schema=
> s.microsoft.com/office/2004/12/omml" xmlns=3D"
> http://www.w3.org/TR/REC-html=
> 40">
> <head>
> <meta http-equiv=3D"Content-Type" content=3D"text/html;
> charset=3Dus-ascii"=
> >
> <meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
> <style><!--
> /* Font Definitions */
> @font-face
>         {font-family:Calibri;
>         panose-1:2 15 5 2 2 2 4 3 2 4;}
> /* Style Definitions */
> p.MsoNormal, li.MsoNormal, div.MsoNormal
>         {margin:0in;
>         margin-bottom:.0001pt;
>         font-size:11.0pt;
>         font-family:"Calibri","sans-serif";}
> a:link, span.MsoHyperlink
>         {mso-style-priority:99;
>         color:blue;
>         text-decoration:underline;}
> a:visited, span.MsoHyperlinkFollowed
>         {mso-style-priority:99;
>         color:purple;
>         text-decoration:underline;}
> pre
>         {mso-style-priority:99;
>         mso-style-link:"HTML Preformatted Char";
>         margin:0in;
>         margin-bottom:.0001pt;
>         font-size:10.0pt;
>         font-family:"Courier New";}
> span.EmailStyle17
>         {mso-style-type:personal-compose;
>         font-family:"Calibri","sans-serif";
>         color:black;}
> span.HTMLPreformattedChar
>         {mso-style-name:"HTML Preformatted Char";
>         mso-style-priority:99;
>         mso-style-link:"HTML Preformatted";
>         font-family:"Courier New";}
> .MsoChpDefault
>         {mso-style-type:export-only;
>         font-family:"Calibri","sans-serif";}
> @page WordSection1
>         {size:8.5in 11.0in;
>         margin:1.0in 1.0in 1.0in 1.0in;}
> div.WordSection1
>         {page:WordSection1;}
> --></style><!--[if gte mso 9]><xml>
> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
> </xml><![endif]--><!--[if gte mso 9]><xml>
> <o:shapelayout v:ext=3D"edit">
> <o:idmap v:ext=3D"edit" data=3D"1" />
> </o:shapelayout></xml><![endif]-->
> </head>
> <body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
> <div class=3D"WordSection1">
> <p class=3D"MsoNormal"><span style=3D"color:black">Dear MVAPICH2, &
> Har=
> i<o:p></o:p></span></p>
> <p class=3D"MsoNormal"><span
> style=3D"color:black"><o:p> </o:p></span>=
> </p>
> <pre><span
> style=3D"font-family:"Calibri","sans-serif";=
> color:black">I read the following post of your’s on using
> </span><spa=
> n style=3D"color:black">LD_PRELOAD=3D<path_to/.../libmpi.so>
> </span><=
> span
> style=3D"font-family:"Calibri","sans-serif";color:=
> black">to fix the issue with this error. I am curious to learn: Why do I
> ha=
> ve to explicitly pre-load this library when it comes to ptmalloc library.
> <=
> /span><span style=3D"color:black"><o:p></o:p></span></pre>
> <p class=3D"MsoNormal"><span
> style=3D"color:black"><o:p> </o:p></span>=
> </p>
> <p class=3D"MsoNormal"><span style=3D"color:black"><a href=3D"
> http://mailma=
> n.cse.ohio-state.edu/pipermail/mvapich-discuss/2015-April/005535.html
> ">http=
> ://
> mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/2015-April/005535.h=
> tml</a><o:p></o:p></span></p>
> <p class=3D"MsoNormal"><span
> style=3D"color:black"><o:p> </o:p></span>=
> </p>
> <p class=3D"MsoNormal"><span style=3D"color:black">Any help in
> understandin=
> g this is really appreciated.<o:p></o:p></span></p>
> <p class=3D"MsoNormal"><span style=3D"color:black"><br>
> Thank you,<br>
> Amit<o:p></o:p></span></p>
> <p class=3D"MsoNormal"><o:p> </o:p></p>
> </div>
> </body>
> </html>
>
> --_000_BB6BA2C397CCB140A2475E542B21644729D34824SXMB1PGSYSTEMSS_--
>
> --===============6114265560034953597==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mailman.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>
> --===============6114265560034953597==--
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20151009/70f60739/attachment-0001.html>


More information about the mvapich-discuss mailing list