Do I have to create the profile inside the Jupyterlab-user account in Linux, or any user (excluding root) should work fine?
It should be as the user account that is running jupyterlab.
I actually updated GitHub - minrk/ipyparallel-ssh-mpi-demo: demo for ipython parallel with mpi and ssh so you don’t have to pre-create the remote profile at all, if you add
c.SSHProxyEngineSetLauncher.ipcluster_args = ["--engines=mpi"]
I’m not quite sure I get what you’re asking, but the default cluster id for a cluster launched in Python is a random string (this allows multiple notebooks with defaults that create and manage their own clusters to avoid collisions). You can specify that is use the empty string (cluster_id=""
). If you launch from the clusters tab, it will use an empty string. If you use the jupyterlab extension instead of the old clusters tab, you can start clusters with any cluster id via the UI.