Mailing List Archives
Public Access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Condor-users] Trouble with env vars when submitting fromLinuxand targetting Windows
- Date: Tue, 5 Oct 2004 14:11:11 -0700
- From: "Ian Chesal" <ICHESAL@xxxxxxxxxx>
- Subject: RE: [Condor-users] Trouble with env vars when submitting fromLinuxand targetting Windows
Thanks John,
I was originally perturbing and passing env vars in this exact method
(well, via a Perl script instead of a bat script). I was just hoping to
use Condor to it's fullest extent and have it do the work for me. Ahh
well...
Ian
> -----Original Message-----
> From: condor-users-bounces@xxxxxxxxxxx
> [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of John Wheez
> Sent: October 5, 2004 4:33 PM
> To: Condor-Users Mail List
> Subject: Re: [Condor-users] Trouble with env vars when
> submitting from Linuxand targetting Windows
>
>
>
> Hi Ian,
>
> I have a similar setup. Linux Condor Master and Windows XP
> clients which
> also use a LM_LICENSE_FILE variable.
>
> My executable is a .bat file so in the .bat file i setup the windows
> variables and launch the executable.
>
>
> Ian Chesal wrote:
>
> >I have a job I'd like to submit from Linux but is meant to run on a
> >Windows machine. I have my requirements set appropriatly.
> I'd like to
> >export my LM_LICENSE_FILE setting from my Linux machine to
> the Windows
> >machine. Unfortunatly Windows requires the separator in the
> >LM_LICENSE_FILE variable to be a ';' character whereas it's a ':' on
> >Linux. Translating the ':' to ';' and then trying to submit
> from Linux
> >yeilds the following error from condor_submit:
> >
> >ERROR: Missing '=' after environment variable '1700@goto'.
> >
> >Is there a way to alert condor_submit to the fact that I'm
> not running
> >on Linux so I'm using | as the env var separator and thus ';' is a
> >legal character in the value of a env var when I submit from
> Linux? I
> >was hoping condor_submit could have figured that bit out by
> looking at
> >the target Arch in the requirements setting.
> >
> >My submission ticket environment and requirements lines looks like
> >this:
> >
> >requirements = (Arch == "INTEL" && (OpSys == "WINNT40" || OpSys ==
> >"WINNT50" || OpSys == "WINNT51")) && ((VirtualMemory >= 204800)) &&
> >(Machine == "TTC-BS1000-031.altera.priv.altera.com")
> >environment =
> >SWSITE=$ENV(SWSITE)|SRCSITE=$ENV(SRCSITE)|VCSID=$ENV(VCSID)|L
> M_LICENSE_
> >F
> >ILE=1800@ttc-sunserve;1700@goto;2007@mahler
> >
> >Ian
> >
> >
> >
> >
> >
> >
> >
>
>
> _______________________________________________
> Condor-users mailing list
> Condor-users@xxxxxxxxxxx
> http://lists.cs.wisc.edu/mailman/listinfo/condor-users
>