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

Re: [Condor-users] Running compiled MATLAB executables on Condor



Matthias,

 

I’ve just set GETENV = TRUE in my Condor submit file and now there is an error output as below:

 

 

Extracting CTF archive. This may take a few seconds, depending on the

 size of your application. Please wait...

...CTF archive extraction complete.

Could not open file 'C:\Documents and Settings\USERID\Application Data\MathWorks\MATLAB\mcr_v74\my_executable_324A357B4920423E8488457CD8B31C77\compopts.bat'. Reason: 'Permission denied'

Could not determine size of file 'C:\Documents and Settings\USERID\Application Data\MathWorks\MATLAB\mcr_v74\my_executable_324A357B4920423E8488457CD8B31C77\compopts.bat'. Reason: 'No such file or directory'

Error initializing preferences

 

 

I’ve changed the permissions on this directory (which itself isn’t practical) but just to see if the error changes.  When I allow “Everybody” Full Control on this directory the job runs and never exits, but no actual processing is taking place (I know this because of expected CPU Usage etc).

 

I’ve also tried transferring msvcrtd.dll but no luck.

 

Any thoughts?

 

Shaun James O'Callaghan

 


From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of uni-ulm.m.roehm@xxxxxxxxxxxxxxxxxxx
Sent: 29 September 2006 12:28
To: condor-users@xxxxxxxxxxx
Subject: Re: [Condor-users] Running compiled MATLAB executables on Condor

 


Hi,

it could be the case even if it runs on the very same machine because:
1. Condor does run under a none privileged user account.
2. Condor does not have the same environment than your normal user account.

I had the same problem with some of our apps. They didn't executed under Condor even on my machine. I had to transfer msvcrtd.dll.

But in your case it could be something completly different...

Cheers, Matthias

Matthias Röhm, University Ulm,
DaimlerChrysler AG, Research Center Ulm,
Department for Inline Inspection and
Data Mining Solutions, RMI/DM
P.O. Box 23 60, 89013 Ulm, Germany

Phone:  +49 (0)731 505 4864
Fax:      +49 (0)711 3052183085
Email:   mailto:Uni-Ulm.M.Roehm@xxxxxxxxxxxxxxxxxxx


> Hi,

>  
> Thanks Matthias for your reply.
>  
> I don’t think in this case it is a problem with shared libraries because:
>  
> Condors assigns the execute node as the current machine I’m submitting from
> It runs from the command line quite fine on the current machine
>  
> Kind Regards,
>  
> Shaun O’Callaghan
>  
>  
>
> From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-
> bounces@xxxxxxxxxxx] On Behalf Of uni-ulm.m.roehm@xxxxxxxxxxxxxxxxxxx
> Sent: 29 September 2006 11:43
> To: condor-users@xxxxxxxxxxx
> Subject: Re: [Condor-users] Running compiled MATLAB executables on Condor

>  
>
> Hi,
>
> maybe it is a problem with required libraries. Check if you need to
> transfer some MATLAB dlls. Some windows executables in Condor, also
> need for example msvcr71.dll or MSVCRTD.DLL.
>
> Cheers, Matthias
>
> Matthias Röhm, University Ulm,
> DaimlerChrysler AG, Research Center Ulm,
> Department for Inline Inspection and
> Data Mining Solutions, RMI/DM
> P.O. Box 23 60, 89013 Ulm, Germany
>
> Phone:  +49 (0)731 505 4864
> Fax:      +49 (0)711 3052183085
> Email:   mailto:Uni-Ulm.M.Roehm@xxxxxxxxxxxxxxxxxxx
>
>
> > Hi all,
> >  
> > I wish to run MATLAB executables, compiled under Windows on the Condor grid.
> >  
> > I think the problem either lies in the structure of the submit file
> > and/or the fact that the .ctf file that compiled matlab executables
> > use is a compressed file.  I’ve tried running the executable with
> > the arguments specified in the command line and it works fine.
> >  
> > Any thoughts on this would be great.
> >  
> > Kind Regards,
> >  
> > Shaun O’Callaghan
> >  
> >  
> >  
> > Currently my submit file looks like this:
> >  
> > submit.file
> > executable = compiled_executable.exe
> > universe = vanilla
> > Requirements = ((Arch == "INTEL") && ((OpSys == "WINNT52") || (OpSys
> > == "WINNT51")))
> > log = log.log
> > when_to_transfer_output = ON_EXIT
> > should_transfer_files = YES
> > output = output.log
> > error = error.log
> > transfer_input_files = some.JPG, compiled_executable.ctf,
> > compiled_executable.exe
> >  
> > arguements = some.JPG 10 10 10 10 10
> >  
> > queue
> >  
> > and the output of the job looks like this:
> >  
> > log.log
> >  
> > The job runs but then terminates after a few seconds with:
> >  
> > 000 (054.000.000) 09/29 10:58:01 Job submitted from host: <xxx.xxx.
> > xxx.xxx:1100>
> > ...
> > 001 (054.000.000) 09/29 10:58:09 Job executing on host: <xxx.xxx.
> xxx.xxx:1104>
> > ...
> > 005 (054.000.000) 09/29 10:58:09 Job terminated.
> >             (1) Normal termination (return value -1073741515)
> >                         Usr 0 00:00:00, Sys 0 00:00:00  -  Run Remote Usage
> >                         Usr 0 00:00:00, Sys 0 00:00:00  -  Run Local Usage
> >                         Usr 0 00:00:00, Sys 0 00:00:00  -  Total
> Remote Usage
> >                         Usr 0 00:00:00, Sys 0 00:00:00  -  Total Local Usage
> >             0  -  Run Bytes Sent By Job
> >             1485435  -  Run Bytes Received By Job
> >             0  -  Total Bytes Sent By Job
> >             1485435  -  Total Bytes Received By Job
> >  
> >  
> > ..._______________________________________________
> > 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 either
> > https://lists.cs.wisc.edu/archive/condor-users/
> > http://www.opencondor.org/spaces/viewmailarchive.action?key=CONDOR
> _______________________________________________
> 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 either
> https://lists.cs.wisc.edu/archive/condor-users/
> http://www.opencondor.org/spaces/viewmailarchive.action?key=CONDOR