Path: news.mathworks.com!not-for-mail
From: Edric M Ellis <eellis@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: using new mpich2 library problems
Date: Mon, 09 Nov 2009 09:03:37 +0000
Organization: The Mathworks, Ltd.
Lines: 33
Message-ID: <ytwskcodq8m.fsf@uk-eellis-deb5-64.mathworks.co.uk>
References: <hd1uqu$b37$1@fred.mathworks.com>
NNTP-Posting-Host: uk-eellis-deb5-64.mathworks.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: fred.mathworks.com 1257757418 4275 172.16.27.232 (9 Nov 2009 09:03:38 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 9 Nov 2009 09:03:38 +0000 (UTC)
X-Face: $Ahg}Iylezql"r1WV1Me5&)ng"a4v%D>==KMs-elCfj"o}$bh-VOt7lVXgLWsC?9mZ`mINT
 G6PDvca;nrgs$lfcr0l1ew'N]>nXKl}m|Zpg>,6*gLp~-N0N2*+b.iwv=u>@R$L4SEG&NYUU;lSR@u
 IHphdAy
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)
Cancel-Lock: sha1:pl9HEJ4N4vrb7UIvuQUN4eTkthA=
Xref: news.mathworks.com comp.soft-sys.matlab:583491


"Brock " <brockp@umich.edu> writes:

> Hello, We are trying to have matlab use a build of mpich2 that does not use
> smpd so we may use OSU's mpiexec in our PBS batch environment.
>
> I built version 1.0.8p1 of mpich2 to match 1.0.x that comes with 2009a, I then
> made mpiLibConf.m to point to '/nobackup/brockp/matlab/mpich/lib/libmpich.so',
> and added its location to MATLABPATH,
>
> I then made a configuration using the mpiexec type, and put in the custom
> mpiexec location, and argument --comm mpich2-pmi,
>
> Problem is no matter what when I run matlabpool open configname 4
>
> The library that is dlopened()' is the one that comes with matlab (lsof | grep
> mpich), not my new one.  I am confused what needs to be done, or if there is
> anyway to make matlab give me more information about how it is picking what
> libmpich.so to load.

Once you've run "matlabpool open ...", what happens when you run 

spmd
  which mpiLibConf
  [a, b] = mpiLibConf
end

? 

How did you add the path to your updated mpiLibConf to MATLAB's path?

Cheers,

Edric.