Advertisement
Guest User

Untitled

a guest
Dec 1st, 2017
956
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 30.90 KB | None | 0 0
  1. Last login: Fri Dec  1 11:28:41 on ttys001
  2. stetsyks-MacBook-Pro:~ stetsyk$ ssh oleksiy@35.227.116.61
  3. ssh: connect to host 35.227.116.61 port 22: Connection refused
  4. stetsyks-MacBook-Pro:~ stetsyk$ ssh oleksiy130@35.227.116.61
  5. ssh: connect to host 35.227.116.61 port 22: Connection refused
  6. stetsyks-MacBook-Pro:~ stetsyk$ ssh oleksiy130@35.227.116.61
  7. The authenticity of host '35.227.116.61 (35.227.116.61)' can't be established.
  8. ECDSA key fingerprint is SHA256:gw+OQPxkMam1Qgg44QoV79T27njWAlAvfgl96IPS6NA.
  9. Are you sure you want to continue connecting (yes/no)? yes
  10. Warning: Permanently added '35.227.116.61' (ECDSA) to the list of known hosts.
  11. Welcome to Ubuntu 17.10 (GNU/Linux 4.13.0-17-generic x86_64)
  12.  
  13. * Documentation:  https://help.ubuntu.com
  14. * Management:     https://landscape.canonical.com
  15. * Support:        https://ubuntu.com/advantage
  16.  
  17.  Get cloud support with Ubuntu Advantage Cloud Guest:
  18.    http://www.ubuntu.com/business/services/cloud
  19.  
  20. 0 packages can be updated.
  21. 0 updates are security updates.
  22.  
  23.  
  24.  
  25. The programs included with the Ubuntu system are free software;
  26. the exact distribution terms for each program are described in the
  27. individual files in /usr/share/doc/*/copyright.
  28.  
  29. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
  30. applicable law.
  31.  
  32. _____________________________________________________________________
  33. WARNING! Your environment specifies an invalid locale.
  34. The unknown environment variables are:
  35.   LC_CTYPE=UTF-8 LC_ALL=
  36. This can affect your user experience significantly, including the
  37. ability to manage packages. You may install the locales by running:
  38.  
  39.   sudo apt-get install language-pack-UTF-8
  40.     or
  41.   sudo locale-gen UTF-8
  42.  
  43. To see all available language packs, run:
  44.   apt-cache search "^language-pack-[a-z][a-z]$"
  45. To disable this message for all users, run:
  46.   sudo touch /var/lib/cloud/instance/locale-check.skip
  47. _____________________________________________________________________
  48.  
  49. oleksiy130@instance-1:~$ sudo apt update && sudo apt upgrade -y && sudo apt install libmpich-dev -y
  50. Hit:1 http://us-east1.gce.archive.ubuntu.com/ubuntu artful InRelease
  51. Get:2 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates InRelease [78.6 kB]
  52. Get:3 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-backports InRelease [72.2 kB]
  53. Get:4 http://security.ubuntu.com/ubuntu artful-security InRelease [78.6 kB]    
  54. Hit:5 http://archive.canonical.com/ubuntu artful InRelease                    
  55. Get:6 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/restricted Sources [5392 B]
  56. Get:7 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/universe Sources [8721 kB]
  57. Get:8 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main Sources [849 kB]
  58. Get:9 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/multiverse Sources [182 kB]
  59. Get:10 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates/universe Sources [14.2 kB]
  60. Get:11 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates/restricted Sources [964 B]
  61. Get:12 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates/main Sources [35.4 kB]
  62. Get:13 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates/multiverse Sources [720 B]
  63. Get:14 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates/main amd64 Packages [83.5 kB]
  64. Get:15 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates/main Translation-en [39.8 kB]
  65. Get:16 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates/universe amd64 Packages [31.2 kB]
  66. Get:17 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates/universe Translation-en [19.0 kB]
  67. Get:18 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-backports/main Sources [1184 B]
  68. Get:19 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-backports/universe Sources [1220 B]
  69. Get:20 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-backports/universe amd64 Packages [2656 B]
  70. Get:21 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-backports/universe Translation-en [1096 B]
  71. Get:22 http://security.ubuntu.com/ubuntu artful-security/multiverse Sources [720 B]
  72. Get:23 http://security.ubuntu.com/ubuntu artful-security/universe Sources [6180 B]
  73. Get:24 http://security.ubuntu.com/ubuntu artful-security/main Sources [18.9 kB]
  74. Get:25 http://security.ubuntu.com/ubuntu artful-security/main amd64 Packages [53.3 kB]
  75. Get:26 http://security.ubuntu.com/ubuntu artful-security/main Translation-en [25.0 kB]
  76. Get:27 http://security.ubuntu.com/ubuntu artful-security/universe amd64 Packages [15.3 kB]
  77. Get:28 http://security.ubuntu.com/ubuntu artful-security/universe Translation-en [10.7 kB]
  78. Fetched 10.3 MB in 2s (3473 kB/s)                                        
  79. Reading package lists... Done
  80. Building dependency tree      
  81. Reading state information... Done
  82. 3 packages can be upgraded. Run 'apt list --upgradable' to see them.
  83. Reading package lists... Done
  84. Building dependency tree      
  85. Reading state information... Done
  86. Calculating upgrade... Done
  87. The following packages will be upgraded:
  88.  curl libcurl3 libcurl3-gnutls
  89. 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  90. Need to get 541 kB of archives.
  91. After this operation, 4096 B of additional disk space will be used.
  92. Get:1 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates/main amd64 curl amd64 7.55.1-1ubuntu2.2 [152 kB]
  93. Get:2 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates/main amd64 libcurl3 amd64 7.55.1-1ubuntu2.2 [195 kB]
  94. Get:3 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates/main amd64 libcurl3-gnutls amd64 7.55.1-1ubuntu2.2 [193 kB]
  95. Fetched 541 kB in 0s (28.6 MB/s)    
  96. perl: warning: Setting locale failed.
  97. perl: warning: Please check that your locale settings:
  98.     LANGUAGE = (unset),
  99.     LC_ALL = (unset),
  100.     LC_CTYPE = "UTF-8",
  101.     LANG = "C.UTF-8"
  102.    are supported and installed on your system.
  103. perl: warning: Falling back to a fallback locale ("C.UTF-8").
  104. locale: Cannot set LC_CTYPE to default locale: No such file or directory
  105. locale: Cannot set LC_ALL to default locale: No such file or directory
  106. (Reading database ... 68981 files and directories currently installed.)
  107. Preparing to unpack .../curl_7.55.1-1ubuntu2.2_amd64.deb ...
  108. Unpacking curl (7.55.1-1ubuntu2.2) over (7.55.1-1ubuntu2.1) ...
  109. Preparing to unpack .../libcurl3_7.55.1-1ubuntu2.2_amd64.deb ...
  110. Unpacking libcurl3:amd64 (7.55.1-1ubuntu2.2) over (7.55.1-1ubuntu2.1) ...
  111. Preparing to unpack .../libcurl3-gnutls_7.55.1-1ubuntu2.2_amd64.deb ...
  112. Unpacking libcurl3-gnutls:amd64 (7.55.1-1ubuntu2.2) over (7.55.1-1ubuntu2.1) ...
  113. Setting up libcurl3:amd64 (7.55.1-1ubuntu2.2) ...
  114. Setting up libcurl3-gnutls:amd64 (7.55.1-1ubuntu2.2) ...
  115. Processing triggers for libc-bin (2.26-0ubuntu2) ...
  116. Processing triggers for man-db (2.7.6.1-2) ...
  117. Setting up curl (7.55.1-1ubuntu2.2) ...
  118. Reading package lists... Done
  119. Building dependency tree      
  120. Reading state information... Done
  121. The following additional packages will be installed:
  122.  binutils binutils-common binutils-x86-64-linux-gnu cpp cpp-7 g++ g++-7 gcc
  123.  gcc-7 gfortran gfortran-7 hwloc-nox libasan4 libatomic1 libbinutils
  124.  libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libcr-dev libcr0 libgcc-7-dev
  125.  libgfortran-7-dev libgfortran4 libgomp1 libhwloc-plugins libhwloc5 libisl15
  126.  libitm1 liblsan0 libltdl7 libmpc3 libmpich12 libmpx2 libpciaccess0
  127.  libquadmath0 libstdc++-7-dev libtsan0 libubsan0 linux-libc-dev manpages-dev
  128.  mpich ocl-icd-libopencl1
  129. Suggested packages:
  130.  binutils-doc cpp-doc gcc-7-locales g++-multilib g++-7-multilib gcc-7-doc
  131.  libstdc++6-7-dbg gcc-multilib make autoconf automake libtool flex bison gdb
  132.  gcc-doc gcc-7-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg
  133.  libasan4-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg
  134.  libmpx2-dbg libquadmath0-dbg gfortran-multilib gfortran-doc
  135.  gfortran-7-multilib gfortran-7-doc libgfortran4-dbg libcoarrays-dev
  136.  glibc-doc blcr-dkms libhwloc-contrib-plugins libstdc++-7-doc blcr-util
  137.  mpich-doc opencl-icd
  138. The following NEW packages will be installed:
  139.  binutils binutils-common binutils-x86-64-linux-gnu cpp cpp-7 g++ g++-7 gcc
  140.  gcc-7 gfortran gfortran-7 hwloc-nox libasan4 libatomic1 libbinutils
  141.  libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libcr-dev libcr0 libgcc-7-dev
  142.  libgfortran-7-dev libgfortran4 libgomp1 libhwloc-plugins libhwloc5 libisl15
  143.  libitm1 liblsan0 libltdl7 libmpc3 libmpich-dev libmpich12 libmpx2
  144.  libpciaccess0 libquadmath0 libstdc++-7-dev libtsan0 libubsan0 linux-libc-dev
  145.  manpages-dev mpich ocl-icd-libopencl1
  146. 0 upgraded, 44 newly installed, 0 to remove and 0 not upgraded.
  147. Need to get 46.7 MB of archives.
  148. After this operation, 198 MB of additional disk space will be used.
  149. Get:1 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 binutils-common amd64 2.29.1-4ubuntu1 [190 kB]
  150. Get:2 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libbinutils amd64 2.29.1-4ubuntu1 [502 kB]
  151. Get:3 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 binutils-x86-64-linux-gnu amd64 2.29.1-4ubuntu1 [1824 kB]
  152. Get:4 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 binutils amd64 2.29.1-4ubuntu1 [3342 B]
  153. Get:5 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libisl15 amd64 0.18-1 [545 kB]
  154. Get:6 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libmpc3 amd64 1.0.3-2 [39.5 kB]
  155. Get:7 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 cpp-7 amd64 7.2.0-8ubuntu3 [6727 kB]
  156. Get:8 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 cpp amd64 4:7.2.0-1ubuntu1 [27.6 kB]
  157. Get:9 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libcc1-0 amd64 7.2.0-8ubuntu3 [38.6 kB]
  158. Get:10 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libgomp1 amd64 7.2.0-8ubuntu3 [76.4 kB]
  159. Get:11 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libitm1 amd64 7.2.0-8ubuntu3 [27.6 kB]
  160. Get:12 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libatomic1 amd64 7.2.0-8ubuntu3 [8954 B]
  161. Get:13 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libasan4 amd64 7.2.0-8ubuntu3 [360 kB]
  162. Get:14 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 liblsan0 amd64 7.2.0-8ubuntu3 [133 kB]
  163. Get:15 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libtsan0 amd64 7.2.0-8ubuntu3 [282 kB]
  164. Get:16 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libubsan0 amd64 7.2.0-8ubuntu3 [126 kB]
  165. Get:17 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libcilkrts5 amd64 7.2.0-8ubuntu3 [42.5 kB]
  166. Get:18 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libmpx2 amd64 7.2.0-8ubuntu3 [11.7 kB]
  167. Get:19 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libquadmath0 amd64 7.2.0-8ubuntu3 [132 kB]
  168. Get:20 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libgcc-7-dev amd64 7.2.0-8ubuntu3 [2378 kB]
  169. Get:21 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 gcc-7 amd64 7.2.0-8ubuntu3 [7411 kB]
  170. Get:22 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 gcc amd64 4:7.2.0-1ubuntu1 [5124 B]
  171. Get:23 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libc-dev-bin amd64 2.26-0ubuntu2 [69.6 kB]
  172. Get:24 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates/main amd64 linux-libc-dev amd64 4.13.0-17.20 [962 kB]
  173. Get:25 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libc6-dev amd64 2.26-0ubuntu2 [2524 kB]
  174. Get:26 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libstdc++-7-dev amd64 7.2.0-8ubuntu3 [1456 kB]
  175. Get:27 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 g++-7 amd64 7.2.0-8ubuntu3 [7551 kB]
  176. Get:28 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 g++ amd64 4:7.2.0-1ubuntu1 [1482 B]
  177. Get:29 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libgfortran4 amd64 7.2.0-8ubuntu3 [493 kB]
  178. Get:30 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libgfortran-7-dev amd64 7.2.0-8ubuntu3 [530 kB]
  179. Get:31 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 gfortran-7 amd64 7.2.0-8ubuntu3 [7090 kB]
  180. Get:32 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 gfortran amd64 4:7.2.0-1ubuntu1 [1278 B]
  181. Get:33 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/universe amd64 libcr0 amd64 0.8.5-2.3 [18.9 kB]
  182. Get:34 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/universe amd64 libcr-dev amd64 0.8.5-2.3 [24.4 kB]
  183. Get:35 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libltdl7 amd64 2.4.6-2 [38.8 kB]
  184. Get:36 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libpciaccess0 amd64 0.13.4-1ubuntu1 [17.9 kB]
  185. Get:37 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 manpages-dev all 4.13-3 [2202 kB]
  186. Get:38 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/universe amd64 libhwloc5 amd64 1.11.5-1 [101 kB]
  187. Get:39 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/universe amd64 hwloc-nox amd64 1.11.5-1 [147 kB]
  188. Get:40 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 ocl-icd-libopencl1 amd64 2.2.11-1ubuntu1 [30.3 kB]
  189. Get:41 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/universe amd64 libhwloc-plugins amd64 1.11.5-1 [12.2 kB]
  190. Get:42 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/universe amd64 libmpich12 amd64 3.3~a2-2 [938 kB]
  191. Get:43 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/universe amd64 libmpich-dev amd64 3.3~a2-2 [1366 kB]
  192. Get:44 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/universe amd64 mpich amd64 3.3~a2-2 [206 kB]
  193. Fetched 46.7 MB in 1s (35.2 MB/s)
  194. perl: warning: Setting locale failed.
  195. perl: warning: Please check that your locale settings:
  196.     LANGUAGE = (unset),
  197.     LC_ALL = (unset),
  198.     LC_CTYPE = "UTF-8",
  199.     LANG = "C.UTF-8"
  200.    are supported and installed on your system.
  201. perl: warning: Falling back to a fallback locale ("C.UTF-8").
  202. locale: Cannot set LC_CTYPE to default locale: No such file or directory
  203. locale: Cannot set LC_ALL to default locale: No such file or directory
  204. Extracting templates from packages: 100%
  205. Selecting previously unselected package binutils-common:amd64.
  206. (Reading database ... 68981 files and directories currently installed.)
  207. Preparing to unpack .../00-binutils-common_2.29.1-4ubuntu1_amd64.deb ...
  208. Unpacking binutils-common:amd64 (2.29.1-4ubuntu1) ...
  209. Selecting previously unselected package libbinutils:amd64.
  210. Preparing to unpack .../01-libbinutils_2.29.1-4ubuntu1_amd64.deb ...
  211. Unpacking libbinutils:amd64 (2.29.1-4ubuntu1) ...
  212. Selecting previously unselected package binutils-x86-64-linux-gnu.
  213. Preparing to unpack .../02-binutils-x86-64-linux-gnu_2.29.1-4ubuntu1_amd64.deb ...
  214. Unpacking binutils-x86-64-linux-gnu (2.29.1-4ubuntu1) ...
  215. Selecting previously unselected package binutils.
  216. Preparing to unpack .../03-binutils_2.29.1-4ubuntu1_amd64.deb ...
  217. Unpacking binutils (2.29.1-4ubuntu1) ...
  218. Selecting previously unselected package libisl15:amd64.
  219. Preparing to unpack .../04-libisl15_0.18-1_amd64.deb ...
  220. Unpacking libisl15:amd64 (0.18-1) ...
  221. Selecting previously unselected package libmpc3:amd64.
  222. Preparing to unpack .../05-libmpc3_1.0.3-2_amd64.deb ...
  223. Unpacking libmpc3:amd64 (1.0.3-2) ...
  224. Selecting previously unselected package cpp-7.
  225. Preparing to unpack .../06-cpp-7_7.2.0-8ubuntu3_amd64.deb ...
  226. Unpacking cpp-7 (7.2.0-8ubuntu3) ...
  227. Selecting previously unselected package cpp.
  228. Preparing to unpack .../07-cpp_4%3a7.2.0-1ubuntu1_amd64.deb ...
  229. Unpacking cpp (4:7.2.0-1ubuntu1) ...
  230. Selecting previously unselected package libcc1-0:amd64.
  231. Preparing to unpack .../08-libcc1-0_7.2.0-8ubuntu3_amd64.deb ...
  232. Unpacking libcc1-0:amd64 (7.2.0-8ubuntu3) ...
  233. Selecting previously unselected package libgomp1:amd64.
  234. Preparing to unpack .../09-libgomp1_7.2.0-8ubuntu3_amd64.deb ...
  235. Unpacking libgomp1:amd64 (7.2.0-8ubuntu3) ...
  236. Selecting previously unselected package libitm1:amd64.
  237. Preparing to unpack .../10-libitm1_7.2.0-8ubuntu3_amd64.deb ...
  238. Unpacking libitm1:amd64 (7.2.0-8ubuntu3) ...
  239. Selecting previously unselected package libatomic1:amd64.
  240. Preparing to unpack .../11-libatomic1_7.2.0-8ubuntu3_amd64.deb ...
  241. Unpacking libatomic1:amd64 (7.2.0-8ubuntu3) ...
  242. Selecting previously unselected package libasan4:amd64.
  243. Preparing to unpack .../12-libasan4_7.2.0-8ubuntu3_amd64.deb ...
  244. Unpacking libasan4:amd64 (7.2.0-8ubuntu3) ...
  245. Selecting previously unselected package liblsan0:amd64.
  246. Preparing to unpack .../13-liblsan0_7.2.0-8ubuntu3_amd64.deb ...
  247. Unpacking liblsan0:amd64 (7.2.0-8ubuntu3) ...
  248. Selecting previously unselected package libtsan0:amd64.
  249. Preparing to unpack .../14-libtsan0_7.2.0-8ubuntu3_amd64.deb ...
  250. Unpacking libtsan0:amd64 (7.2.0-8ubuntu3) ...
  251. Selecting previously unselected package libubsan0:amd64.
  252. Preparing to unpack .../15-libubsan0_7.2.0-8ubuntu3_amd64.deb ...
  253. Unpacking libubsan0:amd64 (7.2.0-8ubuntu3) ...
  254. Selecting previously unselected package libcilkrts5:amd64.
  255. Preparing to unpack .../16-libcilkrts5_7.2.0-8ubuntu3_amd64.deb ...
  256. Unpacking libcilkrts5:amd64 (7.2.0-8ubuntu3) ...
  257. Selecting previously unselected package libmpx2:amd64.
  258. Preparing to unpack .../17-libmpx2_7.2.0-8ubuntu3_amd64.deb ...
  259. Unpacking libmpx2:amd64 (7.2.0-8ubuntu3) ...
  260. Selecting previously unselected package libquadmath0:amd64.
  261. Preparing to unpack .../18-libquadmath0_7.2.0-8ubuntu3_amd64.deb ...
  262. Unpacking libquadmath0:amd64 (7.2.0-8ubuntu3) ...
  263. Selecting previously unselected package libgcc-7-dev:amd64.
  264. Preparing to unpack .../19-libgcc-7-dev_7.2.0-8ubuntu3_amd64.deb ...
  265. Unpacking libgcc-7-dev:amd64 (7.2.0-8ubuntu3) ...
  266. Selecting previously unselected package gcc-7.
  267. Preparing to unpack .../20-gcc-7_7.2.0-8ubuntu3_amd64.deb ...
  268. Unpacking gcc-7 (7.2.0-8ubuntu3) ...
  269. Selecting previously unselected package gcc.
  270. Preparing to unpack .../21-gcc_4%3a7.2.0-1ubuntu1_amd64.deb ...
  271. Unpacking gcc (4:7.2.0-1ubuntu1) ...
  272. Selecting previously unselected package libc-dev-bin.
  273. Preparing to unpack .../22-libc-dev-bin_2.26-0ubuntu2_amd64.deb ...
  274. Unpacking libc-dev-bin (2.26-0ubuntu2) ...
  275. Selecting previously unselected package linux-libc-dev:amd64.
  276. Preparing to unpack .../23-linux-libc-dev_4.13.0-17.20_amd64.deb ...
  277. Unpacking linux-libc-dev:amd64 (4.13.0-17.20) ...
  278. Selecting previously unselected package libc6-dev:amd64.
  279. Preparing to unpack .../24-libc6-dev_2.26-0ubuntu2_amd64.deb ...
  280. Unpacking libc6-dev:amd64 (2.26-0ubuntu2) ...
  281. Selecting previously unselected package libstdc++-7-dev:amd64.
  282. Preparing to unpack .../25-libstdc++-7-dev_7.2.0-8ubuntu3_amd64.deb ...
  283. Unpacking libstdc++-7-dev:amd64 (7.2.0-8ubuntu3) ...
  284. Selecting previously unselected package g++-7.
  285. Preparing to unpack .../26-g++-7_7.2.0-8ubuntu3_amd64.deb ...
  286. Unpacking g++-7 (7.2.0-8ubuntu3) ...
  287. Selecting previously unselected package g++.
  288. Preparing to unpack .../27-g++_4%3a7.2.0-1ubuntu1_amd64.deb ...
  289. Unpacking g++ (4:7.2.0-1ubuntu1) ...
  290. Selecting previously unselected package libgfortran4:amd64.
  291. Preparing to unpack .../28-libgfortran4_7.2.0-8ubuntu3_amd64.deb ...
  292. Unpacking libgfortran4:amd64 (7.2.0-8ubuntu3) ...
  293. Selecting previously unselected package libgfortran-7-dev:amd64.
  294. Preparing to unpack .../29-libgfortran-7-dev_7.2.0-8ubuntu3_amd64.deb ...
  295. Unpacking libgfortran-7-dev:amd64 (7.2.0-8ubuntu3) ...
  296. Selecting previously unselected package gfortran-7.
  297. Preparing to unpack .../30-gfortran-7_7.2.0-8ubuntu3_amd64.deb ...
  298. Unpacking gfortran-7 (7.2.0-8ubuntu3) ...
  299. Selecting previously unselected package gfortran.
  300. Preparing to unpack .../31-gfortran_4%3a7.2.0-1ubuntu1_amd64.deb ...
  301. Unpacking gfortran (4:7.2.0-1ubuntu1) ...
  302. Selecting previously unselected package libcr0.
  303. Preparing to unpack .../32-libcr0_0.8.5-2.3_amd64.deb ...
  304. Unpacking libcr0 (0.8.5-2.3) ...
  305. Selecting previously unselected package libcr-dev.
  306. Preparing to unpack .../33-libcr-dev_0.8.5-2.3_amd64.deb ...
  307. Unpacking libcr-dev (0.8.5-2.3) ...
  308. Selecting previously unselected package libltdl7:amd64.
  309. Preparing to unpack .../34-libltdl7_2.4.6-2_amd64.deb ...
  310. Unpacking libltdl7:amd64 (2.4.6-2) ...
  311. Selecting previously unselected package libpciaccess0:amd64.
  312. Preparing to unpack .../35-libpciaccess0_0.13.4-1ubuntu1_amd64.deb ...
  313. Unpacking libpciaccess0:amd64 (0.13.4-1ubuntu1) ...
  314. Selecting previously unselected package manpages-dev.
  315. Preparing to unpack .../36-manpages-dev_4.13-3_all.deb ...
  316. Unpacking manpages-dev (4.13-3) ...
  317. Selecting previously unselected package libhwloc5:amd64.
  318. Preparing to unpack .../37-libhwloc5_1.11.5-1_amd64.deb ...
  319. Unpacking libhwloc5:amd64 (1.11.5-1) ...
  320. Selecting previously unselected package hwloc-nox.
  321. Preparing to unpack .../38-hwloc-nox_1.11.5-1_amd64.deb ...
  322. Unpacking hwloc-nox (1.11.5-1) ...
  323. Selecting previously unselected package ocl-icd-libopencl1:amd64.
  324. Preparing to unpack .../39-ocl-icd-libopencl1_2.2.11-1ubuntu1_amd64.deb ...
  325. Unpacking ocl-icd-libopencl1:amd64 (2.2.11-1ubuntu1) ...
  326. Selecting previously unselected package libhwloc-plugins.
  327. Preparing to unpack .../40-libhwloc-plugins_1.11.5-1_amd64.deb ...
  328. Unpacking libhwloc-plugins (1.11.5-1) ...
  329. Selecting previously unselected package libmpich12:amd64.
  330. Preparing to unpack .../41-libmpich12_3.3~a2-2_amd64.deb ...
  331. Unpacking libmpich12:amd64 (3.3~a2-2) ...
  332. Selecting previously unselected package libmpich-dev.
  333. Preparing to unpack .../42-libmpich-dev_3.3~a2-2_amd64.deb ...
  334. Unpacking libmpich-dev (3.3~a2-2) ...
  335. Selecting previously unselected package mpich.
  336. Preparing to unpack .../43-mpich_3.3~a2-2_amd64.deb ...
  337. Unpacking mpich (3.3~a2-2) ...
  338. Setting up libquadmath0:amd64 (7.2.0-8ubuntu3) ...
  339. Setting up libgomp1:amd64 (7.2.0-8ubuntu3) ...
  340. Setting up libatomic1:amd64 (7.2.0-8ubuntu3) ...
  341. Setting up libcc1-0:amd64 (7.2.0-8ubuntu3) ...
  342. Setting up libcr0 (0.8.5-2.3) ...
  343. Setting up libasan4:amd64 (7.2.0-8ubuntu3) ...
  344. Setting up libgfortran4:amd64 (7.2.0-8ubuntu3) ...
  345. Setting up libcilkrts5:amd64 (7.2.0-8ubuntu3) ...
  346. Setting up libubsan0:amd64 (7.2.0-8ubuntu3) ...
  347. Setting up libtsan0:amd64 (7.2.0-8ubuntu3) ...
  348. Setting up linux-libc-dev:amd64 (4.13.0-17.20) ...
  349. Setting up liblsan0:amd64 (7.2.0-8ubuntu3) ...
  350. Setting up binutils-common:amd64 (2.29.1-4ubuntu1) ...
  351. Setting up libmpx2:amd64 (7.2.0-8ubuntu3) ...
  352. Setting up libisl15:amd64 (0.18-1) ...
  353. Processing triggers for libc-bin (2.26-0ubuntu2) ...
  354. Setting up libltdl7:amd64 (2.4.6-2) ...
  355. Setting up libpciaccess0:amd64 (0.13.4-1ubuntu1) ...
  356. Processing triggers for man-db (2.7.6.1-2) ...
  357. Setting up libmpc3:amd64 (1.0.3-2) ...
  358. Setting up libc-dev-bin (2.26-0ubuntu2) ...
  359. Setting up ocl-icd-libopencl1:amd64 (2.2.11-1ubuntu1) ...
  360. Setting up manpages-dev (4.13-3) ...
  361. Setting up libc6-dev:amd64 (2.26-0ubuntu2) ...
  362. Setting up libitm1:amd64 (7.2.0-8ubuntu3) ...
  363. Setting up libcr-dev (0.8.5-2.3) ...
  364. Setting up libmpich12:amd64 (3.3~a2-2) ...
  365. Setting up libbinutils:amd64 (2.29.1-4ubuntu1) ...
  366. Setting up libhwloc5:amd64 (1.11.5-1) ...
  367. Setting up libgcc-7-dev:amd64 (7.2.0-8ubuntu3) ...
  368. Setting up cpp-7 (7.2.0-8ubuntu3) ...
  369. Setting up libstdc++-7-dev:amd64 (7.2.0-8ubuntu3) ...
  370. Setting up libhwloc-plugins (1.11.5-1) ...
  371. Setting up libgfortran-7-dev:amd64 (7.2.0-8ubuntu3) ...
  372. Setting up binutils-x86-64-linux-gnu (2.29.1-4ubuntu1) ...
  373. Setting up hwloc-nox (1.11.5-1) ...
  374. Setting up cpp (4:7.2.0-1ubuntu1) ...
  375. Setting up mpich (3.3~a2-2) ...
  376. update-alternatives: using /usr/bin/mpirun.mpich to provide /usr/bin/mpirun (mpirun) in auto mode
  377. Setting up binutils (2.29.1-4ubuntu1) ...
  378. Setting up gcc-7 (7.2.0-8ubuntu3) ...
  379. Setting up g++-7 (7.2.0-8ubuntu3) ...
  380. Setting up gcc (4:7.2.0-1ubuntu1) ...
  381. Setting up g++ (4:7.2.0-1ubuntu1) ...
  382. update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
  383. Setting up gfortran-7 (7.2.0-8ubuntu3) ...
  384. Setting up gfortran (4:7.2.0-1ubuntu1) ...
  385. update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode
  386. update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode
  387. Setting up libmpich-dev (3.3~a2-2) ...
  388. update-alternatives: using /usr/include/mpich to provide /usr/include/mpi (mpi) in auto mode
  389. Processing triggers for libc-bin (2.26-0ubuntu2) ...
  390. oleksiy130@instance-1:~$ ls
  391. main.cpp
  392. oleksiy130@instance-1:~$ mpic++ -o main main.cpp
  393. oleksiy130@instance-1:~$ mpirun -n 2 ./main
  394. Using 2 tasks to scan 2500000 numbers
  395. Done. Largest prime is 2499997 Total primes 183072
  396. Wallclock time elapsed: 5.23 seconds
  397. oleksiy130@instance-1:~$ cd .ssh
  398. oleksiy130@instance-1:~/.ssh$ ls -la
  399. total 16
  400. drwx------ 2 oleksiy130 oleksiy130 4096 Dec  1 09:43 .
  401. drwxr-xr-x 4 oleksiy130 oleksiy130 4096 Dec  1 09:39 ..
  402. -rw------- 1 oleksiy130 oleksiy130  420 Dec  1 09:36 authorized_keys
  403. -rw------- 1 oleksiy130 oleksiy130 1679 Dec  1 09:43 id_rsa
  404. oleksiy130@instance-1:~/.ssh$ eval `ssh-agent`
  405. Agent pid 6380
  406. oleksiy130@instance-1:~/.ssh$ ssh-add id_rsa
  407. Identity added: id_rsa (id_rsa)
  408. oleksiy130@instance-1:~/.ssh$ ssh 10.142.0.3
  409. The authenticity of host '10.142.0.3 (10.142.0.3)' can't be established.
  410. ECDSA key fingerprint is SHA256:wiUt8mxrAeLqmVxAfoVsRUApIFDezrFJWStNXVxb0/A.
  411. Are you sure you want to continue connecting (yes/no)? yes
  412. Warning: Permanently added '10.142.0.3' (ECDSA) to the list of known hosts.
  413. Welcome to Ubuntu 17.10 (GNU/Linux 4.13.0-17-generic x86_64)
  414.  
  415.  * Documentation:  https://help.ubuntu.com
  416.  * Management:     https://landscape.canonical.com
  417.  * Support:        https://ubuntu.com/advantage
  418.  
  419.  
  420.   Get cloud support with Ubuntu Advantage Cloud Guest:
  421.     http://www.ubuntu.com/business/services/cloud
  422.  
  423. 0 packages can be updated.
  424. 0 updates are security updates.
  425.  
  426.  
  427. Last login: Fri Dec  1 09:36:39 2017 from 91.202.128.1
  428. oleksiy130@instance-2:~$ exit
  429. logout
  430. Connection to 10.142.0.3 closed.
  431. oleksiy130@instance-1:~/.ssh$ cd ..
  432. oleksiy130@instance-1:~$ vi hostfile
  433. oleksiy130@instance-1:~$ mpirun -np 6 --hostfile hostfile ./main
  434. Host key verification failed.
  435. ^C[mpiexec@instance-1] Sending Ctrl-C to processes as requested
  436. [mpiexec@instance-1] Press Ctrl-C again to force abort
  437. [mpiexec@instance-1] HYDU_sock_write (utils/sock/sock.c:286): write error (Bad file descriptor)
  438. [mpiexec@instance-1] HYD_pmcd_pmiserv_send_signal (pm/pmiserv/pmiserv_cb.c:177): unable to write data to proxy
  439. [mpiexec@instance-1] ui_cmd_cb (pm/pmiserv/pmiserv_pmci.c:79): unable to send signal downstream
  440. [mpiexec@instance-1] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:77): callback returned error status
  441. [mpiexec@instance-1] HYD_pmci_wait_for_completion (pm/pmiserv/pmiserv_pmci.c:198): error waiting for event
  442. [mpiexec@instance-1] main (ui/mpich/mpiexec.c:340): process manager error waiting for completion
  443. oleksiy130@instance-1:~$ vi hostfile
  444. oleksiy130@instance-1:~$ mpirun -np 6 --hostfile hostfile ./main
  445. Host key verification failed.
  446. ^C[mpiexec@instance-1] Sending Ctrl-C to processes as requested
  447. [mpiexec@instance-1] Press Ctrl-C again to force abort
  448. [mpiexec@instance-1] HYDU_sock_write (utils/sock/sock.c:286): write error (Bad file descriptor)
  449. [mpiexec@instance-1] HYD_pmcd_pmiserv_send_signal (pm/pmiserv/pmiserv_cb.c:177): unable to write data to proxy
  450. [mpiexec@instance-1] ui_cmd_cb (pm/pmiserv/pmiserv_pmci.c:79): unable to send signal downstream
  451. [mpiexec@instance-1] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:77): callback returned error status
  452. [mpiexec@instance-1] HYD_pmci_wait_for_completion (pm/pmiserv/pmiserv_pmci.c:198): error waiting for event
  453. [mpiexec@instance-1] main (ui/mpich/mpiexec.c:340): process manager error waiting for completion
  454. oleksiy130@instance-1:~$ vi hostfile
  455. oleksiy130@instance-1:~$ mpirun -np 6 --hostfile hostfile ./main
  456. Host key verification failed.
  457. ^C[mpiexec@instance-1] Sending Ctrl-C to processes as requested
  458. [mpiexec@instance-1] Press Ctrl-C again to force abort
  459. [mpiexec@instance-1] HYDU_sock_write (utils/sock/sock.c:286): write error (Bad file descriptor)
  460. [mpiexec@instance-1] HYD_pmcd_pmiserv_send_signal (pm/pmiserv/pmiserv_cb.c:177): unable to write data to proxy
  461. [mpiexec@instance-1] ui_cmd_cb (pm/pmiserv/pmiserv_pmci.c:79): unable to send signal downstream
  462. [mpiexec@instance-1] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:77): callback returned error status
  463. [mpiexec@instance-1] HYD_pmci_wait_for_completion (pm/pmiserv/pmiserv_pmci.c:198): error waiting for event
  464. [mpiexec@instance-1] main (ui/mpich/mpiexec.c:340): process manager error waiting for completion
  465. oleksiy130@instance-1:~$ ssh 10.142.0.3
  466. Welcome to Ubuntu 17.10 (GNU/Linux 4.13.0-17-generic x86_64)
  467.  
  468.  * Documentation:  https://help.ubuntu.com
  469.  * Management:     https://landscape.canonical.com
  470.  * Support:        https://ubuntu.com/advantage
  471.  
  472.  
  473.   Get cloud support with Ubuntu Advantage Cloud Guest:
  474.     http://www.ubuntu.com/business/services/cloud
  475.  
  476. 0 packages can be updated.
  477. 0 updates are security updates.
  478.  
  479.  
  480. Last login: Fri Dec  1 09:44:50 2017 from 10.142.0.2
  481. oleksiy130@instance-2:~$ exit
  482. logout
  483. Connection to 10.142.0.3 closed.
  484. oleksiy130@instance-1:~$ ssh 10.142.0.4
  485. The authenticity of host '10.142.0.4 (10.142.0.4)' can't be established.
  486. ECDSA key fingerprint is SHA256:COAbilC6Uw7c4iGIuslkkrnOXNu5ufpbGKFdUfcS2uo.
  487. Are you sure you want to continue connecting (yes/no)? yes
  488. Warning: Permanently added '10.142.0.4' (ECDSA) to the list of known hosts.
  489. Welcome to Ubuntu 17.10 (GNU/Linux 4.13.0-17-generic x86_64)
  490.  
  491. * Documentation:  https://help.ubuntu.com
  492. * Management:     https://landscape.canonical.com
  493. * Support:        https://ubuntu.com/advantage
  494.  
  495.  
  496.  Get cloud support with Ubuntu Advantage Cloud Guest:
  497.    http://www.ubuntu.com/business/services/cloud
  498.  
  499. 0 packages can be updated.
  500. 0 updates are security updates.
  501.  
  502.  
  503. Last login: Fri Dec  1 09:36:39 2017 from 91.202.128.1
  504. oleksiy130@instance-3:~$ exit
  505. logout
  506. Connection to 10.142.0.4 closed.
  507. oleksiy130@instance-1:~$ vi hostfile
  508. oleksiy130@instance-1:~$ mpirun -np 2 --hostfile hostfile ./main
  509. Using 2 tasks to scan 2500000 numbers
  510. Done. Largest prime is 2499997 Total primes 183072
  511. Wallclock time elapsed: 4.52 seconds
  512. oleksiy130@instance-1:~$ vi hostfile
  513. oleksiy130@instance-1:~$ mpirun -np 6 --hostfile hostfile ./main
  514. Sorry - this exercise requires an even number of tasks.Sorry - this exercise requires an even number of tasks.Sorry - this exercise requires an even number of tasks.
  515. evenly divisible into 2500000.  Try 4 or 8.
  516. Sorry - this exercise requires an even number of tasks.
  517. evenly divisible into 2500000.  Try 4 or 8.
  518.  
  519. evenly divisible into 2500000.  Try 4 or 8.
  520.  
  521. Sorry - this exercise requires an even number of tasks.evenly divisible into 2500000.  Try 4 or 8.
  522. Sorry - this exercise requires an even number of tasks.
  523. evenly divisible into 2500000.  Try 4 or 8.
  524.  
  525. evenly divisible into 2500000.  Try 4 or 8.
  526. oleksiy130@instance-1:~$ mpirun -np 8 --hostfile hostfile ./main
  527. Using 8 tasks to scan 2500000 numbers
  528. Done. Largest prime is 2499997 Total primes 183072
  529. Wallclock time elapsed: 1.87 seconds
  530. oleksiy130@instance-1:~$ vi hostfile
  531. oleksiy130@instance-1:~$ mpirun -np 4 --hostfile hostfile ./main
  532. Using 4 tasks to scan 2500000 numbers
  533. Done. Largest prime is 2499997 Total primes 183072
  534. Wallclock time elapsed: 2.29 seconds
  535. oleksiy130@instance-1:~$ vim hosfile
  536. oleksiy130@instance-1:~$ vi hostfile
  537. oleksiy130@instance-1:~$ mpirun -np 4 --hostfile hostfile ./main
  538. Using 4 tasks to scan 2500000 numbers
  539. Done. Largest prime is 2499997 Total primes 183072
  540. Wallclock time elapsed: 2.29 seconds
  541. oleksiy130@instance-1:~$ vi hostfile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement