Changes

Jump to navigation Jump to search
=Set up Matlab Parallel Computing Toolbox on NOTS=
Reference: https://docs.rice.edu/confluence/display/CD/Set+up+MATLAB+Parallel+Computing+Toolbox+from+a+cluster+login+node+on+DAVINCI ==Setting Up Passwordless SSH (SSH Keys) on the Clusters (copied/modified from [https://docs.rice.edu/confluence/display/CD/Setting+Up+Passwordless+SSH+%28SSH+Keys%29+on+the+Clusters this])==Passwordless SSH is required on the Shared Computing Resources if you need to run MPI jobs using srun, or need to use other specialized software which uses SSH for communication between nodes. The srun command spawns copies of your executable on all of the nodes allocated to you by SLURM. It will communicate with these nodes via SSH so it is necessary that SSH is configured with SSH host keys (passwordless SSH) for your account. This document describes how to enable passwordless SSH on these systems.<br> *The first step in establishing passwordless SSH is to create your public host keys. Login to the cluster and run the ssh-keygen command. Accept all of the default values and do not enter a passphrase. ssh-keygen -t rsa *After you have created your public host key above, append the contents of ~/.ssh/id_rsa.pub to ~/.ssh/authorized_keys. This will enable mpirun to login from one compute node to another using SSH without a password. cat .ssh/id_rsa.pub >> .ssh/authorized_keys *To avoid ssh prompts when automatically logging into compute nodes allocated by the scheduler, configure ssh to not use strict host key checking. Create the file ~/.ssh/config as shown below. nano ~/.ssh/config Host * StrictHostKeyChecking no UserKnownHostsFile /dev/null LogLevel QUIET

Navigation menu