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

Re: [Condor-users] Please help



I'm not 100% sure about running MATLAB on Windows (we use Linux and OS X), but a couple of things seem wrong with the submit file. First,

input = factorial.m

will send the contents of factorial.m as standard input to MATLAB (i.e., as if you typed it in the terminal window). It looks like you're trying to run that .m file though with:

arguments = -nojvm -r factorial

So, I would remove the input line and replace it with

transfer_input_files = factorial.m

Next, does your factorial.m file generate a new output file or print to the screen? If it generates an output file (e.g., with MATLAB save), then it should get transferred back. Whatever you do, don't name it factorial.out, since you're already using that filename for output to the screen with

output = factorial.out

If you're expecting factorial.m to generate output to the screen/terminal window, then it should appear in factorial.out, not in a different file.

    Craig

On Dec 10, 2009, at 11:30 AM, Tom T wrote:

Kent,
Thank you for the prompt response.I have tried  ON_EXIT but it didn't make any difference.
Thanks
Tom 


From: R. Kent Wenger <wenger@xxxxxxxxxxx>
To: Condor-Users Mail List <condor-users@xxxxxxxxxxx>
Sent: Thu, December 10, 2009 12:13:51 PM
Subject: Re: [Condor-users] Please help

On Thu, 10 Dec 2009, Tom T wrote:

I am looking for solution.If any one out there can help me with this issue that will be sweet.I am submiting this issue for a second time.Pleassssssssssssssssss Help
I'm currently working on Condor 7.4 on window machines. I have one central manager(window 7),one submit and one execute machines.I've been able to run the examples successfully & even some vanilla jobs.  Matlab jobs run, but don't provide the output back to the submit node . The job seems to be running and executing fine on the execute machine, but it isn't transferring output files upon job completion to the submit machine. I’m not too sure what's going wrong but hopefully someone out there can point me in the right direction. I have attached the output files.
My submit file
#####################################################
# matlab.condor
#
executable = C:\Program Files\MATLAB\R2009a\bin\win32\matlab.exe
arguments = -nojvm -r factorial
universe = vanilla
requirements = ( OpSys=="WINNT51" ) && ( ARCH=="INTEL" )
input = factorial.m
Rank=machine=="condor_dell1.xxx.xxxx.edu"
should_transfer_files = yes
transfer_executable = false
when_to_transfer_output = always
notification = NEVER
log = factorial.txt
output = factorial.out
error = factorial.err
queue
########################################

I think you want a value of ON_EXIT for when_to_transfer_output.
"always" is not a valid setting for that parameter.  (See the relevant
manual section: http://www.cs.wisc.edu/condor/manual/v7.4/2_5Submitting_Job..html#sec:file-transfer).

Kent Wenger
Condor Team

<ATT00001.txt>

--
Craig A. Struble, Ph.D. | 369 Cudahy Hall  | Marquette University
Associate Professor of Computer Science    | (414)288-3783
Director, Master of Bioinformatics Program | (414)288-5472 (fax)