Run a task on a specific host

If you want to run your task on a particular host, use the lsrun ‑m option:
lsrun -m hostD mytask