3 | | == Issue description == |
4 | | |
5 | | * We found that if we run mpd with superuser privilege (i.e. root permission), normal user in each node can not connect to mpd to run R-MPI. |
6 | | * First, we had finished the ip and hostname mapping by modifying /etc/hosts, and then use scp to exchange ssh public key to each compute node. |
7 | | {{{ |
8 | | bio-cluster-12:~# cat /etc/hosts |
9 | | X.X.X.12 bio-cluster-12 |
10 | | X.X.X.11 bio-cluster-11 |
11 | | X.X.X.10 bio-cluster-10 |
12 | | X.X.X.9 bio-cluster-09 |
13 | | X.X.X.8 bio-cluster-08 |
14 | | X.X.X.7 bio-cluster-07 |
15 | | X.X.X.6 bio-cluster-06 |
16 | | |
17 | | bio-cluster-12:~# for i in 11 10 09 08 07 06; do scp .ssh/id_rsa.pub bio-cluster-$i:.ssh/authorized_keys; done |
18 | | }}} |
19 | | * We had created the same mpd.conf in each node |
20 | | {{{ |
21 | | bio-cluster-12:~# cat > /etc/mpd.conf << "EOF" |
22 | | > secretword=this_is_password |
23 | | > EOF |
24 | | |
25 | | bio-cluster-12:~# for i in 11 10 09 08 07 06; do scp /etc/mpd.conf bio-cluster-$i:/etc/.; done |
26 | | }}} |
27 | | * The mpd.hosts file is as following: |
28 | | {{{ |
29 | | bio-cluster-12:~# cat mpd.hosts |
30 | | bio-cluster-11 |
31 | | bio-cluster-10 |
32 | | bio-cluster-09 |
33 | | bio-cluster-08 |
34 | | bio-cluster-07 |
35 | | bio-cluster-06 |
36 | | }}} |
37 | | * run mpdboot with superuser privilege |
38 | | {{{ |
39 | | |
40 | | }}} |
41 | | * Reference Solution: [http://structbio.vanderbilt.edu/comp/soft/amber/start.php Getting started with AMBER] |
| 5 | * Reference Configuration Guide: |
| 6 | * [http://structbio.vanderbilt.edu/comp/soft/amber/start.php Getting started with AMBER] |
| 14 | jazz@bio-cluster-12:~$ ssh-keygen -t rsa |
| 15 | Generating public/private rsa key pair. |
| 16 | Enter file in which to save the key (/home/jazz/.ssh/id_rsa): |
| 17 | Enter passphrase (empty for no passphrase): |
| 18 | Enter same passphrase again: |
| 19 | Your identification has been saved in /home/jazz/.ssh/id_rsa. |
| 20 | Your public key has been saved in /home/jazz/.ssh/id_rsa.pub. |
| 21 | The key fingerprint is: |
| 22 | XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX jazz@bio-cluster-12 |