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

Re: [Condor-users] Newbie question about Perl programs



On Tue, Mar 21, 2006 at 05:02:58PM -0000, Kewley, J (John) wrote:
> > Here's an example of a submit file that doesn't work:
> > 
> > universe = vanilla
> > executable = HeyNow.pl
> 
> Have you got
> #!/usr/local/bin/perl
> 
> As the 1st line of your perl script? (assuming that is where perl lives on
> destination machine)
> 

/usr/local/bin/perl isn't the usual location for a perl installation on
Win32 :)

I think the way we usually solve this on Windows is to use the 
USER_JOB_WRAPPER on Windows to decide if it's a Perl script, and if it is
to execute it correctly.

There is no "Perl" universe that automatically knows the right thing to do
ala the Java universe. 

-Erik

> You may also have to set exe bit in HeyNow.pl
> 
> JK
> 
> _______________________________________________
> Condor-users mailing list
> Condor-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users