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

Re: [HTCondor-users] Matlab on Condor (Windows)

Last word on this hopefully...

You may need to copy the pathdef.m file to the Condor execute folder 
for the toolboxes to work (if you use them) e.g.

copy c:\matlab2012\toolbox\local\pathdef.m .

This is useful in building standalone executables using the Matlab Compiler 
Toolbox (the mcc command) actually on a pool PC.

The upshot is that the temporary Condor execute account(s) don't have a proper
profile so you need to set up an artificial one for Matlab to work (thanks
to MathWorks for pointing this out).



Definitely the last word:-

If you don't include a "quit" command at the end of the M-file, the
Matlab interpreter will hang around for ever waiting for the next command 
and the jobs will never complete. Hindsight - always 20/20. 

> -----Original Message-----
> From: htcondor-users-bounces@xxxxxxxxxxx [mailto:htcondor-users-
> bounces@xxxxxxxxxxx] On Behalf Of Todd Tannenbaum
> Sent: 06 February 2013 15:44
> To: HTCondor-Users Mail List
> Subject: Re: [HTCondor-users] Matlab on Condor (Windows)
> On 2/6/2013 6:35 AM, Rochford, Steve wrote:
> > Many thanks for this – it seems to be working.
> >
> FYI, I appended the below wisdom onto the wiki page
>    https://htcondor-wiki.cs.wisc.edu/index.cgi/wiki?p=HowToRunMatlab
> This wiki page is attempting to gather up all the various MATLAB on
> HTCondor wisdom tidbits in one place.  Folks should be encouraged to
> improve this page!
> thanks
> Todd
> _______________________________________________
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx
> with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/htcondor-users/