opentuner icon indicating copy to clipboard operation
opentuner copied to clipboard

Multiple halidetuner instances cannot run concurrently

Open jrk opened this issue 10 years ago • 2 comments

Even running a separate --make-settings-file process will conflict with and kill any running tuning process. Without investigation, I presume this is because of hard-coded non-unique tmpfile paths.

jrk avatar Feb 27 '14 00:02 jrk

@jansel is this just because everybody tries to use /tmp/halide.bin?

jrk avatar Feb 27 '14 00:02 jrk

yes, the problem is /tmp/halide.bin -- this is leftover from a older bug where we leaked processes (now fixed) and needed an easy way to killall.

if your running multiple copies you may want to point at separate --database=, or use something like postgres which handles more than one connection well.

On Wed, Feb 26, 2014 at 4:39 PM, Jonathan Ragan-Kelley < [email protected]> wrote:

@jansel https://github.com/jansel is this just because everybody tries to use /tmp/halide.bin?

— Reply to this email directly or view it on GitHubhttps://github.com/jansel/opentuner/issues/14#issuecomment-36196919 .

jansel avatar Feb 27 '14 02:02 jansel