<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=788523320-19122007>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=788523320-19122007> From the matlab docs it looks like the developers
moved to the "pure launcher" matlab.exe so that users can
execute "post launch" commands (batch file commands after the launch of
matlab) in their batch scripts. Please check with matlab support team on
whether you can achieve your debugging setup with the existing version
of MATLAB.</SPAN></FONT></DIV>
<DIV><SPAN class=788523320-19122007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=788523320-19122007><FONT face=Arial color=#0000ff
size=2>regds,</FONT></SPAN></DIV>
<P><SPAN class=788523320-19122007><FONT face=Arial color=#0000ff
size=2>jayesh</FONT></SPAN></P><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> owner-mpich-discuss@mcs.anl.gov
[mailto:owner-mpich-discuss@mcs.anl.gov] <B>On Behalf Of
</B>peter_raeth@juno.com<BR><B>Sent:</B> Wednesday, December 19, 2007 11:03
AM<BR><B>To:</B> mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> [MPICH] mpich2
with MatLab R2007b<BR></FONT><BR></DIV>
<DIV></DIV>On our Windows desktops we are running MatLab R2007b. With that
version, we seem to have lost a significant capability. Let me explain.
<DIV><SPAN class=525272420-18122007><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=525272420-18122007><FONT face=Arial>Under R2007a it was
possible to successfully run the following DOS command:</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><SPAN class=525272420-18122007><FONT face=Arial>mpiexec -l -exitcodes
-localroot -pwdfile MPI_Options.txt -n 2 -machinefile MPI_MachineList.txt
"C:\Program_Files\Matlab\bin\matlab.bat" -check_malloc</FONT></SPAN></DIV>
<DIV><SPAN class=525272420-18122007><FONT
face=Arial></FONT></SPAN> </DIV></BLOCKQUOTE>
<DIV dir=ltr><SPAN class=525272420-18122007><FONT face=Arial>Since one machine
was listed in the machinefile and told to run two processes, two MatLab IDE
instances appeared. Through manual activity, we could step through the codes
running as supervisor and worker processes. It was a wonderful debugging
and demonstration capability. mpiexec terminated normally once the codes
completed and the IDEs were ended.</FONT></SPAN></DIV>
<DIV dir=ltr><SPAN class=525272420-18122007><FONT
face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr><SPAN class=525272420-18122007><FONT face=Arial>Under R2007b,
MathWorks eliminated the bat file in favor of an exe file. Now, when the
equivalent DOS command is run, mpiexec terminates immediately. Yet, the two IDE
instances come up. However, they are not running within the cluster
communications universe. This appears to be because matlab.exe is just causing
the real matlab executable to be run.</FONT></SPAN></DIV>
<DIV dir=ltr><SPAN class=525272420-18122007><FONT
face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr><SPAN class=525272420-18122007><FONT face=Arial>My question: Is
there a way to retain the capability we enjoyed under R2007a? Is there some flag
we can set for R2007b? Although a bat file appears in the R2007b bin
directory, the bat file is deprecated. Plus, it does not enable the capability
we enjoyed under R2007a.</FONT></SPAN></DIV>
<DIV dir=ltr><SPAN class=525272420-18122007><FONT
face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr><SPAN class=525272420-18122007><FONT face=Arial>Many thanks for
whatever insights you can offer.</FONT></SPAN></DIV>
<DIV dir=ltr><SPAN class=525272420-18122007><FONT
face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr><SPAN class=525272420-18122007></SPAN> </DIV>
<DIV dir=ltr><SPAN class=525272420-18122007>Best,</SPAN></DIV>
<DIV dir=ltr><SPAN class=525272420-18122007></SPAN> </DIV>
<DIV dir=ltr><SPAN class=525272420-18122007>Peter.</SPAN></DIV></BODY></HTML>