exited with code 35072

2,207 views
Skip to first unread message

Andrew Dabrowski

unread,
Apr 18, 2014, 11:21:34 AM4/18/14
to julia...@googlegroups.com
What does "code 35072" mean?

I'm experimenting with parallel processes on a mainframe, and my test job with a short execution time and small data set ran fine, when I tried the same program with a large data set and long execution time I got the error "exited with code 35072".



Stefan Karpinski

unread,
Apr 18, 2014, 11:40:34 AM4/18/14
to Julia Users
No idea. Can you give more context?

Andrew Dabrowski

unread,
Apr 18, 2014, 11:55:11 AM4/18/14
to julia...@googlegroups.com
I'm experimenting with GAs.  I'm using a Dict to keep tabs on the population and fitness, and I wanted to try using a parallel algorithm to initially populate the Dict.

function pAddQGen( n::Int, dct::Dict{ Array{Int,1}, Float64 }, len::Int=4000, lim::Int=5 )
    lst
= [ randOrthGen( len, lim, false ) for i = 1 : n ]
   
function enter( gen:: Array{Int,1}, fit::Float64 )
        dct
[ gen ] = fit
   
end
    fits
= pmap( getQGenFit, lst )
    map
( enter, lst, fits )
end



The function randOrthGen just generates a random genome, and getQGenFit evaluates its fitness.  When I test this with
pAddQGen( 2, testD, 10,  2 )
as a batch job on the mainframe it seems to run fine, but when I try it with len=4000 it produces the error.

As you've probably grown tired of hearing me say, I'm not a real programmer, so feel free to tell me I'm doing everything all wrong.





Stefan Karpinski

unread,
Apr 18, 2014, 12:47:33 PM4/18/14
to Julia Users
As far as I'm concerned, anyone who writes programs is a programmer. How are you getting this error code? Is it being printed by the Julia process? By the shell? By the batch scheduler? 35072 is 137 << 8 (status codes are left shifted by a byte for some reason I can't recall) and status code 137 seems to indicate getting reaped by the OOM killer: http://stackoverflow.com/questions/1041182/why-does-my-perl-script-exit-with-137. It seems like when you run with len = 4000, you may be allocating too much memory.

Andrew Dabrowski

unread,
Apr 18, 2014, 1:02:15 PM4/18/14
to julia...@googlegroups.com
Ahh, thanks, that's a good clue, I'll fool around with memory allocation...

The error code is via the batch scheduler, but seems to be just passed on from Julia.
Reply all
Reply to author
Forward
0 new messages