HPMC User Guide v 1.00
© 2022 Bassem W. Jamaleddine


A

   Logging in to the MIC

MIC Essentials:

The MIC card is Intel Math Co-Processor that is slotted in PCIe and is made available on your HPMC host computer. The HPMC is the host computer and the MIC card is the client computer. At any time you should be able to ssh to the host MIC simply by typing: ssh mic0

This section introduces you to the essential administration of your MIC Co-processor-.

The MIC card is booted within your own HPMC as an embedded Linux system. There are many steps to get the MIC operational. Understanding these steps will help you to troubleshoot issues that you encounter when using your MIC Co-Processor.

First step, try to ssh to your MIC:

ssh mic0

You should be logged into the MIC and presented with the MIC Linux prompt. Such login does not require to provide any user name or password. If you cannot login to your MIC, then make sure that MPSS is up and running:

systemctl status mpss

You can restart MPSS and try to ssh mic0 again:

systemctl restart mpss

Check that MPSS is up and serving, you can tail the dmesg in another terminal while "systemctl restart mpss" is being restarted:

tail dmesg

If MPSS fails to restart then reset the MIC card:

micctrl -rw

The above command will reset the MIC and wait until the reset is done. Now check on your MIC status. The MIC status must be in "ready" state before starting MPSS. Check the status of the MIC:

micctrl -s

If the above command shows that the MIC is in "ready" state, then you can retry starting MPSS:

systemctl restart mpss

Wait a minute then check if MPSS service is brought up successfully:

systemctl status mpss

Also you can check the system dmesg output:

dmesg

Now you should be able to ssh to your MIC:

ssh mic0





If you cannot "ssh mic0" successfully, then you need to regenerate your id_rsa. Assuming you are the user 'root', issue the following command to regenerate your id_rsa:

ssh-keygen

Add your /root/.ssh/id_rsa to /var/mpss/mic0/root/.ssh/authorized_keys:

cat /root/.ssh/id_rsa >> /var/mpss/mic0/root/.ssh/authorized_keys

Restart MPSS:

systemctl restart mpss

Wait until MPSS service is started successfully. Now you should be able to ssh to your MIC:

ssh mic0



If you still have trouble accessing the MIC Co-Processor then you need to follow the step in the next appendix MIC TROUBLESHOOTING.