Path: news.mathworks.com!not-for-mail
From: "Brock " <brockp@umich.edu>
Newsgroups: comp.soft-sys.matlab
Subject: Re: using new mpich2 library problems
Date: Tue, 10 Nov 2009 21:30:36 +0000 (UTC)
Organization: Michigan University
Lines: 47
Message-ID: <hdcm1s$qj9$1@fred.mathworks.com>
References: <hd1uqu$b37$1@fred.mathworks.com> <ytwskcodq8m.fsf@uk-eellis-deb5-64.mathworks.co.uk>
Reply-To: "Brock " <brockp@umich.edu>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257888636 27241 172.30.248.37 (10 Nov 2009 21:30:36 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 10 Nov 2009 21:30:36 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 569324
Xref: news.mathworks.com comp.soft-sys.matlab:583979



> 
> Once you've run "matlabpool open ...", what happens when you run 
When I do:
matlabpool open native-mpiexec 4
It says:
Starting matlabpool using the 'native-mpiexec' configuration ... connected to 1 labs.

Which is odd,  
ps aux | grep mpiexec
/home/software/rhel5/mpiexec/0.83/bin/mpiexec --comm mpich2 -n 4 worker -parallel

Which is right, but:
lsof | grep mpich
MATLAB    31757    brockp  mem       REG               0,26   1353360  404096010 /afs/engin.umich.edu/caen/rhel_5/matlab-2009a/bin/glnxa64/libmpich.so

whcih mpiLibConf
/nobackup/brockp/matlab/mpiLibConf.m

>> spmd
which mpiLibConf
[a,b]=mpiLibConf
end
  1 /nobackup/brockp/matlab/mpiLibConf.m
    a =
    /nobackup/brockp/matlab/mpich/lib/libmpich.so
    b = 
         {}

spmd
> 
> spmd
>   which mpiLibConf
>   [a, b] = mpiLibConf
> end
> 
> ? 
> 
> How did you add the path to your updated mpiLibConf to MATLAB's path?

export MATLABPATH=/nobackup/brockp/matlab:$MATLABPATH


> 
> Cheers,
> 
> Edric.