Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to run an external application on a different computer from
Date: Tue, 24 Jun 2008 14:19:02 +0000 (UTC)
Organization: University of Virginia
Lines: 46
Message-ID: <g3qvom$28u$1@fred.mathworks.com>
References: <g393l6$mg0$1@fred.mathworks.com> <g3aufl$l7g$1@fred.mathworks.com> <b5498a7c-3e4f-45f2-9d17-91177bacbc8a@w7g2000hsa.googlegroups.com>
Reply-To: <HIDDEN>
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 1214317142 2334 172.30.248.37 (24 Jun 2008 14:19:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 24 Jun 2008 14:19:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1331686
Xref: news.mathworks.com comp.soft-sys.matlab:475643



reza <mjahanbin@gmail.com> wrote in message
<b5498a7c-3e4f-45f2-9d17-91177bacbc8a@w7g2000hsa.googlegroups.com>...
> On Jun 18, 8:19 am, "Hema " <tennisenlighte...@gmail.com>
wrote:
> > "Hema " <tennisenlighte...@gmail.com> wrote in message
> >
> > <g393l6$mg...@fred.mathworks.com>...
> >
> > > I am implementing a GA using MATLAB. My algorithm requires
> > > me to call an external program to compute my objective
> > > function value. Now in order to speed up, I would run this
> > > external application simultaneously on multiple computers.
> > > Right now for a single computer I use a dos command to
call
> > > and run the application. How can I modify this for
multiple
> > > computers.
> >
> > I guess no one replied here. Can I ask another question. Is
> > there a dos command that will allow me to call a program and
> > run it on a different computer. I think this should solve my
> > problem
> 
> you need psexec from the pstool set made by sysinternals
(taken over
> by microsoft)
> 
> see:
http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
> 
> good luck.
> 
> /reza

Hi reza

I downloaded psexec and I used the following command to test
psexec dos('psexec \\remotecomputer cmd'). When I give the
same command at the command prompt it executes it but when I
use the above command it says cmd line exited with error
code 0. I am wondering if there are any changes needed to be
done when using psexec for MATLAB

Thanks
Hema