27.12.2014 Views

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3–TrueScale Cluster Setup and Administration<br />

<strong>Host</strong> Environment Setup for MPI<br />

Edit the ~/.ssh/config file so that it reads like this:<br />

<strong>Host</strong>*<br />

ForwardAgent yes<br />

ForwardX11 yes<br />

Check<strong>Host</strong>IP no<br />

Strict<strong>Host</strong>KeyChecking no<br />

This file forwards the key agent requests back to your desktop. When you<br />

log into a front end node, you can use ssh to compute nodes without<br />

passwords.<br />

4. Follow your administrator’s cluster policy for setting up ssh-agent on the<br />

machine where you will be running ssh commands. Alternatively, you can<br />

start the ssh-agent by adding the following line to your ~/.bash_profile<br />

(or equivalent in another shell):<br />

eval ‘ssh-agent‘<br />

Use back quotes rather than single quotes. Programs started in your login<br />

shell can then locate the ssh-agent and query it for keys.<br />

5. Finally, test by logging into the front end node, and from the front end node<br />

to a compute node, as follows:<br />

$ ssh frontend_node_name<br />

$ ssh compute_node_name<br />

For more information, see the man pages for ssh(1), ssh-keygen(1),<br />

ssh-add(1), and ssh-agent(1).<br />

Process Limitation with ssh<br />

Process limitation with ssh is primarily an issue when using the mpirun option<br />

-distributed=off. The default setting is now -distributed=on; therefore, in<br />

most cases, ssh process limitations will not be encountered. This limitation for the<br />

-distributed=off case is described in the following paragraph. See “Process<br />

Limitation with ssh” on page F-19 for an example of an error message associated<br />

with this limitation.<br />

MPI jobs that use more than 10 processes per node may encounter an ssh<br />

throttling mechanism that limits the amount of concurrent per-node connections<br />

to 10. If you need to use more processes, you or your system administrator must<br />

increase the value of MaxStartups in your /etc/ssh/sshd_config file.<br />

D000046-005 B 3-33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!