Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Condor Job Success With different return value
- Date: Mon, 9 Oct 2006 15:53:05 -0400
- From: "Natarajan, Senthil" <senthil@xxxxxxxx>
- Subject: Re: [Condor-users] Condor Job Success With different return value
Thanks, I tried the same thing.
Senthil
-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx
[mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Nick LeRoy
Sent: Monday, October 09, 2006 3:43 PM
To: Condor-Users Mail List
Subject: Re: [Condor-users] Condor Job Success With different return
value
On Mon October 9 2006 1:28 pm, Natarajan, Senthil wrote:
> Hi,
>
> I am submitting a job (C executable), it runs and I am getting the
> output file I expect. But in the log file it says different return
value
> for different machine it runs in
>
> So if I submit this as a DAGMan job, other jobs are not running
because
> the return value. I am getting the correct result then what this
return
> values means.
This most likely means that your program terminated by "hitting" the end
of
main(), and thus doesn't have a predicatable exit status. Assuming your
program is in C or C++, you can fix this by adding an "exit(0);" or
"return
0;" to the end of your main() function.
-Nick
--
<<< The Matrix is everywhere. >>>
/`-_ Nicholas R. LeRoy The Condor Project
{ }/ http://www.cs.wisc.edu/~nleroy http://www.cs.wisc.edu/condor
\ / nleroy@xxxxxxxxxxx The University of Wisconsin
|_*_| 608-265-5761 Department of Computer Sciences
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with
a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users
The archives can be found at either
https://lists.cs.wisc.edu/archive/condor-users/
http://www.opencondor.org/spaces/viewmailarchive.action?key=CONDOR