Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Last login: Fri Dec 1 11:28:41 on ttys001
- stetsyks-MacBook-Pro:~ stetsyk$ ssh oleksiy@35.227.116.61
- ssh: connect to host 35.227.116.61 port 22: Connection refused
- stetsyks-MacBook-Pro:~ stetsyk$ ssh oleksiy130@35.227.116.61
- ssh: connect to host 35.227.116.61 port 22: Connection refused
- stetsyks-MacBook-Pro:~ stetsyk$ ssh oleksiy130@35.227.116.61
- The authenticity of host '35.227.116.61 (35.227.116.61)' can't be established.
- ECDSA key fingerprint is SHA256:gw+OQPxkMam1Qgg44QoV79T27njWAlAvfgl96IPS6NA.
- Are you sure you want to continue connecting (yes/no)? yes
- Warning: Permanently added '35.227.116.61' (ECDSA) to the list of known hosts.
- Welcome to Ubuntu 17.10 (GNU/Linux 4.13.0-17-generic x86_64)
- * Documentation: https://help.ubuntu.com
- * Management: https://landscape.canonical.com
- * Support: https://ubuntu.com/advantage
- Get cloud support with Ubuntu Advantage Cloud Guest:
- http://www.ubuntu.com/business/services/cloud
- 0 packages can be updated.
- 0 updates are security updates.
- The programs included with the Ubuntu system are free software;
- the exact distribution terms for each program are described in the
- individual files in /usr/share/doc/*/copyright.
- Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
- applicable law.
- _____________________________________________________________________
- WARNING! Your environment specifies an invalid locale.
- The unknown environment variables are:
- LC_CTYPE=UTF-8 LC_ALL=
- This can affect your user experience significantly, including the
- ability to manage packages. You may install the locales by running:
- sudo apt-get install language-pack-UTF-8
- or
- sudo locale-gen UTF-8
- To see all available language packs, run:
- apt-cache search "^language-pack-[a-z][a-z]$"
- To disable this message for all users, run:
- sudo touch /var/lib/cloud/instance/locale-check.skip
- _____________________________________________________________________
- oleksiy130@instance-1:~$ sudo apt update && sudo apt upgrade -y && sudo apt install libmpich-dev -y
- Hit:1 http://us-east1.gce.archive.ubuntu.com/ubuntu artful InRelease
- Get:2 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates InRelease [78.6 kB]
- Get:3 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-backports InRelease [72.2 kB]
- Get:4 http://security.ubuntu.com/ubuntu artful-security InRelease [78.6 kB]
- Hit:5 http://archive.canonical.com/ubuntu artful InRelease
- Get:6 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/restricted Sources [5392 B]
- Get:7 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/universe Sources [8721 kB]
- Get:8 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main Sources [849 kB]
- Get:9 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/multiverse Sources [182 kB]
- Get:10 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates/universe Sources [14.2 kB]
- Get:11 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates/restricted Sources [964 B]
- Get:12 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates/main Sources [35.4 kB]
- Get:13 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates/multiverse Sources [720 B]
- Get:14 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates/main amd64 Packages [83.5 kB]
- Get:15 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates/main Translation-en [39.8 kB]
- Get:16 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates/universe amd64 Packages [31.2 kB]
- Get:17 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates/universe Translation-en [19.0 kB]
- Get:18 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-backports/main Sources [1184 B]
- Get:19 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-backports/universe Sources [1220 B]
- Get:20 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-backports/universe amd64 Packages [2656 B]
- Get:21 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-backports/universe Translation-en [1096 B]
- Get:22 http://security.ubuntu.com/ubuntu artful-security/multiverse Sources [720 B]
- Get:23 http://security.ubuntu.com/ubuntu artful-security/universe Sources [6180 B]
- Get:24 http://security.ubuntu.com/ubuntu artful-security/main Sources [18.9 kB]
- Get:25 http://security.ubuntu.com/ubuntu artful-security/main amd64 Packages [53.3 kB]
- Get:26 http://security.ubuntu.com/ubuntu artful-security/main Translation-en [25.0 kB]
- Get:27 http://security.ubuntu.com/ubuntu artful-security/universe amd64 Packages [15.3 kB]
- Get:28 http://security.ubuntu.com/ubuntu artful-security/universe Translation-en [10.7 kB]
- Fetched 10.3 MB in 2s (3473 kB/s)
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- 3 packages can be upgraded. Run 'apt list --upgradable' to see them.
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- Calculating upgrade... Done
- The following packages will be upgraded:
- curl libcurl3 libcurl3-gnutls
- 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- Need to get 541 kB of archives.
- After this operation, 4096 B of additional disk space will be used.
- Get:1 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates/main amd64 curl amd64 7.55.1-1ubuntu2.2 [152 kB]
- Get:2 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates/main amd64 libcurl3 amd64 7.55.1-1ubuntu2.2 [195 kB]
- Get:3 http://us-east1.gce.archive.ubuntu.com/ubuntu artful-updates/main amd64 libcurl3-gnutls amd64 7.55.1-1ubuntu2.2 [193 kB]
- Fetched 541 kB in 0s (28.6 MB/s)
- perl: warning: Setting locale failed.
- perl: warning: Please check that your locale settings:
- LANGUAGE = (unset),
- LC_ALL = (unset),
- LC_CTYPE = "UTF-8",
- LANG = "C.UTF-8"
- are supported and installed on your system.
- perl: warning: Falling back to a fallback locale ("C.UTF-8").
- locale: Cannot set LC_CTYPE to default locale: No such file or directory
- locale: Cannot set LC_ALL to default locale: No such file or directory
- (Reading database ... 68981 files and directories currently installed.)
- Preparing to unpack .../curl_7.55.1-1ubuntu2.2_amd64.deb ...
- Unpacking curl (7.55.1-1ubuntu2.2) over (7.55.1-1ubuntu2.1) ...
- Preparing to unpack .../libcurl3_7.55.1-1ubuntu2.2_amd64.deb ...
- Unpacking libcurl3:amd64 (7.55.1-1ubuntu2.2) over (7.55.1-1ubuntu2.1) ...
- Preparing to unpack .../libcurl3-gnutls_7.55.1-1ubuntu2.2_amd64.deb ...
- Unpacking libcurl3-gnutls:amd64 (7.55.1-1ubuntu2.2) over (7.55.1-1ubuntu2.1) ...
- Setting up libcurl3:amd64 (7.55.1-1ubuntu2.2) ...
- Setting up libcurl3-gnutls:amd64 (7.55.1-1ubuntu2.2) ...
- Processing triggers for libc-bin (2.26-0ubuntu2) ...
- Processing triggers for man-db (2.7.6.1-2) ...
- Setting up curl (7.55.1-1ubuntu2.2) ...
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following additional packages will be installed:
- binutils binutils-common binutils-x86-64-linux-gnu cpp cpp-7 g++ g++-7 gcc
- gcc-7 gfortran gfortran-7 hwloc-nox libasan4 libatomic1 libbinutils
- libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libcr-dev libcr0 libgcc-7-dev
- libgfortran-7-dev libgfortran4 libgomp1 libhwloc-plugins libhwloc5 libisl15
- libitm1 liblsan0 libltdl7 libmpc3 libmpich12 libmpx2 libpciaccess0
- libquadmath0 libstdc++-7-dev libtsan0 libubsan0 linux-libc-dev manpages-dev
- mpich ocl-icd-libopencl1
- Suggested packages:
- binutils-doc cpp-doc gcc-7-locales g++-multilib g++-7-multilib gcc-7-doc
- libstdc++6-7-dbg gcc-multilib make autoconf automake libtool flex bison gdb
- gcc-doc gcc-7-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg
- libasan4-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg
- libmpx2-dbg libquadmath0-dbg gfortran-multilib gfortran-doc
- gfortran-7-multilib gfortran-7-doc libgfortran4-dbg libcoarrays-dev
- glibc-doc blcr-dkms libhwloc-contrib-plugins libstdc++-7-doc blcr-util
- mpich-doc opencl-icd
- The following NEW packages will be installed:
- binutils binutils-common binutils-x86-64-linux-gnu cpp cpp-7 g++ g++-7 gcc
- gcc-7 gfortran gfortran-7 hwloc-nox libasan4 libatomic1 libbinutils
- libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libcr-dev libcr0 libgcc-7-dev
- libgfortran-7-dev libgfortran4 libgomp1 libhwloc-plugins libhwloc5 libisl15
- libitm1 liblsan0 libltdl7 libmpc3 libmpich-dev libmpich12 libmpx2
- libpciaccess0 libquadmath0 libstdc++-7-dev libtsan0 libubsan0 linux-libc-dev
- manpages-dev mpich ocl-icd-libopencl1
- 0 upgraded, 44 newly installed, 0 to remove and 0 not upgraded.
- Need to get 46.7 MB of archives.
- After this operation, 198 MB of additional disk space will be used.
- Get:1 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 binutils-common amd64 2.29.1-4ubuntu1 [190 kB]
- Get:2 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libbinutils amd64 2.29.1-4ubuntu1 [502 kB]
- 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]
- Get:4 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 binutils amd64 2.29.1-4ubuntu1 [3342 B]
- Get:5 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libisl15 amd64 0.18-1 [545 kB]
- Get:6 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libmpc3 amd64 1.0.3-2 [39.5 kB]
- Get:7 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 cpp-7 amd64 7.2.0-8ubuntu3 [6727 kB]
- Get:8 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 cpp amd64 4:7.2.0-1ubuntu1 [27.6 kB]
- Get:9 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libcc1-0 amd64 7.2.0-8ubuntu3 [38.6 kB]
- Get:10 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libgomp1 amd64 7.2.0-8ubuntu3 [76.4 kB]
- Get:11 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libitm1 amd64 7.2.0-8ubuntu3 [27.6 kB]
- Get:12 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libatomic1 amd64 7.2.0-8ubuntu3 [8954 B]
- Get:13 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libasan4 amd64 7.2.0-8ubuntu3 [360 kB]
- Get:14 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 liblsan0 amd64 7.2.0-8ubuntu3 [133 kB]
- Get:15 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libtsan0 amd64 7.2.0-8ubuntu3 [282 kB]
- Get:16 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libubsan0 amd64 7.2.0-8ubuntu3 [126 kB]
- Get:17 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libcilkrts5 amd64 7.2.0-8ubuntu3 [42.5 kB]
- Get:18 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libmpx2 amd64 7.2.0-8ubuntu3 [11.7 kB]
- Get:19 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libquadmath0 amd64 7.2.0-8ubuntu3 [132 kB]
- Get:20 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libgcc-7-dev amd64 7.2.0-8ubuntu3 [2378 kB]
- Get:21 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 gcc-7 amd64 7.2.0-8ubuntu3 [7411 kB]
- Get:22 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 gcc amd64 4:7.2.0-1ubuntu1 [5124 B]
- Get:23 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libc-dev-bin amd64 2.26-0ubuntu2 [69.6 kB]
- 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]
- Get:25 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libc6-dev amd64 2.26-0ubuntu2 [2524 kB]
- Get:26 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libstdc++-7-dev amd64 7.2.0-8ubuntu3 [1456 kB]
- Get:27 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 g++-7 amd64 7.2.0-8ubuntu3 [7551 kB]
- Get:28 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 g++ amd64 4:7.2.0-1ubuntu1 [1482 B]
- Get:29 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libgfortran4 amd64 7.2.0-8ubuntu3 [493 kB]
- Get:30 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libgfortran-7-dev amd64 7.2.0-8ubuntu3 [530 kB]
- Get:31 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 gfortran-7 amd64 7.2.0-8ubuntu3 [7090 kB]
- Get:32 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 gfortran amd64 4:7.2.0-1ubuntu1 [1278 B]
- Get:33 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/universe amd64 libcr0 amd64 0.8.5-2.3 [18.9 kB]
- Get:34 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/universe amd64 libcr-dev amd64 0.8.5-2.3 [24.4 kB]
- Get:35 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libltdl7 amd64 2.4.6-2 [38.8 kB]
- Get:36 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 libpciaccess0 amd64 0.13.4-1ubuntu1 [17.9 kB]
- Get:37 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 manpages-dev all 4.13-3 [2202 kB]
- Get:38 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/universe amd64 libhwloc5 amd64 1.11.5-1 [101 kB]
- Get:39 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/universe amd64 hwloc-nox amd64 1.11.5-1 [147 kB]
- Get:40 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/main amd64 ocl-icd-libopencl1 amd64 2.2.11-1ubuntu1 [30.3 kB]
- Get:41 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/universe amd64 libhwloc-plugins amd64 1.11.5-1 [12.2 kB]
- Get:42 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/universe amd64 libmpich12 amd64 3.3~a2-2 [938 kB]
- Get:43 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/universe amd64 libmpich-dev amd64 3.3~a2-2 [1366 kB]
- Get:44 http://us-east1.gce.archive.ubuntu.com/ubuntu artful/universe amd64 mpich amd64 3.3~a2-2 [206 kB]
- Fetched 46.7 MB in 1s (35.2 MB/s)
- perl: warning: Setting locale failed.
- perl: warning: Please check that your locale settings:
- LANGUAGE = (unset),
- LC_ALL = (unset),
- LC_CTYPE = "UTF-8",
- LANG = "C.UTF-8"
- are supported and installed on your system.
- perl: warning: Falling back to a fallback locale ("C.UTF-8").
- locale: Cannot set LC_CTYPE to default locale: No such file or directory
- locale: Cannot set LC_ALL to default locale: No such file or directory
- Extracting templates from packages: 100%
- Selecting previously unselected package binutils-common:amd64.
- (Reading database ... 68981 files and directories currently installed.)
- Preparing to unpack .../00-binutils-common_2.29.1-4ubuntu1_amd64.deb ...
- Unpacking binutils-common:amd64 (2.29.1-4ubuntu1) ...
- Selecting previously unselected package libbinutils:amd64.
- Preparing to unpack .../01-libbinutils_2.29.1-4ubuntu1_amd64.deb ...
- Unpacking libbinutils:amd64 (2.29.1-4ubuntu1) ...
- Selecting previously unselected package binutils-x86-64-linux-gnu.
- Preparing to unpack .../02-binutils-x86-64-linux-gnu_2.29.1-4ubuntu1_amd64.deb ...
- Unpacking binutils-x86-64-linux-gnu (2.29.1-4ubuntu1) ...
- Selecting previously unselected package binutils.
- Preparing to unpack .../03-binutils_2.29.1-4ubuntu1_amd64.deb ...
- Unpacking binutils (2.29.1-4ubuntu1) ...
- Selecting previously unselected package libisl15:amd64.
- Preparing to unpack .../04-libisl15_0.18-1_amd64.deb ...
- Unpacking libisl15:amd64 (0.18-1) ...
- Selecting previously unselected package libmpc3:amd64.
- Preparing to unpack .../05-libmpc3_1.0.3-2_amd64.deb ...
- Unpacking libmpc3:amd64 (1.0.3-2) ...
- Selecting previously unselected package cpp-7.
- Preparing to unpack .../06-cpp-7_7.2.0-8ubuntu3_amd64.deb ...
- Unpacking cpp-7 (7.2.0-8ubuntu3) ...
- Selecting previously unselected package cpp.
- Preparing to unpack .../07-cpp_4%3a7.2.0-1ubuntu1_amd64.deb ...
- Unpacking cpp (4:7.2.0-1ubuntu1) ...
- Selecting previously unselected package libcc1-0:amd64.
- Preparing to unpack .../08-libcc1-0_7.2.0-8ubuntu3_amd64.deb ...
- Unpacking libcc1-0:amd64 (7.2.0-8ubuntu3) ...
- Selecting previously unselected package libgomp1:amd64.
- Preparing to unpack .../09-libgomp1_7.2.0-8ubuntu3_amd64.deb ...
- Unpacking libgomp1:amd64 (7.2.0-8ubuntu3) ...
- Selecting previously unselected package libitm1:amd64.
- Preparing to unpack .../10-libitm1_7.2.0-8ubuntu3_amd64.deb ...
- Unpacking libitm1:amd64 (7.2.0-8ubuntu3) ...
- Selecting previously unselected package libatomic1:amd64.
- Preparing to unpack .../11-libatomic1_7.2.0-8ubuntu3_amd64.deb ...
- Unpacking libatomic1:amd64 (7.2.0-8ubuntu3) ...
- Selecting previously unselected package libasan4:amd64.
- Preparing to unpack .../12-libasan4_7.2.0-8ubuntu3_amd64.deb ...
- Unpacking libasan4:amd64 (7.2.0-8ubuntu3) ...
- Selecting previously unselected package liblsan0:amd64.
- Preparing to unpack .../13-liblsan0_7.2.0-8ubuntu3_amd64.deb ...
- Unpacking liblsan0:amd64 (7.2.0-8ubuntu3) ...
- Selecting previously unselected package libtsan0:amd64.
- Preparing to unpack .../14-libtsan0_7.2.0-8ubuntu3_amd64.deb ...
- Unpacking libtsan0:amd64 (7.2.0-8ubuntu3) ...
- Selecting previously unselected package libubsan0:amd64.
- Preparing to unpack .../15-libubsan0_7.2.0-8ubuntu3_amd64.deb ...
- Unpacking libubsan0:amd64 (7.2.0-8ubuntu3) ...
- Selecting previously unselected package libcilkrts5:amd64.
- Preparing to unpack .../16-libcilkrts5_7.2.0-8ubuntu3_amd64.deb ...
- Unpacking libcilkrts5:amd64 (7.2.0-8ubuntu3) ...
- Selecting previously unselected package libmpx2:amd64.
- Preparing to unpack .../17-libmpx2_7.2.0-8ubuntu3_amd64.deb ...
- Unpacking libmpx2:amd64 (7.2.0-8ubuntu3) ...
- Selecting previously unselected package libquadmath0:amd64.
- Preparing to unpack .../18-libquadmath0_7.2.0-8ubuntu3_amd64.deb ...
- Unpacking libquadmath0:amd64 (7.2.0-8ubuntu3) ...
- Selecting previously unselected package libgcc-7-dev:amd64.
- Preparing to unpack .../19-libgcc-7-dev_7.2.0-8ubuntu3_amd64.deb ...
- Unpacking libgcc-7-dev:amd64 (7.2.0-8ubuntu3) ...
- Selecting previously unselected package gcc-7.
- Preparing to unpack .../20-gcc-7_7.2.0-8ubuntu3_amd64.deb ...
- Unpacking gcc-7 (7.2.0-8ubuntu3) ...
- Selecting previously unselected package gcc.
- Preparing to unpack .../21-gcc_4%3a7.2.0-1ubuntu1_amd64.deb ...
- Unpacking gcc (4:7.2.0-1ubuntu1) ...
- Selecting previously unselected package libc-dev-bin.
- Preparing to unpack .../22-libc-dev-bin_2.26-0ubuntu2_amd64.deb ...
- Unpacking libc-dev-bin (2.26-0ubuntu2) ...
- Selecting previously unselected package linux-libc-dev:amd64.
- Preparing to unpack .../23-linux-libc-dev_4.13.0-17.20_amd64.deb ...
- Unpacking linux-libc-dev:amd64 (4.13.0-17.20) ...
- Selecting previously unselected package libc6-dev:amd64.
- Preparing to unpack .../24-libc6-dev_2.26-0ubuntu2_amd64.deb ...
- Unpacking libc6-dev:amd64 (2.26-0ubuntu2) ...
- Selecting previously unselected package libstdc++-7-dev:amd64.
- Preparing to unpack .../25-libstdc++-7-dev_7.2.0-8ubuntu3_amd64.deb ...
- Unpacking libstdc++-7-dev:amd64 (7.2.0-8ubuntu3) ...
- Selecting previously unselected package g++-7.
- Preparing to unpack .../26-g++-7_7.2.0-8ubuntu3_amd64.deb ...
- Unpacking g++-7 (7.2.0-8ubuntu3) ...
- Selecting previously unselected package g++.
- Preparing to unpack .../27-g++_4%3a7.2.0-1ubuntu1_amd64.deb ...
- Unpacking g++ (4:7.2.0-1ubuntu1) ...
- Selecting previously unselected package libgfortran4:amd64.
- Preparing to unpack .../28-libgfortran4_7.2.0-8ubuntu3_amd64.deb ...
- Unpacking libgfortran4:amd64 (7.2.0-8ubuntu3) ...
- Selecting previously unselected package libgfortran-7-dev:amd64.
- Preparing to unpack .../29-libgfortran-7-dev_7.2.0-8ubuntu3_amd64.deb ...
- Unpacking libgfortran-7-dev:amd64 (7.2.0-8ubuntu3) ...
- Selecting previously unselected package gfortran-7.
- Preparing to unpack .../30-gfortran-7_7.2.0-8ubuntu3_amd64.deb ...
- Unpacking gfortran-7 (7.2.0-8ubuntu3) ...
- Selecting previously unselected package gfortran.
- Preparing to unpack .../31-gfortran_4%3a7.2.0-1ubuntu1_amd64.deb ...
- Unpacking gfortran (4:7.2.0-1ubuntu1) ...
- Selecting previously unselected package libcr0.
- Preparing to unpack .../32-libcr0_0.8.5-2.3_amd64.deb ...
- Unpacking libcr0 (0.8.5-2.3) ...
- Selecting previously unselected package libcr-dev.
- Preparing to unpack .../33-libcr-dev_0.8.5-2.3_amd64.deb ...
- Unpacking libcr-dev (0.8.5-2.3) ...
- Selecting previously unselected package libltdl7:amd64.
- Preparing to unpack .../34-libltdl7_2.4.6-2_amd64.deb ...
- Unpacking libltdl7:amd64 (2.4.6-2) ...
- Selecting previously unselected package libpciaccess0:amd64.
- Preparing to unpack .../35-libpciaccess0_0.13.4-1ubuntu1_amd64.deb ...
- Unpacking libpciaccess0:amd64 (0.13.4-1ubuntu1) ...
- Selecting previously unselected package manpages-dev.
- Preparing to unpack .../36-manpages-dev_4.13-3_all.deb ...
- Unpacking manpages-dev (4.13-3) ...
- Selecting previously unselected package libhwloc5:amd64.
- Preparing to unpack .../37-libhwloc5_1.11.5-1_amd64.deb ...
- Unpacking libhwloc5:amd64 (1.11.5-1) ...
- Selecting previously unselected package hwloc-nox.
- Preparing to unpack .../38-hwloc-nox_1.11.5-1_amd64.deb ...
- Unpacking hwloc-nox (1.11.5-1) ...
- Selecting previously unselected package ocl-icd-libopencl1:amd64.
- Preparing to unpack .../39-ocl-icd-libopencl1_2.2.11-1ubuntu1_amd64.deb ...
- Unpacking ocl-icd-libopencl1:amd64 (2.2.11-1ubuntu1) ...
- Selecting previously unselected package libhwloc-plugins.
- Preparing to unpack .../40-libhwloc-plugins_1.11.5-1_amd64.deb ...
- Unpacking libhwloc-plugins (1.11.5-1) ...
- Selecting previously unselected package libmpich12:amd64.
- Preparing to unpack .../41-libmpich12_3.3~a2-2_amd64.deb ...
- Unpacking libmpich12:amd64 (3.3~a2-2) ...
- Selecting previously unselected package libmpich-dev.
- Preparing to unpack .../42-libmpich-dev_3.3~a2-2_amd64.deb ...
- Unpacking libmpich-dev (3.3~a2-2) ...
- Selecting previously unselected package mpich.
- Preparing to unpack .../43-mpich_3.3~a2-2_amd64.deb ...
- Unpacking mpich (3.3~a2-2) ...
- Setting up libquadmath0:amd64 (7.2.0-8ubuntu3) ...
- Setting up libgomp1:amd64 (7.2.0-8ubuntu3) ...
- Setting up libatomic1:amd64 (7.2.0-8ubuntu3) ...
- Setting up libcc1-0:amd64 (7.2.0-8ubuntu3) ...
- Setting up libcr0 (0.8.5-2.3) ...
- Setting up libasan4:amd64 (7.2.0-8ubuntu3) ...
- Setting up libgfortran4:amd64 (7.2.0-8ubuntu3) ...
- Setting up libcilkrts5:amd64 (7.2.0-8ubuntu3) ...
- Setting up libubsan0:amd64 (7.2.0-8ubuntu3) ...
- Setting up libtsan0:amd64 (7.2.0-8ubuntu3) ...
- Setting up linux-libc-dev:amd64 (4.13.0-17.20) ...
- Setting up liblsan0:amd64 (7.2.0-8ubuntu3) ...
- Setting up binutils-common:amd64 (2.29.1-4ubuntu1) ...
- Setting up libmpx2:amd64 (7.2.0-8ubuntu3) ...
- Setting up libisl15:amd64 (0.18-1) ...
- Processing triggers for libc-bin (2.26-0ubuntu2) ...
- Setting up libltdl7:amd64 (2.4.6-2) ...
- Setting up libpciaccess0:amd64 (0.13.4-1ubuntu1) ...
- Processing triggers for man-db (2.7.6.1-2) ...
- Setting up libmpc3:amd64 (1.0.3-2) ...
- Setting up libc-dev-bin (2.26-0ubuntu2) ...
- Setting up ocl-icd-libopencl1:amd64 (2.2.11-1ubuntu1) ...
- Setting up manpages-dev (4.13-3) ...
- Setting up libc6-dev:amd64 (2.26-0ubuntu2) ...
- Setting up libitm1:amd64 (7.2.0-8ubuntu3) ...
- Setting up libcr-dev (0.8.5-2.3) ...
- Setting up libmpich12:amd64 (3.3~a2-2) ...
- Setting up libbinutils:amd64 (2.29.1-4ubuntu1) ...
- Setting up libhwloc5:amd64 (1.11.5-1) ...
- Setting up libgcc-7-dev:amd64 (7.2.0-8ubuntu3) ...
- Setting up cpp-7 (7.2.0-8ubuntu3) ...
- Setting up libstdc++-7-dev:amd64 (7.2.0-8ubuntu3) ...
- Setting up libhwloc-plugins (1.11.5-1) ...
- Setting up libgfortran-7-dev:amd64 (7.2.0-8ubuntu3) ...
- Setting up binutils-x86-64-linux-gnu (2.29.1-4ubuntu1) ...
- Setting up hwloc-nox (1.11.5-1) ...
- Setting up cpp (4:7.2.0-1ubuntu1) ...
- Setting up mpich (3.3~a2-2) ...
- update-alternatives: using /usr/bin/mpirun.mpich to provide /usr/bin/mpirun (mpirun) in auto mode
- Setting up binutils (2.29.1-4ubuntu1) ...
- Setting up gcc-7 (7.2.0-8ubuntu3) ...
- Setting up g++-7 (7.2.0-8ubuntu3) ...
- Setting up gcc (4:7.2.0-1ubuntu1) ...
- Setting up g++ (4:7.2.0-1ubuntu1) ...
- update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
- Setting up gfortran-7 (7.2.0-8ubuntu3) ...
- Setting up gfortran (4:7.2.0-1ubuntu1) ...
- update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode
- update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode
- Setting up libmpich-dev (3.3~a2-2) ...
- update-alternatives: using /usr/include/mpich to provide /usr/include/mpi (mpi) in auto mode
- Processing triggers for libc-bin (2.26-0ubuntu2) ...
- oleksiy130@instance-1:~$ ls
- main.cpp
- oleksiy130@instance-1:~$ mpic++ -o main main.cpp
- oleksiy130@instance-1:~$ mpirun -n 2 ./main
- Using 2 tasks to scan 2500000 numbers
- Done. Largest prime is 2499997 Total primes 183072
- Wallclock time elapsed: 5.23 seconds
- oleksiy130@instance-1:~$ cd .ssh
- oleksiy130@instance-1:~/.ssh$ ls -la
- total 16
- drwx------ 2 oleksiy130 oleksiy130 4096 Dec 1 09:43 .
- drwxr-xr-x 4 oleksiy130 oleksiy130 4096 Dec 1 09:39 ..
- -rw------- 1 oleksiy130 oleksiy130 420 Dec 1 09:36 authorized_keys
- -rw------- 1 oleksiy130 oleksiy130 1679 Dec 1 09:43 id_rsa
- oleksiy130@instance-1:~/.ssh$ eval `ssh-agent`
- Agent pid 6380
- oleksiy130@instance-1:~/.ssh$ ssh-add id_rsa
- Identity added: id_rsa (id_rsa)
- oleksiy130@instance-1:~/.ssh$ ssh 10.142.0.3
- The authenticity of host '10.142.0.3 (10.142.0.3)' can't be established.
- ECDSA key fingerprint is SHA256:wiUt8mxrAeLqmVxAfoVsRUApIFDezrFJWStNXVxb0/A.
- Are you sure you want to continue connecting (yes/no)? yes
- Warning: Permanently added '10.142.0.3' (ECDSA) to the list of known hosts.
- Welcome to Ubuntu 17.10 (GNU/Linux 4.13.0-17-generic x86_64)
- * Documentation: https://help.ubuntu.com
- * Management: https://landscape.canonical.com
- * Support: https://ubuntu.com/advantage
- Get cloud support with Ubuntu Advantage Cloud Guest:
- http://www.ubuntu.com/business/services/cloud
- 0 packages can be updated.
- 0 updates are security updates.
- Last login: Fri Dec 1 09:36:39 2017 from 91.202.128.1
- oleksiy130@instance-2:~$ exit
- logout
- Connection to 10.142.0.3 closed.
- oleksiy130@instance-1:~/.ssh$ cd ..
- oleksiy130@instance-1:~$ vi hostfile
- oleksiy130@instance-1:~$ mpirun -np 6 --hostfile hostfile ./main
- Host key verification failed.
- ^C[mpiexec@instance-1] Sending Ctrl-C to processes as requested
- [mpiexec@instance-1] Press Ctrl-C again to force abort
- [mpiexec@instance-1] HYDU_sock_write (utils/sock/sock.c:286): write error (Bad file descriptor)
- [mpiexec@instance-1] HYD_pmcd_pmiserv_send_signal (pm/pmiserv/pmiserv_cb.c:177): unable to write data to proxy
- [mpiexec@instance-1] ui_cmd_cb (pm/pmiserv/pmiserv_pmci.c:79): unable to send signal downstream
- [mpiexec@instance-1] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:77): callback returned error status
- [mpiexec@instance-1] HYD_pmci_wait_for_completion (pm/pmiserv/pmiserv_pmci.c:198): error waiting for event
- [mpiexec@instance-1] main (ui/mpich/mpiexec.c:340): process manager error waiting for completion
- oleksiy130@instance-1:~$ vi hostfile
- oleksiy130@instance-1:~$ mpirun -np 6 --hostfile hostfile ./main
- Host key verification failed.
- ^C[mpiexec@instance-1] Sending Ctrl-C to processes as requested
- [mpiexec@instance-1] Press Ctrl-C again to force abort
- [mpiexec@instance-1] HYDU_sock_write (utils/sock/sock.c:286): write error (Bad file descriptor)
- [mpiexec@instance-1] HYD_pmcd_pmiserv_send_signal (pm/pmiserv/pmiserv_cb.c:177): unable to write data to proxy
- [mpiexec@instance-1] ui_cmd_cb (pm/pmiserv/pmiserv_pmci.c:79): unable to send signal downstream
- [mpiexec@instance-1] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:77): callback returned error status
- [mpiexec@instance-1] HYD_pmci_wait_for_completion (pm/pmiserv/pmiserv_pmci.c:198): error waiting for event
- [mpiexec@instance-1] main (ui/mpich/mpiexec.c:340): process manager error waiting for completion
- oleksiy130@instance-1:~$ vi hostfile
- oleksiy130@instance-1:~$ mpirun -np 6 --hostfile hostfile ./main
- Host key verification failed.
- ^C[mpiexec@instance-1] Sending Ctrl-C to processes as requested
- [mpiexec@instance-1] Press Ctrl-C again to force abort
- [mpiexec@instance-1] HYDU_sock_write (utils/sock/sock.c:286): write error (Bad file descriptor)
- [mpiexec@instance-1] HYD_pmcd_pmiserv_send_signal (pm/pmiserv/pmiserv_cb.c:177): unable to write data to proxy
- [mpiexec@instance-1] ui_cmd_cb (pm/pmiserv/pmiserv_pmci.c:79): unable to send signal downstream
- [mpiexec@instance-1] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:77): callback returned error status
- [mpiexec@instance-1] HYD_pmci_wait_for_completion (pm/pmiserv/pmiserv_pmci.c:198): error waiting for event
- [mpiexec@instance-1] main (ui/mpich/mpiexec.c:340): process manager error waiting for completion
- oleksiy130@instance-1:~$ ssh 10.142.0.3
- Welcome to Ubuntu 17.10 (GNU/Linux 4.13.0-17-generic x86_64)
- * Documentation: https://help.ubuntu.com
- * Management: https://landscape.canonical.com
- * Support: https://ubuntu.com/advantage
- Get cloud support with Ubuntu Advantage Cloud Guest:
- http://www.ubuntu.com/business/services/cloud
- 0 packages can be updated.
- 0 updates are security updates.
- Last login: Fri Dec 1 09:44:50 2017 from 10.142.0.2
- oleksiy130@instance-2:~$ exit
- logout
- Connection to 10.142.0.3 closed.
- oleksiy130@instance-1:~$ ssh 10.142.0.4
- The authenticity of host '10.142.0.4 (10.142.0.4)' can't be established.
- ECDSA key fingerprint is SHA256:COAbilC6Uw7c4iGIuslkkrnOXNu5ufpbGKFdUfcS2uo.
- Are you sure you want to continue connecting (yes/no)? yes
- Warning: Permanently added '10.142.0.4' (ECDSA) to the list of known hosts.
- Welcome to Ubuntu 17.10 (GNU/Linux 4.13.0-17-generic x86_64)
- * Documentation: https://help.ubuntu.com
- * Management: https://landscape.canonical.com
- * Support: https://ubuntu.com/advantage
- Get cloud support with Ubuntu Advantage Cloud Guest:
- http://www.ubuntu.com/business/services/cloud
- 0 packages can be updated.
- 0 updates are security updates.
- Last login: Fri Dec 1 09:36:39 2017 from 91.202.128.1
- oleksiy130@instance-3:~$ exit
- logout
- Connection to 10.142.0.4 closed.
- oleksiy130@instance-1:~$ vi hostfile
- oleksiy130@instance-1:~$ mpirun -np 2 --hostfile hostfile ./main
- Using 2 tasks to scan 2500000 numbers
- Done. Largest prime is 2499997 Total primes 183072
- Wallclock time elapsed: 4.52 seconds
- oleksiy130@instance-1:~$ vi hostfile
- oleksiy130@instance-1:~$ mpirun -np 6 --hostfile hostfile ./main
- 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.
- evenly divisible into 2500000. Try 4 or 8.
- Sorry - this exercise requires an even number of tasks.
- evenly divisible into 2500000. Try 4 or 8.
- evenly divisible into 2500000. Try 4 or 8.
- Sorry - this exercise requires an even number of tasks.evenly divisible into 2500000. Try 4 or 8.
- Sorry - this exercise requires an even number of tasks.
- evenly divisible into 2500000. Try 4 or 8.
- evenly divisible into 2500000. Try 4 or 8.
- oleksiy130@instance-1:~$ mpirun -np 8 --hostfile hostfile ./main
- Using 8 tasks to scan 2500000 numbers
- Done. Largest prime is 2499997 Total primes 183072
- Wallclock time elapsed: 1.87 seconds
- oleksiy130@instance-1:~$ vi hostfile
- oleksiy130@instance-1:~$ mpirun -np 4 --hostfile hostfile ./main
- Using 4 tasks to scan 2500000 numbers
- Done. Largest prime is 2499997 Total primes 183072
- Wallclock time elapsed: 2.29 seconds
- oleksiy130@instance-1:~$ vim hosfile
- oleksiy130@instance-1:~$ vi hostfile
- oleksiy130@instance-1:~$ mpirun -np 4 --hostfile hostfile ./main
- Using 4 tasks to scan 2500000 numbers
- Done. Largest prime is 2499997 Total primes 183072
- Wallclock time elapsed: 2.29 seconds
- oleksiy130@instance-1:~$ vi hostfile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement