[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Condor-users] MCR MATLAB Issues
- Date: Mon, 13 Aug 2007 16:33:59 -0500
- From: "James Snyder" <jbsnyder@xxxxxxxxx>
- Subject: [Condor-users] MCR MATLAB Issues
I initially had some great success with getting MATLAB compiler compiled code (using lcc), but lately I'm having trouble with the jobs that have been submitted running on remote WinXP hosts.
The main error I'm currently getting back is "??? Undefined function or variable 'matlabrc'."
Some machines are also giving me:
Could not create directory: 'C:\Documents and Settings\Default User\Application Data\MathWorks\MATLAB\mcr_v75\main_6C985847B4BE48E9B6364FFEB5FFBE97'
??? Undefined function or variable 'matlabrc'.
I don't understand why it would be attempting to write out to this location on the C: drive.
condor_submit script is as follows:
universe = vanilla
requirements = (OpSys == "WINNT51") && (Memory >= 100)
should_transfer_files = YES
environment = "PATH=c:\WINDOWS\system32\"
when_to_transfer_output = ON_EXIT
executable = condor_win32_alab.bat
arguments = $(process) 40 reverse
output = alab_$(process).out
error = alab_$(process).err
notification = Error
log = general.log
And the bat file I'm using to get things up and running (the MCR libraries are served from a Linux host running samba):
net use m: \\<removed>\lab_bin /USER:condor /PERSISTENT:no <removed>
main.exe %1 %2 %3
I added the APPDATA and ALLUSERSPROFILE hoping to prevent it from trying to write to the default user app data directory, no joy there. Any suggestions? The compiled exe file works just fine when run locally on a machine.