From: "Paul Crowley" <pcrowley@chi.navtech.com>
Newsgroups: comp.parallel.pvm
Subject: RE: PVM Spawn on NT problems?
Date: Fri, 9 Jul 1999 10:55:32 -0500
Organization: Deja Posting Service
Message-Id: <000301beca23$79578ec0$7765080a@p8101119.chi.navtech.com>
References: <378250AF.E58BD0A1@cc.gatech.edu>
Mime-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Cc: <wmgray@cc.gatech.edu>
Importance: Normal
In-Reply-To: <378250AF.E58BD0A1@cc.gatech.edu>
Xref: ukc comp.parallel.pvm:8560


The command processor (cmd.exe, I think) on NT is what processes .cmd/.bat
files - they are not directly executable.

The pvm_spawn function requires directly executable files.  You need to
execute something like

	c:\winnt\cmd.exe x.bat

instead of just x.bat

I think that will do it for you.

----------------------------------------------
Paul Crowley
pcrowley@chi.navtech.com
847-795-7319
----------------------------------------------

-----Original Message-----
From: Wm. Michael Gray [mailto:wmgray@cc.gatech.edu]
Sent: Tuesday, July 06, 1999 1:54 PM
To: comp.parallel.pvm@list.deja.com
Cc: wmgray@cc.gatech.edu
Subject: PVM Spawn on NT problems?


 Message from the Deja.com forum:
 comp.parallel.pvm
 Your subscription is set to individual email delivery

Hi!  I'm being frustrated by trying to spawn a PVM process on the NT and
it keeps returning a TID of -7 (PvmNoFile) and 0 tasks started.  I do
have this running fine on the UNIX side.  This is a piece of Java
software (using the jPVM as a bridge) I'm working on for my research
lab.

I have dynamically generated batch files being written by the java
process and then being passed to pvm_spawn with the task being
"c:\local-~1\common\ofmsper.bat" and an argz[] = new String[0].  The
batch file merely does start /min java ... with a whole bunch (more than
10 therefore, command line was getting swamped with %1 -- if the
executable action gets solved, I'll go back and try to run it directly.)

I've written up a hostfile that specifies (for the NT):

* dx=c:\progra~1\pvm3.4\lib\win32\pvmd3.exe wd=c:\progra~1\common
ep=c:\progra~1\pvm3.4\lib\win32;c:\progra~1\pvm3.4\bin\win32;c:\temp;c:\prog
ra~1\common

The batch files work fine on their own, but just not from the spawn.

Any ideas?  Carbon my email as well as post to the newsgroup please.
Thanks,
Michael.
wmgray@cc.gatech.edu




 _____________________________________________________________
 Deja.com: Share what you know. Learn what you don't.
 http://www.deja.com/
 * To modify or remove your subscription, go to
 http://www.deja.com/edit_sub.xp?group=comp.parallel.pvm
 * Read this thread at
 http://www.deja.com/thread/%3C378250AF.E58BD0A1%40cc.gatech.edu%3E

