s-news
[Top] [All Lists]

question about batch job in Splus

To: s-news@wubios.wustl.edu
Subject: question about batch job in Splus
From: Jin Zhu <jinzhu@indiana.edu>
Date: Mon, 11 Dec 2000 15:52:47 -0500 (EST)
Reply-to: Jin Zhu <jinzhu@indiana.edu>
Dear Splus-users:

I have one question about Splus batch job to ask. Please help me if you
know where the problem is. Thanks in advance!

I am running one batch job to do a simulation in splus in Sun Solaris. I
used the command "Splus5 BATCH filename out &" to do the simulation, which
was supposed to do 1000 iterations. The first 40 iterations were done
successfuly (finished in one hour), but after that, the program was
running very slowly. I used the command "ps -elf | grep username" to check
the status, and was given 

"8 S     peng  1645     1 31  39 20        ?  39715        ? 23:25:02
pts/1   24:08 /usr/local/statmath/splus/cmd/Sqpe                    "

The second letter "S" in the first line indicates "sleeping" or
"suspended" (while the program was running normallly, the second letter
was "R", meaning running). 

I tried the same command many times, and each time, Unix gave me the "S"
status after about one-hour running and the program seemed dead. I
contacted the Unix administrator, and he told me there is no one-hour
killing setup in that machine I used.

Since in each iteration I did the same thing and overwrote the objects. I
think there is nothing wrong with my code. However, I analyzed one large
data set. In each iteration, one line of 6 numbers was added to a
file. The output file didn't occupy large space. What I don't
understand is that why the program can succeed for 40 iterations. 

Thanks!

Jin Zhu


<Prev in Thread] Current Thread [Next in Thread>
  • question about batch job in Splus, Jin Zhu <=