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

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/

Attachment: example.do
Description: example.do

Attachment: example.log
Description: example.log

@echo off

echo Starting Stata

C:\Stata10\wsestata.exe -b do example.do

echo Done, returning results!

ipconfig /all
000 (051.000.000) 03/13 18:03:08 Job submitted from host: <137.205.101.116:1035>
...
001 (051.000.000) 03/13 18:03:10 Job executing on host: <137.205.100.78:1033>
...
005 (051.000.000) 03/13 18:03:11 Job terminated.
	(1) Normal termination (return value 0)
		Usr 0 00:00:00, Sys 0 00:00:00  -  Run Remote Usage
		Usr 0 00:00:00, Sys 0 00:00:00  -  Run Local Usage
		Usr 0 00:00:00, Sys 0 00:00:00  -  Total Remote Usage
		Usr 0 00:00:00, Sys 0 00:00:00  -  Total Local Usage
	1448  -  Run Bytes Sent By Job
	443  -  Run Bytes Received By Job
	1448  -  Total Bytes Sent By Job
	443  -  Total Bytes Received By Job
...
Starting Stata
Done, returning results!


Windows IP Configuration



        Host Name . . . . . . . . . . . . : lecturn

        Primary Dns Suffix  . . . . . . . : warwick.ac.uk

        Node Type . . . . . . . . . . . . : Unknown

        IP Routing Enabled. . . . . . . . : No

        WINS Proxy Enabled. . . . . . . . : No

        DNS Suffix Search List. . . . . . : warwick.ac.uk

                                            csv.warwick.ac.uk

                                            ac.uk



Ethernet adapter Local Area Connection:



        Connection-specific DNS Suffix  . : csv.warwick.ac.uk

        Description . . . . . . . . . . . : Intel(R) 82566DM Gigabit Network Connection

        Physical Address. . . . . . . . . : 00-1C-C0-40-F0-34

        Dhcp Enabled. . . . . . . . . . . : Yes

        Autoconfiguration Enabled . . . . : Yes

        IP Address. . . . . . . . . . . . : 137.205.100.78

        Subnet Mask . . . . . . . . . . . : 255.255.254.0

        Default Gateway . . . . . . . . . : 137.205.101.254

        DHCP Server . . . . . . . . . . . : 10.160.103.246

        DNS Servers . . . . . . . . . . . : 137.205.128.19

                                            137.205.128.18

                                            137.205.128.17

        Lease Obtained. . . . . . . . . . : 13 March 2008 16:44:01

        Lease Expires . . . . . . . . . . : 14 March 2008 16:44:01

Attachment: stata.sub
Description: stata.sub