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

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



Before we started using Condor on Windows we were doing something similar using Torque/Maui on Linux and we asked Mathworks if it was OK and they said it was. The joy of software licensing seems to be that you get different answers every time you ask the questions. It’s a good job Matlab doesn’t do its calculations in the same way J

 

We do have a site license for every computer but I’ll investigate the compiler option. We actually give students a website for their job submission (rather than getting them to write submit files) so I’m sure we could just build the compile stage into that.

 

Thanks

 

Steve

 

From: htcondor-users-bounces@xxxxxxxxxxx [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of Stephen McGough
Sent: 07 January 2013 12:48
To: HTCondor-Users Mail List
Subject: Re: [HTCondor-users] Matlab on Condor (Windows)

 

Hi Steve,

 

We use Matlab quite a lot here at Newcastle. We found similar problems when upgrading and discovered that it was a violation of the licence agreement for Matlab to use it in this manner. To get around it we bought a copy of the Matlab compiler. This allows us now to produce windows .exe versions of our .m files which (once the Matlab runtime environment has been installed around the cluster) allows the code to be run successfully.

 

Hope that helps,

 

Steve..

 

From: <Rochford>, Steve <s.rochford@xxxxxxxxxxxxxx>
Reply-To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Date: Monday, 7 January 2013 10:38
To: "htcondor-users@xxxxxxxxxxx" <htcondor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] Matlab on Condor (Windows)

 

We’ve previously run Matlab very successfully on our Windows setup but now we’re having problems – matlab jobs don’t complete.

 

Unfortunately, we’ve upgraded both Matlab (2012a) and Condor (7.8.2) over the summer so I’m not sure which (if either) is causing the problem.

 

A sample command we’re trying to run is:

 

matlab.exe -nodesktop -noFigureWindows -nosplash -wait -nojvm -r go

 

where “go” is the name of a .m file in the current directory.

 

The files we need are getting copied to an execute node, I can see (by using pslist) that Matlab is starting but it’s not actually executing the code in go.m (the first line of go.m creates a text file for results; that’s not being created)

 

The matlab.exe which is on the path is just some kind of loader which runs c:\matlab\R2012a\bin\win64\MATLAB.exe and that actually runs the code so I’ve tried using this command instead:

 

c:\matlab\R2012a\bin\win64\MATLAB.exe -nodesktop -noFigureWindows -nosplash -wait -nojvm -r go

 

but this doesn’t run to completion either.

 

If I just log on to a computer interactively, copy the contents of a stalled execute directory to it and try and run the submitted command then it works fine.

 

Does anyone have experience of using Matlab like this?

 

Steve