Configuring Vivado to run on SLURM using ssh to connect the client to the
scheduler.
Figure 1. SLURM Compute Nodes
In this example, the client machine name is xcolc200189, the scheduler machine name is xcolc200185.
- Set up SSH keys on client and scheduler to enable ssh without password.
- Start Vivado on the client machine.
- Create a custom SLURM cluster.
- Open the Vivado settings window ( ).
- Select .
- Click the "+" button in the toolbar to create a new cluster configuration.
- Fill in the form as follows. Important to leave the type as Custom.
- Launch a job on the cluster to test the configuration.
- Select .
- Next. Select BFT and click Next.
- Select a name and directory and click Next.
- Select the default part (xc7k70tfbg484-2) and click Next.
- Click Finish. In the
design runs
Window, select synth_1 row and
click the green play toolbar button.
- In the launch
runs window, choose Launch runs on cluster and in the combo box, select the
custom cluster name created above.
- Click OK to launch the job.
- In a terminal, ssh into the scheduler machine and check to see the job
running using the
squeue
command on the scheduler machine.
- See the job complete successfully in the Vivado session running on the client.