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

Re: [Condor-users] Windows Condor Pool: job exit code -1073741502



Hi Klaus:

I've tested the script on my machine and it runs as advertised.
Presumably you are running this job where the executable is a
batch file, so it is possible that the executable returning the
error code is cmd.exe (which interprets batch files) and not
your script.

Maybe post you submit file, just to make sure there is nothing
abnormal in it.

Does your user log give any hints about the execution? Like maybe
the shadow existed, etc.?  Also, check your startd/shadow/starter
logs to see if there is something amiss in them.  It is typical
to see a line like: Create_Process(condor_exec.exe, condor_exec.bat, ...)
in the starter log if something went wrong with the job's execution.

Regards,
-B
 

From: condor-users-bounces@xxxxxxxxxxx
[mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of
kschwarz@xxxxxxxxxxxxxx
Sent: Wednesday, March 25, 2009 2:23 PM
To: Condor-Users Mail List
Subject: Re: [Condor-users] Windows Condor Pool: job exit code -1073741502


Todd, 

My job runs an batch file, see it below: 

@echo off 
setlocal 
set THINKING_TIME=2 
set COUNT=10 
if not A%1 == A ( set THINKING_TIME=%1 ) 
if not A%2 == A ( set COUNT=%2 ) 
echo Thinking really hard for %THINKING_TIME% seconds... 
rem We use ping here as a hack because "sleep" is non-standard. 
ping -n %THINKING_TIME% 127.0.0.1 >NUL 2>&1 
rem ping -n %THINKING_TIME% 127.0.0.1 
echo Our result: 
if %COUNT% GEQ 1 ( 
   for /L %%x in (1,1,%COUNT%) do ( 
        echo %%x 
   ) 
) 
endlocal 

there is no .exe program to check DLL dependencies. The only command it is
running is the ping.exe and before its execution at least an echo is
supposed to be output to the output file, but it is empty. 

Excuse my lack of knowledge about, but I need further assistance. 

Thanks, Klaus