I’m in the process of setting up a series of scripts to automate the process of created an OpenMole/SLURM cluster hosted on Google Compute. The SLURM part is already done by SchedMD, and their scripts work out of the box. I am trying to modify them to automate the setup of OpenMole as well.
I am a bit of newbie to all of this, so please accept my apologies if something I’m doing is wrongheaded. Please don’t hesitate to let me know if there is a better option.
Because I often use more than one computer in a day, it struck me that the best way to set this system up would be to have OpenMole running remotely on the login node hosted by Google instead of having it run on my local computer and SSHing into the login node. This works fine, except there is one part of the process which is a little clunky: SSH authentication.
So this leads me to a two-part question: First, is there any way for OpenMole to interact with a Slurm cluster without SSH? As it stands now, I’m having it SSH into “localhost” which works fine, but is needlessly cumbersome.
Second, if the answer to this is “no.” Is there an easy way to automate adding SSH authentication? Right now, I have to fire up console mode and add the key for localhost that way. This isn’t terribly hard, but it would be nice to automate it if possible. I tried the obvious thing of creating a script that adds authentication the same way one would add it in console mode. But that doesn’t appear to work.
Thanks in advance for all your help. I would be happy to share all my scripts once I have it working adequately.