[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Condor for Windows



I notice that your "example.do" is listed as an argument, but %1 isn't 
mentioned in your .bat file. Since you explicitly name the file
instead, that shouldn't be the problem of course.



Does Stata try and open any windows or do anything else which will make it
inappropriate for such batch use?
See slide 20 and following of
http://www.cs.wisc.edu/condor/PCW2007/presentations/nleroy_user_tutorial.ppt
for more details on this.

I see what you mean about the log file, that is because the failing line is in the
middle of the script not at the end.
You will get normal execution completion since your executable (the .bat file)
exits successfully (with the ipconfig) and then it will sit and try and return all the 
outputs you have requested, going into hold since something has clearly gone wrong
(unless you do your workaround of creating an empty file anyway).
Can you turn on some debugging with Stata, or check its exit status?
Or do a "dir" before and after the Stata call to see if it is producing any
log/trace info.

Aha ... if you are sure that
C:\Stata10\wsestata.exe 
is on all your possible target machines, then who owns it, and what are the permissions
on it. If you installed it personally, then maybe the condor user doesn't have access to
run it.

Cheers

JK

> -----Original Message-----
> From: condor-users-bounces@xxxxxxxxxxx 
> [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Taylor, Andrew
> Sent: Thursday, March 13, 2008 6:08 PM
> To: Condor-Users Mail List
> Subject: Re: [Condor-users] Condor for Windows
> 
> Hi
> 
> I tried putting the start in as it was skipping and the start 
> /wait makes the bat file wait until the process terminates.
> 
> I was simply forwarding the example.log to stop errors as 
> example.log is created by Stata and as Stata wasn't running 
> is was putting the job into hold.
> 
> I've tried again without the start and I've included the 
> returned files including the submit files.
> 
> The stata example.do file should take a full 30 seconds to 
> run but it's almost instant.
> 
> Thanks
>  
> Andrew Taylor
> 
> -----Original Message-----
> From: condor-users-bounces@xxxxxxxxxxx 
> [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of 
> Kewley, J (John)
> Sent: 13 March 2008 17:42
> To: Condor-Users Mail List
> Subject: Re: [Condor-users] Condor for Windows
> 
> Can you run it without the "start" command in the bat file
> 
> I think "start" opens a new window which I guess probably won't work.
> 
> How does your bat file work on your local machine if the line 
> is changed to:
> C:\stata10\wsestata.exe -b do example.do
> 
> Also, why do you want to transfer over the exampl.log in the 
> transfer_input_files, is that an input as well as an output file?
> 
> Cheers
> 
> JK 
> 
> > -----Original Message-----
> > From: condor-users-bounces@xxxxxxxxxxx 
> > [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of 
> Taylor, Andrew
> > Sent: Thursday, March 13, 2008 5:37 PM
> > To: Condor-Users Mail List
> > Subject: Re: [Condor-users] Condor for Windows
> > 
> > Hi JK
> > 
> > I've included the submit file and the batch file.  The batch has a 
> > ipconfig / all that I've been using for testing.
> > 
> > Also for testing the one execute machine has stata installed in the 
> > stata10 directory and it defiantly checks this file as if I set it 
> > wrong I get a return in the error log.
> > 
> > Thanks
> >  
> > Andrew Taylor
> > 
> > 
> > -----Original Message-----
> > From: condor-users-bounces@xxxxxxxxxxx 
> > [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Kewley, J 
> > (John)
> > Sent: 13 March 2008 17:18
> > To: Condor-Users Mail List
> > Subject: Re: [Condor-users] Condor for Windows
> > 
> > > Hi
> > > 
> > > I'm having some problems getting condor to run Stata, a 
> statistical 
> > > package.  It has a command line function:
> > > 
> > > wsestata -b do dofile.do
> > 
> > can you show us your submit file? If you show your values for 
> > arguments, universe and transfer settings for input files, etc that 
> > would help
> > 
> > Cheers
> > 
> > JK
> > 
> > _______________________________________________
> > Condor-users mailing list
> > To unsubscribe, send a message to
> > condor-users-request@xxxxxxxxxxx with a
> > subject: Unsubscribe
> > You can also unsubscribe by visiting
> > https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> > 
> > The archives can be found at: 
> > https://lists.cs.wisc.edu/archive/condor-users/
> > 
> 
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to 
> condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> 
> The archives can be found at: 
> https://lists.cs.wisc.edu/archive/condor-users/
>