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

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



Thanks Erik and Ian,

I removed all the Sun systems from my command file so
that all of the machines have perl executable in same
location, and ran but still not producing the desired
output.

Regards,
Soumyadeep

--- Erik Paulson <epaulson@xxxxxxxxxxx> wrote:

> On Mon, Jan 17, 2005 at 11:12:37AM -0800, 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
> 
> This is wrong, you should have universe = vanilla
> 
> 
> > requirements =  (OpSys == "SOLARIS27" && Arch ==
> > "SUN4u")||(OpSys == "SOLARIS28" && Arch ==
> > "SUN4u")||(OpSys == "LINUX" && Arch == "INTEL")
> > allow_startup_script = True
> 
> You don't need 'allow_startup_script'
> 
> > 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.
> > 
> 
> That should work, provided that the path to the perl
> executable
> on the first line of test.pl is valid on all
> machines.
> 
> -Erik
> _______________________________________________
> Condor-users mailing list
> Condor-users@xxxxxxxxxxx
>
http://lists.cs.wisc.edu/mailman/listinfo/condor-users
> 



		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com