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

Re: [Condor-users] WinXP Application Error running with Condor



Condor runs Windows jobs as an unprivileged user (condor-slot/n/), so that,
among other things, some malicious user cannot come along and submit a job that
trashes your execute nodes.  Along with this, we don't load the unprivileged
user's profile, so all registry entries are read-only (in fact, the only "user"
registry entries this user can see are those of the SYSTEM account [which has
next to nothing of relevance in it]).  A future version of Condor will allow a
submit script have the Windows profile loaded for a user, which will bypass the
problem of a read-only user registry.  

The reason, I suspect, that runs on a logged on user account, is that there is
some information available to it on that account, that it is missing on the
execute side.


-B

-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx]
On Behalf Of Stephen Upton
Sent: Tuesday, November 06, 2007 10:44 AM
To: Condor-Users Mail List
Subject: Re: [Condor-users] WinXP Application Error running with Condor

Hi Ben,

Thanks for you answer. I'll look into what the application is  
actually doing. The executable is on each of the nodes, and the .bat  
file that calls it, gives the absolute path to the executable (as  
well as the database it references, also configured on each node).  
Other than that, I can't give you much more, since I don't know  
myself (I'm helping the user out distributing his simulation).

However, I wonder why the app runs fine just from the command line,  
i.e., just running the .bat file. Is windows doing something there or  
knows something that condor doesn't when it runs the .bat file (the  
app, and staring condor, are running under administrator)? Thanks for  
being patient.

thanx
steve

On Nov 6, 2007, at 10:39 AM, Ben Burnett wrote:

> Hi Steve:
>
> I'm not familiar with the .isf file extension personally; however,  
> if the
> application that uses it requires local user registry entries (for  
> read AND
> write) then it will probably fail for this reason (this will be  
> fixed in future
> versions of Condor).  This problem is faced by any Windows  
> application that
> requires read/write access to user registry entries.  If there is a  
> way to tell
> the application to either draw from a configuration file, from the  
> machine
> registry, or some other source, then all should be fine.  Also, is the
> executable available on all the execute nodes?  You aren't explicitly
> transferring it yourself, so it must either already be there;  
> either that, or
> you will have to make sure it gets there somehow.
>
> If you post the .bat file, or explain what it is that is does (like  
> which
> application it spawns), then I may be able to help you further.
>
> -B
>
> -----Original Message-----
> From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users- 
> bounces@xxxxxxxxxxx]
> On Behalf Of Stephen Upton
> Sent: Monday, November 05, 2007 7:32 PM
> To: Condor-Users Mail List
> Subject: [Condor-users] WinXP Application Error running with Condor
>
> Hi All,
>
> I'm running condor 6.8.1 on a cluster of WinXP machines. The
> executable in the submit file is a .bat file that calls the
> application's executable. We are transferring one input file. Here's
> the submit:
> universe = vanilla
> getenv = False
> requirements = OpSys == "WINNT50" || OpSys == "WINNT51"
> executable = iwars3.bat
> arguments = expt_0001.isf
> transfer_input_files = expt_0001.isf
> log = expt_0001.log
> output = expt_0001.out
> error = expt_0001.err
> notification = never
> queue   1
>
> The iwars3.bat file runs fine from the command line, but when I do a
> condor_submit on this submit file, it starts running, but then I get
> an error that the app can't load a file. The app accesses a database
> that is configured on each of the nodes as well and is part of the
> command line call in the .bat file.
>
> I looked through the Start and StarterLog files on the execute node,
> as well as the ShadowLog files, and nothing jumps out, e.g., file
> permissions, etc.. I don't know yet if this relates to something like
> the Excel problem previously reported, e.g., user registries and
> profiles, but it might - I'm checking into that.
>
> In the meantime, does anyone have any insight, given what limited
> picture I've portrayed, what else could be the source of the problem,
> condor specific? I've thought about path issues, and permissions; is
> there anything else, or anywhere else I could look?
>
> thanx
> steve
> _______________________________________________
> 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/
>
> _______________________________________________
> 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/

_______________________________________________
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/