Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Matlab job without compile
- Date: Fri, 13 May 2011 18:37:18 +0900
- From: "wanyan" <wanyan@xxxxxxxxxxxxxx>
- Subject: Re: [Condor-users] Matlab job without compile
to Todd
thanks your advice
copy of your submit description file and/or your .bat file. is ↓
------------------
I try it with matlab standalone and it is OK .
but when I run with matlab script (sample1 ) it cannot run at romote PC.,
(the process matlab.exe is start but cannot run [idle]
and the click matlab.exe restart run is OK.)
Sample 1:
submit file (cp.sub)
------------------------
universe = vanilla
executable = cp1.bat
initialdir = C:\user\CondorMatlab
log = matlabtest.log
error = matlabtest.err
input = CondorMatlabTest.m
getenv = true
requirements = (NAME == "slot1@remotePC")
queue
---------------------------
cp1.bat
----------------
cd "C:\PROGRA~1\MATLAB\R2007b\bin\win32"
matlab.exe -r "CondorMatlabTest"
-----------------
Thanks in advance
-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxx
edu] On Behalf Of Todd Tannenbaum
Sent: Wednesday, May 11, 2011 9:02 PM
To: Condor-Users Mail List
Subject: Re: [Condor-users] Matlab job without compile
wanyan wrote:
>
> I want to run matlab jobs but i don't want to compile it! but it
> cannot run. the batfile(matlab job run) can run with click it but
> cannot run when condor sent.
>
> (the all PC have the matlab licence alone)
>
> Any suggestion?
>
Some random thoughts:
- Can you run Matlab from the command prompt?
- Most common issue: add the following to your submit description file -
getenv = True
This will start the job w/ the same set of environment variables you
have at the command prompt.
- Is the "batfile" you mention something you wrote? Does it rely on
files on a shared filesystem that are not accessible by the generic
condor run account?
Hope the above helps. If not, try posting more information to the list,
such as a copy of your submit description file and/or your .bat file.
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/