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

Re: [Condor-users] Heterogeneous Job Submission



Hi Todd,
Thank you so much, I appreciate your help.
Now it is running fine on both Linux and Windows.

Senthil

-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Todd Tannenbaum
Sent: Wednesday, February 09, 2011 12:07 PM
To: Condor-Users Mail List
Subject: Re: [Condor-users] Heterogeneous Job Submission

Natarajan, Senthil wrote:
> 
> 
> Hi,
> 
> I am trying to submit Jobs to Windows and Linux using 
> $$(MachineAddAtrribute) from Linux submit node.
> 
>  
> 
> I have links to the executable for different operating systems like this
> 
> Argscript.LINUX -> Argscript.sh
> 
> Argscript.WINNT51 -> Argscript.bat
> 
> Argscript.WINNT60 -> Argscript.bat
> 
> Argscript.WINNT61 -> Argscript.bat
> 
>  
> 
> In the job submission file, I have like this
> 
> Executable =  Argscript.$$(OpSys)
> 
>  
> 
> It works fine on Linux OS. But under Windows OS, condor copies the 
> executable to the execution node as condor_exec.WINNT61 (Based on 
> Opsys). 
> So under Windows it fails with the following Exception
> [snip]
> So is there any way we can tell condor not to include opsys at the end 
> of the condor_exec, or is there any known fix available for this problem.
> 

You can make the above work by simply doing the following in your submit 
file:
   Executable =  Argscript.$$(OpSys).bat
In other words, have use .bat for all platforms. Linux does not care 
what the file extension is, so the above will work everywhere.

regards
Todd

_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/