Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Unable to run perl script in Condor
- Date: Mon, 17 Jan 2005 15:19:03 -0600
- From: Erik Paulson <epaulson@xxxxxxxxxxx>
- Subject: Re: [Condor-users] Unable to run perl script in Condor
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