The Condor context does not seem to have a GUI, whereas the CMD environment kind of still has......it could be that the Excel support in Matlab chokes on that.....just a wild guess. -Rob.
On Thursday, December 5, 2013 8:19 PM, Dennis Zheleznyak <dennis@xxxxxxxxxxxxx> wrote:
_______________________________________________Hello all,We are using the following layout:Latest 8.1.2 CondorWindows 7 Professional 64BitMicrosoft Office 2007 EnterpriseMatLab R2013aWe've complied a small program that accepts a parameter, searches for it inside the first column of an Excel sheet and prints the content of the line to a file which the compiled program creates.When running the program through CMD it works properly, as intended (a file is being created with the content of the desired line):program.exe <string parameter>When sending it through Condor, the following error is received:{ Error using Interface.000208DB_0000_0000_C000_000000000046/OpenInvoke Error, Dispatch Exception:Source: Microsoft Office ExcelDescription: Microsoft Office Excel cannot access the file'C:\condor\execute\dir_10592\DataBase22.xlsx'. There are several possiblereasons:• The file name or path does not exist.• The file is being used by another program.• The workbook you are trying to save has the same name as a currently openworkbook.Help File: C:\Program Files (x86)\Microsoft Office\Office12\1033\XLMAIN11.CHMHelp Context ID: 0Error in xlsreadCOM (line 13)Error in xlsread (line 230)Error in demo22 (line 31)}MATLAB:COM:E2148140012This is our condor submit file:executable = readingexcel.exearguments = 657input = DataBase22.xlsxtransfer_input_files = DataBase22.xlsxuniverse = vanillaoutput = output.$(cluster)error = error.$(cluster)log = log.$(cluster)should_transfer_files = YESwhen_to_transfer_output = ON_EXITgetenv= Trueload_profile = Truequeue 1The excel sheet opens properly, it is copied to the temporary condor\execute folder and has valid data inside.I searched for a solution in Google, tried adding 'basic' to the xlsread and it didn't help either.I also made sure that all excel processes are closed before starting the job.Does anyone have any suggestion ?Thank you,Dennis.
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/
_______________________________________________
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/