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

[Condor-users] Help to write a correct on_exti_remove



Hello to all,

Usually the valid exit codes on my jobs are o and 1. I thought the _expression_ below: && ((ExitCode==0)||(ExitCode ==1)), was proper for my environment for jobs to get resubmitted if they failed but when I sent a couple of jobs for testing purposes. Since I didn’t received any error notifications I thought my jobs ran without hiccups but when I compared the results , some of them were not correct and they needed to be resubmitted. So my condition did not work as expected.

Collecting input from my users, they told me there is an specific condition for this type of job I was testing;  The condition for jobs to be resubmitted is the size of the input and output file have to be the same. Do I make sense? If I don’t please let me know. If there any way to include compare the image size of the input and output files and if they don’t match they will stay in the queue to be resubmitted again?

Thanks for your help in advance…

 

UNIVERSE = VANILLA

REQUIREMENTS = OpSys == "WINNT52" || OpSys == "WINNT51" && Disk > 1 && Memory > 1

NOTIFY_USER = aalas@xxxxxxxxxx

NOTIFICATION = Error

&& ((ExitCode==0)||(ExitCode ==1))

GETENV = TRUE

INITIALDIR = \\sharename\Sub_dir1\Sub_dir2\Sub_dir3\bin\LIDAR

SHOULD_TRANSFER_FILES = YES

WHEN_TO_TRANSFER_OUTPUT = ON_EXIT

TRANSFER_INPUT_FILES = classPolyM.exe

RUN_AS_OWNER = TRUE

 

Respectfully,

Alex Alas

Systems Administrator
Fugro EarthData Inc
.