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

Re: [Condor-users] Unable to run perl script in Condor



Thanks John,
It ask me for some Unrecognized switch:
-_condor_cmd_fd
which I couldnt get. I am pasting tail content of the
ShadowLog file from condor master machine here below:

1/18 10:39:02 (?.?) (12592):******* Standard Shadow
starting up *******
1/18 10:39:02 (?.?) (12592):** $CondorVersion: 6.6.6
Jul 26 2004 $
1/18 10:39:02 (?.?) (12592):** $CondorPlatform:
I386-LINUX_RH9 $
1/18 10:39:02 (?.?)
(12592):*******************************************
1/18 10:39:02 (?.?) (12592):uid=0, euid=555, gid=0,
egid=555
1/18 10:39:02 (?.?) (12592):Hostname =
"<172.16.4.76:32774>", Job = 16961.0
1/18 10:39:02 (16961.0) (12592):Requesting Primary
Starter
1/18 10:39:02 (16961.0) (12592):Shadow: Request to run
a job was ACCEPTED
1/18 10:39:02 (16961.0) (12592):Shadow: RSC_SOCK
connected, fd = 17
1/18 10:39:02 (16961.0) (12592):Shadow: CLIENT_LOG
connected, fd = 18
1/18 10:39:02 (16961.0) (12592):My_Filesystem_Domain =
"topaz"
1/18 10:39:02 (16961.0) (12592):My_UID_Domain =
"topaz"
1/18 10:39:03 (16961.0) (12592):        Entering
pseudo_get_file_stream
1/18 10:39:03 (16961.0) (12592):        file =
"/nfs/condor/condor-6.6.6/hosts/topaz/spool/cluster16961.ickpt.subproc0"
1/18 10:39:03 (16961.0) (12592):        172.16.4.94
1/18 10:39:03 (16961.0) (12592):        172.16.4.94
1/18 10:39:03 (16961.0) (12592):Reaped child status -
pid 12593 exited with status 0
1/18 10:39:03 (16961.0) (12592):Read: Unrecognized
switch: -_condor_cmd_fd  (-h will show valid options).
1/18 10:39:03 (16961.0) (12592):Shadow: Job 16961.0
exited, termsig = 0, coredump = 0, retcode = 29
1/18 10:39:03 (16961.0) (12592):Shadow: Job exited
normally with status 29
1/18 10:39:03 (16961.0) (12592):user_time = 3 ticks
1/18 10:39:03 (16961.0) (12592):sys_time = 0 ticks
1/18 10:39:03 (16961.0) (12592):Static Policy:
removing job because OnExitRemove has become true
1/18 10:39:03 (16961.0) (12592):********** Shadow
Exiting(100) **********
1/18 10:39:04 (?.?) (12597):******* Standard Shadow
starting up *******
1/18 10:39:04 (?.?) (12597):** $CondorVersion: 6.6.6
Jul 26 2004 $
1/18 10:39:04 (?.?) (12597):** $CondorPlatform:
I386-LINUX_RH9 $
1/18 10:39:04 (?.?)
(12597):*******************************************
1/18 10:39:04 (?.?) (12597):uid=0, euid=555, gid=0,
egid=555
1/18 10:39:04 (?.?) (12597):Hostname =
"<172.16.4.92:32775>", Job = 16962.0
1/18 10:39:04 (16962.0) (12597):Requesting Primary
Starter
1/18 10:39:04 (16962.0) (12597):Shadow: Request to run
a job was ACCEPTED
1/18 10:39:04 (16962.0) (12597):Shadow: RSC_SOCK
connected, fd = 17
1/18 10:39:04 (16962.0) (12597):Shadow: CLIENT_LOG
connected, fd = 18
1/18 10:39:04 (16962.0) (12597):My_Filesystem_Domain =
"topaz"
1/18 10:39:04 (16962.0) (12597):My_UID_Domain =
"topaz"
1/18 10:39:04 (16962.0) (12597):        Entering
pseudo_get_file_stream
1/18 10:39:04 (16962.0) (12597):        file =
"/nfs/condor/condor-6.6.6/hosts/topaz/spool/cluster16962.ickpt.subproc0"
1/18 10:39:04 (16962.0) (12597):        172.16.4.94
1/18 10:39:04 (16962.0) (12597):        172.16.4.94
1/18 10:39:04 (16962.0) (12597):Reaped child status -
pid 12598 exited with status 0
1/18 10:39:04 (16962.0) (12597):Read: Unrecognized
switch: -_condor_cmd_fd  (-h will show valid options).
1/18 10:39:04 (16962.0) (12597):Shadow: Job 16962.0
exited, termsig = 0, coredump = 0, retcode = 29
1/18 10:39:04 (16962.0) (12597):Shadow: Job exited
normally with status 29
1/18 10:39:04 (16962.0) (12597):user_time = 0 ticks
1/18 10:39:04 (16962.0) (12597):sys_time = 1 ticks
1/18 10:39:04 (16962.0) (12597):Static Policy:
removing job because OnExitRemove has become true
1/18 10:39:04 (16962.0) (12597):********** Shadow
Exiting(100) **********
1/18 10:45:42 (?.?) (12703):******* Standard Shadow
starting up *******
1/18 10:45:42 (?.?) (12703):** $CondorVersion: 6.6.6
Jul 26 2004 $
1/18 10:45:42 (?.?) (12703):** $CondorPlatform:
I386-LINUX_RH9 $
1/18 10:45:42 (?.?)
(12703):*******************************************
1/18 10:45:42 (?.?) (12703):uid=0, euid=555, gid=0,
egid=555
1/18 10:45:42 (?.?) (12703):Hostname =
"<172.16.4.92:32775>", Job = 16963.0
1/18 10:45:42 (16963.0) (12703):Requesting Primary
Starter
1/18 10:45:42 (16963.0) (12703):Shadow: Request to run
a job was ACCEPTED
1/18 10:45:42 (16963.0) (12703):Shadow: RSC_SOCK
connected, fd = 17
1/18 10:45:42 (16963.0) (12703):Shadow: CLIENT_LOG
connected, fd = 18
1/18 10:45:42 (16963.0) (12703):My_Filesystem_Domain =
"topaz"
1/18 10:45:42 (16963.0) (12703):My_UID_Domain =
"topaz"
1/18 10:45:42 (16963.0) (12703):        Entering
pseudo_get_file_stream
1/18 10:45:42 (16963.0) (12703):        file =
"/nfs/condor/condor-6.6.6/hosts/topaz/spool/cluster16963.ickpt.subproc0"
1/18 10:45:42 (16963.0) (12703):        172.16.4.94
1/18 10:45:42 (16963.0) (12703):        172.16.4.94
1/18 10:45:42 (16963.0) (12703):Reaped child status -
pid 12704 exited with status 0
1/18 10:45:42 (16963.0) (12703):Read: Unrecognized
switch: -_condor_cmd_fd  (-h will show valid options).
1/18 10:45:42 (16963.0) (12703):Shadow: Job 16963.0
exited, termsig = 0, coredump = 0, retcode = 29
1/18 10:45:42 (16963.0) (12703):Shadow: Job exited
normally with status 29
1/18 10:45:42 (16963.0) (12703):user_time = 0 ticks
1/18 10:45:42 (16963.0) (12703):sys_time = 2 ticks
1/18 10:45:42 (16963.0) (12703):Static Policy:
removing job because OnExitRemove has become true
1/18 10:45:42 (16963.0) (12703):********** Shadow
Exiting(100) **********

