Closed unkcpz closed 5 days ago
Hi, you can use the server directory parameter to run completely independent instances of HyperQueue.
To avoid having to pass --server-dir
to all commands separately, you can also use the HQ_SERVER_DIR
environment variable to set the server directory, and e.g. export it in the same terminal session:
$ export HQ_SERVER_DIR=/my/dir
$ hq server start &
$ hq worker start &
$ hq submit ...
Okay, thanks for fast reply! Will give it a try.
In the supercomputer I use, it has two domains point to two type of machines. For user, the home is shared by two machine. That is to say, no matter which machine I use, I login and see the same home. But this cause the problem when I want to use hyperqueue on both machines. I can use
--access-file
to tell which hostname and ports to use, but only onehq-current
. I start HQ server for one machine, the other one cannot connect to server. I guess client use info inhq-current
to talk to server. Is there a way to make it independent to each other so I can run hyperqueue on both?