k-user AT lists.cs.illinois.edu
Subject: K-user mailing list
List archive
- From: Robby Findler <robby AT eecs.northwestern.edu>
- To: "Guth, Dwight" <dguth2 AT illinois.edu>
- Cc: "k-user AT cs.illinois.edu" <k-user AT cs.illinois.edu>
- Subject: Re: [K-user] krun in parallel?
- Date: Fri, 19 Oct 2012 13:37:09 -0500
- List-archive: <http://lists.cs.uiuc.edu/pipermail/k-user/>
- List-id: <k-user.cs.uiuc.edu>
Another thought: put the pid into the directory name and then you can
check to see if the process is still running before deleting the
directory.
Robby
On Fri, Oct 19, 2012 at 11:30 AM, Guth, Dwight
<dguth2 AT illinois.edu>
wrote:
> If the error you got is that it was trying to read a file in a directory
> called something like "krun1234567890" where there's this big number at the
> end, and it says that that directory does not exist, then the issue is that
> currently starting krun by default deletes all temporary krun directories in
> order to clean up, including ones currently still running. If you want to
> run krun in parallel you can run it with the --no-deleteTempDir option.
>
> I recognize this is not precisely ideal so I am going to work on fixing the
> code that causes krun directories to be renamed when krun terminates. Then
> I can just get rid of the deletion of temporary directories entirely, since
> it exists primarily to clean up after orphaned directories.
>
> _______________________________________________
> k-user mailing list
> k-user AT cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/k-user
>
- [K-user] krun in parallel?, Robby Findler, 10/18/2012
- Re: [K-user] krun in parallel?, Rosu, Grigore, 10/18/2012
- <Possible follow-up(s)>
- Re: [K-user] krun in parallel?, Guth, Dwight, 10/19/2012
- Re: [K-user] krun in parallel?, Robby Findler, 10/19/2012
- Re: [K-user] krun in parallel?, Robby Findler, 10/19/2012
- Re: [K-user] krun in parallel?, Guth, Dwight, 10/19/2012
- Re: [K-user] krun in parallel?, Guth, Dwight, 10/19/2012
- Re: [K-user] krun in parallel?, Guth, Dwight, 10/19/2012
Archive powered by MHonArc 2.6.16.