Regards,
Soumyadeep

--- John Wheez <john@xxxxxxxxxx> wrote:

> 
> What do the shadow log filse say on the machines
> which try to run the 
> perl script??
> 
> JW
> 
> Soumyadeep nandi wrote:
> 
> >Hello Everybody,
> >
> >I've been looking for a solution to a problem with
> >running an example perl script in condor. The perl
> >script on successful run should produce an output
> file
> >named by the host name, which is running properly
> if I
> >run in local machine. But, if I submit it in
> condor,
> >the script is ending up without generating the
> proper
> >output file.
> >
> >I am generating the command files for number of
> >machines as:
> >universe     =  standard
> >requirements =  (OpSys == "SOLARIS27" && Arch ==
> >"SUN4u")||(OpSys == "SOLARIS28" && Arch ==
> >"SUN4u")||(OpSys == "LINUX" && Arch == "INTEL")
> >allow_startup_script = True
> >executable  =  /usr/bin/perl
> >transfer_executable = false
> >output       = 
> >/nfs/condor/soumya/perl/output/job_0.out
> >error        = 
> /nfs/condor/soumya/perl/err/job_0.err
> >arguments    =  /nfs/condor/soumya/perl/bin/test.pl
> >log          = 
> /nfs/condor/soumya/perl/log/job_0.log
> >queue
> >#even I tried "executable =
> >/nfs/condor/soumya/perl/bin/test.pl" with
> "arguments"
> >none.
> >
> >The log file generated shows the job has been
> executed
> >in different machine:
> >000 (16942.000.000) 01/17 23:36:26 Job submitted
> from
> >host: <172.16.4.94:48436>
> >...
> >001 (16942.000.000) 01/17 23:36:28 Job executing on
> >host: <172.16.4.51:32772>
> >...
> >005 (16942.000.000) 01/17 23:36:28 Job terminated.
> >        (1) Normal termination (return value 29)
> >                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
> >        232  -  Run Bytes Sent By Job
> >        12900  -  Run Bytes Received By Job
> >        232  -  Total Bytes Sent By Job
> >        12900  -  Total Bytes Received By Job
> >...
> >
> >
> >And the outfile generated as "job_0.out" with no
> >content in it.
> >
> >Could you please point out the mistake I am doing
> and
> >any probable solution for it.
> >
> >Regards,
> >Soumyadeep
> >
> >
> >
> >
> >	
> >		
> >__________________________________ 
> >Do you Yahoo!? 
> >Yahoo! Mail - You care about security. So do we. 
> >http://promotions.yahoo.com/new_mail
> >_______________________________________________
> >Condor-users mailing list
> >Condor-users@xxxxxxxxxxx
>
>http://lists.cs.wisc.edu/mailman/listinfo/condor-users
> >  
> >
> 
> _______________________________________________
> Condor-users mailing list
> Condor-users@xxxxxxxxxxx
>
http://lists.cs.wisc.edu/mailman/listinfo/condor-users
> 



		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com