I am trying to use an AWS EC2 instance (t2.micro with Ubuntu Server 18.04) to run an optimization model designed in JuMP. Iβm using Julia v1.3.1 and when I try to load JuMP package a fail occurs at precompiling. Some one knows about it? At Ubuntu Desktop 18.04 on my computer the error does not happen. Could it be some dependency of JuMP non-native on Ubuntu Server?
julia> using JuMP
[ Info: Precompiling JuMP [4076af6c-e467-56ae-b986-b466b2749572]
ERROR: LoadError: Failed to precompile MathOptInterface [b8f27783-ece8-5eb3-8dc8-9495eed66fee] to /home/ubuntu/.julia/compiled/v1.3/MathOptInterface/tyub8_lOBhQ.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283
[3] _require(::Base.PkgId) at ./loading.jl:1024
[4] require(::Base.PkgId) at ./loading.jl:922
[5] require(::Module, ::Symbol) at ./loading.jl:917
[6] include at ./boot.jl:328 [inlined]
[7] include_relative(::Module, ::String) at ./loading.jl:1105
[8] include(::Module, ::String) at ./Base.jl:31
[9] top-level scope at none:2
[10] eval at ./boot.jl:330 [inlined]
[11] eval(::Expr) at ./client.jl:425
[12] top-level scope at ./none:3
in expression starting at /home/ubuntu/.julia/packages/JuMP/MsUSY/src/JuMP.jl:16
ERROR: Failed to precompile JuMP [4076af6c-e467-56ae-b986-b466b2749572] to /home/ubuntu/.julia/compiled/v1.3/JuMP/DmXqY_lOBhQ.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283
[3] _require(::Base.PkgId) at ./loading.jl:1024
[4] require(::Base.PkgId) at ./loading.jl:922
[5] require(::Module, ::Symbol) at ./loading.jl:917
Welcome to Ubuntu 18.04.3 LTS (GNU/Linux 4.15.0-1057-aws x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Fri Jan 10 10:34:54 UTC 2020
System load: 0.0 Processes: 95
Usage of /: 41.8% of 7.69GB Users logged in: 0
Memory usage: 19% IP address for eth0: 172.31.12.156
Swap usage: 0%
* Overheard at KubeCon: "microk8s.status just blew my mind".
https://microk8s.io/docs/commands#microk8s.status
* Canonical Livepatch is available for installation.
- Reduce system reboots and improve kernel security. Activate at:
https://ubuntu.com/livepatch
0 packages can be updated.
0 updates are security updates.
ubuntu@ip-172-31-12-156:~$ sudo apt-get install gfortran liblapack-dev libblas-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libdumbnet1
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
binutils binutils-common
binutils-x86-64-linux-gnu cpp cpp-7 gcc gcc-7
gcc-7-base gfortran-7 libasan4 libatomic1
libbinutils libblas3 libc-dev-bin libc6-dev
libcc1-0 libcilkrts5 libgcc-7-dev
libgfortran-7-dev libgfortran4 libgomp1
libisl19 libitm1 liblapack3 liblsan0 libmpc3
libmpx2 libquadmath0 libtsan0 libubsan0
linux-libc-dev manpages-dev
Suggested packages:
binutils-doc cpp-doc gcc-7-locales gcc-multilib
make autoconf automake libtool flex bison gdb
gcc-doc gcc-7-multilib gcc-7-doc 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 liblapack-doc
glibc-doc
The following NEW packages will be installed:
binutils binutils-common
binutils-x86-64-linux-gnu cpp cpp-7 gcc gcc-7
gcc-7-base gfortran gfortran-7 libasan4
libatomic1 libbinutils libblas-dev libblas3
libc-dev-bin libc6-dev libcc1-0 libcilkrts5
libgcc-7-dev libgfortran-7-dev libgfortran4
libgomp1 libisl19 libitm1 liblapack-dev
liblapack3 liblsan0 libmpc3 libmpx2
libquadmath0 libtsan0 libubsan0 linux-libc-dev
manpages-dev
0 upgraded, 35 newly installed, 0 to remove and 0 not upgraded.
Need to get 39.6 MB of archives.
After this operation, 166 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 binutils-common amd64 2.30-21ubuntu1~18.04.2 [193 kB]
Get:2 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbinutils amd64 2.30-21ubuntu1~18.04.2 [503 kB]
Get:3 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 binutils-x86-64-linux-gnu amd64 2.30-21ubuntu1~18.04.2 [1856 kB]
Get:4 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 binutils amd64 2.30-21ubuntu1~18.04.2 [3396 B]
Get:5 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7-base amd64 7.4.0-1ubuntu1~18.04.1 [18.9 kB]
Get:6 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libisl19 amd64 0.19-1 [551 kB]
Get:7 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libmpc3 amd64 1.1.0-1 [40.8 kB]
Get:8 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 cpp-7 amd64 7.4.0-1ubuntu1~18.04.1 [6742 kB]
Get:9 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 cpp amd64 4:7.4.0-1ubuntu2.3 [27.7 kB]
Get:10 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcc1-0 amd64 8.3.0-6ubuntu1~18.04.1 [47.4 kB]
Get:11 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgomp1 amd64 8.3.0-6ubuntu1~18.04.1 [76.4 kB]
Get:12 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libitm1 amd64 8.3.0-6ubuntu1~18.04.1 [28.0 kB]
Get:13 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libatomic1 amd64 8.3.0-6ubuntu1~18.04.1 [9184 B]
Get:14 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libasan4 amd64 7.4.0-1ubuntu1~18.04.1 [359 kB]
Get:15 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 liblsan0 amd64 8.3.0-6ubuntu1~18.04.1 [133 kB]
Get:16 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libtsan0 amd64 8.3.0-6ubuntu1~18.04.1 [288 kB]
Get:17 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libubsan0 amd64 7.4.0-1ubuntu1~18.04.1 [126 kB]
Get:18 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcilkrts5 amd64 7.4.0-1ubuntu1~18.04.1 [42.5 kB]
Get:19 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmpx2 amd64 8.3.0-6ubuntu1~18.04.1 [11.6 kB]
Get:20 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libquadmath0 amd64 8.3.0-6ubuntu1~18.04.1 [133 kB]
Get:21 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgcc-7-dev amd64 7.4.0-1ubuntu1~18.04.1 [2381 kB]
Get:22 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7 amd64 7.4.0-1ubuntu1~18.04.1 [7463 kB]
Get:23 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc amd64 4:7.4.0-1ubuntu2.3 [5184 B]
Get:24 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgfortran4 amd64 7.4.0-1ubuntu1~18.04.1 [492 kB]
Get:25 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgfortran-7-dev amd64 7.4.0-1ubuntu1~18.04.1 [530 kB]
Get:26 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libc-dev-bin amd64 2.27-3ubuntu1 [71.8 kB]
Get:27 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-libc-dev amd64 4.15.0-74.84 [1015 kB]
Get:28 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libc6-dev amd64 2.27-3ubuntu1 [2587 kB]
Get:29 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 gfortran-7 amd64 7.4.0-1ubuntu1~18.04.1 [7112 kB]
Get:30 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 gfortran amd64 4:7.4.0-1ubuntu2.3 [1356 B]
Get:31 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libblas3 amd64 3.7.1-4ubuntu1 [140 kB]
Get:32 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libblas-dev amd64 3.7.1-4ubuntu1 [143 kB]
Get:33 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 liblapack3 amd64 3.7.1-4ubuntu1 [2112 kB]
Get:34 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 liblapack-dev amd64 3.7.1-4ubuntu1 [2140 kB]
Get:35 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 manpages-dev all 4.15-1 [2217 kB]
Fetched 39.6 MB in 2s (19.6 MB/s)
Extracting templates from packages: 100%
Selecting previously unselected package binutils-common:amd64.
(Reading database ... 98365 files and directories currently installed.)
Preparing to unpack .../00-binutils-common_2.30-21ubuntu1~18.04.2_amd64.deb ...
Unpacking binutils-common:amd64 (2.30-21ubuntu1~18.04.2) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../01-libbinutils_2.30-21ubuntu1~18.04.2_amd64.deb ...
Unpacking libbinutils:amd64 (2.30-21ubuntu1~18.04.2) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../02-binutils-x86-64-linux-gnu_2.30-21ubuntu1~18.04.2_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.30-21ubuntu1~18.04.2) ...
Selecting previously unselected package binutils.
Preparing to unpack .../03-binutils_2.30-21ubuntu1~18.04.2_amd64.deb ...
Unpacking binutils (2.30-21ubuntu1~18.04.2) ...
Selecting previously unselected package gcc-7-base:amd64.
Preparing to unpack .../04-gcc-7-base_7.4.0-1ubuntu1~18.04.1_amd64.deb ...
Unpacking gcc-7-base:amd64 (7.4.0-1ubuntu1~18.04.1) ...
Selecting previously unselected package libisl19:amd64.
Preparing to unpack .../05-libisl19_0.19-1_amd64.deb ...
Unpacking libisl19:amd64 (0.19-1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../06-libmpc3_1.1.0-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.1.0-1) ...
Selecting previously unselected package cpp-7.
Preparing to unpack .../07-cpp-7_7.4.0-1ubuntu1~18.04.1_amd64.deb ...
Unpacking cpp-7 (7.4.0-1ubuntu1~18.04.1) ...
Selecting previously unselected package cpp.
Preparing to unpack .../08-cpp_4%3a7.4.0-1ubuntu2.3_amd64.deb ...
Unpacking cpp (4:7.4.0-1ubuntu2.3) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../09-libcc1-0_8.3.0-6ubuntu1~18.04.1_amd64.deb ...
Unpacking libcc1-0:amd64 (8.3.0-6ubuntu1~18.04.1) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../10-libgomp1_8.3.0-6ubuntu1~18.04.1_amd64.deb ...
Unpacking libgomp1:amd64 (8.3.0-6ubuntu1~18.04.1) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../11-libitm1_8.3.0-6ubuntu1~18.04.1_amd64.deb ...
Unpacking libitm1:amd64 (8.3.0-6ubuntu1~18.04.1) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../12-libatomic1_8.3.0-6ubuntu1~18.04.1_amd64.deb ...
Unpacking libatomic1:amd64 (8.3.0-6ubuntu1~18.04.1) ...
Selecting previously unselected package libasan4:amd64.
Preparing to unpack .../13-libasan4_7.4.0-1ubuntu1~18.04.1_amd64.deb ...
Unpacking libasan4:amd64 (7.4.0-1ubuntu1~18.04.1) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../14-liblsan0_8.3.0-6ubuntu1~18.04.1_amd64.deb ...
Unpacking liblsan0:amd64 (8.3.0-6ubuntu1~18.04.1) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../15-libtsan0_8.3.0-6ubuntu1~18.04.1_amd64.deb ...
Unpacking libtsan0:amd64 (8.3.0-6ubuntu1~18.04.1) ...
Selecting previously unselected package libubsan0:amd64.
Preparing to unpack .../16-libubsan0_7.4.0-1ubuntu1~18.04.1_amd64.deb ...
Unpacking libubsan0:amd64 (7.4.0-1ubuntu1~18.04.1) ...
Selecting previously unselected package libcilkrts5:amd64.
Preparing to unpack .../17-libcilkrts5_7.4.0-1ubuntu1~18.04.1_amd64.deb ...
Unpacking libcilkrts5:amd64 (7.4.0-1ubuntu1~18.04.1) ...
Selecting previously unselected package libmpx2:amd64.
Preparing to unpack .../18-libmpx2_8.3.0-6ubuntu1~18.04.1_amd64.deb ...
Unpacking libmpx2:amd64 (8.3.0-6ubuntu1~18.04.1) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../19-libquadmath0_8.3.0-6ubuntu1~18.04.1_amd64.deb ...
Unpacking libquadmath0:amd64 (8.3.0-6ubuntu1~18.04.1) ...
Selecting previously unselected package libgcc-7-dev:amd64.
Preparing to unpack .../20-libgcc-7-dev_7.4.0-1ubuntu1~18.04.1_amd64.deb ...
Unpacking libgcc-7-dev:amd64 (7.4.0-1ubuntu1~18.04.1) ...
Selecting previously unselected package gcc-7.
Preparing to unpack .../21-gcc-7_7.4.0-1ubuntu1~18.04.1_amd64.deb ...
Unpacking gcc-7 (7.4.0-1ubuntu1~18.04.1) ...
Selecting previously unselected package gcc.
Preparing to unpack .../22-gcc_4%3a7.4.0-1ubuntu2.3_amd64.deb ...
Unpacking gcc (4:7.4.0-1ubuntu2.3) ...
Selecting previously unselected package libgfortran4:amd64.
Preparing to unpack .../23-libgfortran4_7.4.0-1ubuntu1~18.04.1_amd64.deb ...
Unpacking libgfortran4:amd64 (7.4.0-1ubuntu1~18.04.1) ...
Selecting previously unselected package libgfortran-7-dev:amd64.
Preparing to unpack .../24-libgfortran-7-dev_7.4.0-1ubuntu1~18.04.1_amd64.deb ...
Unpacking libgfortran-7-dev:amd64 (7.4.0-1ubuntu1~18.04.1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../25-libc-dev-bin_2.27-3ubuntu1_amd64.deb ...
Unpacking libc-dev-bin (2.27-3ubuntu1) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../26-linux-libc-dev_4.15.0-74.84_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.15.0-74.84) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../27-libc6-dev_2.27-3ubuntu1_amd64.deb ...
Unpacking libc6-dev:amd64 (2.27-3ubuntu1) ...
Selecting previously unselected package gfortran-7.
Preparing to unpack .../28-gfortran-7_7.4.0-1ubuntu1~18.04.1_amd64.deb ...
Unpacking gfortran-7 (7.4.0-1ubuntu1~18.04.1) ...
Selecting previously unselected package gfortran.
Preparing to unpack .../29-gfortran_4%3a7.4.0-1ubuntu2.3_amd64.deb ...
Unpacking gfortran (4:7.4.0-1ubuntu2.3) ...
Selecting previously unselected package libblas3:amd64.
Preparing to unpack .../30-libblas3_3.7.1-4ubuntu1_amd64.deb ...
Unpacking libblas3:amd64 (3.7.1-4ubuntu1) ...
Selecting previously unselected package libblas-dev:amd64.
Preparing to unpack .../31-libblas-dev_3.7.1-4ubuntu1_amd64.deb ...
Unpacking libblas-dev:amd64 (3.7.1-4ubuntu1) ...
Selecting previously unselected package liblapack3:amd64.
Preparing to unpack .../32-liblapack3_3.7.1-4ubuntu1_amd64.deb ...
Unpacking liblapack3:amd64 (3.7.1-4ubuntu1) ...
Selecting previously unselected package liblapack-dev:amd64.
Preparing to unpack .../33-liblapack-dev_3.7.1-4ubuntu1_amd64.deb ...
Unpacking liblapack-dev:amd64 (3.7.1-4ubuntu1) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../34-manpages-dev_4.15-1_all.deb ...
Unpacking manpages-dev (4.15-1) ...
Setting up libquadmath0:amd64 (8.3.0-6ubuntu1~18.04.1) ...
Setting up libgomp1:amd64 (8.3.0-6ubuntu1~18.04.1) ...
Setting up libatomic1:amd64 (8.3.0-6ubuntu1~18.04.1) ...
Setting up libcc1-0:amd64 (8.3.0-6ubuntu1~18.04.1) ...
Setting up libtsan0:amd64 (8.3.0-6ubuntu1~18.04.1) ...
Setting up linux-libc-dev:amd64 (4.15.0-74.84) ...
Setting up liblsan0:amd64 (8.3.0-6ubuntu1~18.04.1) ...
Setting up gcc-7-base:amd64 (7.4.0-1ubuntu1~18.04.1) ...
Setting up binutils-common:amd64 (2.30-21ubuntu1~18.04.2) ...
Setting up libmpx2:amd64 (8.3.0-6ubuntu1~18.04.1) ...
Setting up libblas3:amd64 (3.7.1-4ubuntu1) ...
update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/x86_64-linux-gnu/libblas.so.3 (libblas.so.3-x86_64-linux-gnu) in auto mode
Setting up libmpc3:amd64 (1.1.0-1) ...
Setting up libc-dev-bin (2.27-3ubuntu1) ...
Setting up manpages-dev (4.15-1) ...
Setting up libc6-dev:amd64 (2.27-3ubuntu1) ...
Setting up libitm1:amd64 (8.3.0-6ubuntu1~18.04.1) ...
Setting up libisl19:amd64 (0.19-1) ...
Setting up libasan4:amd64 (7.4.0-1ubuntu1~18.04.1) ...
Setting up libgfortran4:amd64 (7.4.0-1ubuntu1~18.04.1) ...
Setting up libbinutils:amd64 (2.30-21ubuntu1~18.04.2) ...
Setting up libblas-dev:amd64 (3.7.1-4ubuntu1) ...
update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so to provide /usr/lib/x86_64-linux-gnu/libblas.so (libblas.so-x86_64-linux-gnu) in auto mode
Setting up libcilkrts5:amd64 (7.4.0-1ubuntu1~18.04.1) ...
Setting up libubsan0:amd64 (7.4.0-1ubuntu1~18.04.1) ...
Setting up liblapack3:amd64 (3.7.1-4ubuntu1) ...
update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/x86_64-linux-gnu/liblapack.so.3 (liblapack.so.3-x86_64-linux-gnu) in auto mode
Setting up libgcc-7-dev:amd64 (7.4.0-1ubuntu1~18.04.1) ...
Setting up cpp-7 (7.4.0-1ubuntu1~18.04.1) ...
Setting up libgfortran-7-dev:amd64 (7.4.0-1ubuntu1~18.04.1) ...
Setting up binutils-x86-64-linux-gnu (2.30-21ubuntu1~18.04.2) ...
Setting up liblapack-dev:amd64 (3.7.1-4ubuntu1) ...
update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so to provide /usr/lib/x86_64-linux-gnu/liblapack.so (liblapack.so-x86_64-linux-gnu) in auto mode
Setting up cpp (4:7.4.0-1ubuntu2.3) ...
Setting up binutils (2.30-21ubuntu1~18.04.2) ...
Setting up gcc-7 (7.4.0-1ubuntu1~18.04.1) ...
Setting up gcc (4:7.4.0-1ubuntu2.3) ...
Setting up gfortran-7 (7.4.0-1ubuntu1~18.04.1) ...
Setting up gfortran (4:7.4.0-1ubuntu2.3) ...
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
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
ubuntu@ip-172-31-12-156:~$ julia
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _ | |
| | |_| | | | (_| | | Version 1.3.1 (2019-12-30)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> using JuMP
[ Info: Precompiling JuMP [4076af6c-e467-56ae-b986-b466b2749572]
ERROR: LoadError: Failed to precompile MathOptInterface [b8f27783-ece8-5eb3-8dc8-9495eed66fee] to /home/ubuntu/.julia/compiled/v1.3/MathOptInterface/tyub8_lOBhQ.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283
[3] _require(::Base.PkgId) at ./loading.jl:1024
[4] require(::Base.PkgId) at ./loading.jl:922
[5] require(::Module, ::Symbol) at ./loading.jl:917
[6] include at ./boot.jl:328 [inlined]
[7] include_relative(::Module, ::String) at ./loading.jl:1105
[8] include(::Module, ::String) at ./Base.jl:31
[9] top-level scope at none:2
[10] eval at ./boot.jl:330 [inlined]
[11] eval(::Expr) at ./client.jl:425
[12] top-level scope at ./none:3
in expression starting at /home/ubuntu/.julia/packages/JuMP/MsUSY/src/JuMP.jl:16
ERROR: Failed to precompile JuMP [4076af6c-e467-56ae-b986-b466b2749572] to /home/ubuntu/.julia/compiled/v1.3/JuMP/DmXqY_lOBhQ.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283
[3] _require(::Base.PkgId) at ./loading.jl:1024
[4] require(::Base.PkgId) at ./loading.jl:922
[5] require(::Module, ::Symbol) at ./loading.jl:917
(v1.3) pkg> rm JuMP
Updating `~/.julia/environments/v1.3/Project.toml`
[4076af6c] - JuMP v0.20.1
Updating `~/.julia/environments/v1.3/Manifest.toml`
[6e4b80f9] - BenchmarkTools v0.4.3
[b99e7846] - BinaryProvider v0.5.8
[49dc2e85] - Calculus v0.5.1
[523fee87] - CodecBzip2 v0.6.0
[944b1d66] - CodecZlib v0.6.0
[bbf7d656] - CommonSubexpressions v0.2.0
[864edb3b] - DataStructures v0.17.7
[163ba53b] - DiffResults v1.0.2
[b552c78f] - DiffRules v1.0.0
[f6369f11] - ForwardDiff v0.10.8
[cd3eb016] - HTTP v0.8.8
[83e8ac13] - IniFile v0.5.0
[682c06a0] - JSON v0.21.0
[7d188eb4] - JSONSchema v0.2.0
[4076af6c] - JuMP v0.20.1
[b8f27783] - MathOptInterface v0.9.9
[739be429] - MbedTLS v0.7.0
[d8a4904e] - MutableArithmetics v0.2.0
[77ba4419] - NaNMath v0.3.3
[efe28fd5] - OpenSpecFun_jll v0.5.3+1
[bac558e1] - OrderedCollections v1.1.0
[69de0a69] - Parsers v0.3.10
[276daf66] - SpecialFunctions v0.9.0
[90137ffa] - StaticArrays v0.12.1
[3bb67fe8] - TranscodingStreams v0.9.5
[2a0f44e3] - Base64
[ade2ca70] - Dates
[8ba89e20] - Distributed
[b77e0a4c] - InteractiveUtils
[76f85450] - LibGit2
[8f399da3] - Libdl
[37e2e46d] - LinearAlgebra
[56ddb016] - Logging
[d6f4376e] - Markdown
[a63ad114] - Mmap
[44cfe95a] - Pkg
[de0858da] - Printf
[3fa0cd96] - REPL
[9a3f8284] - Random
[ea8e919c] - SHA
[9e88b42a] - Serialization
[6462fe0b] - Sockets
[2f01184e] - SparseArrays
[10745b16] - Statistics
[8dfed614] - Test
[cf7118a7] - UUIDs
[4ec0a83e] - Unicode
(v1.3) pkg> rm MathOptInterface
ERROR: The following package names could not be resolved:
* MathOptInterface (not found in project or manifest)
Please specify by known `name=uuid`.
(v1.3) pkg> add JuMP
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Fetching: [> [==================================== Resolving package versions...
Updating `~/.julia/environments/v1.3/Project.toml`
[4076af6c] + JuMP v0.20.1
Updating `~/.julia/environments/v1.3/Manifest.toml`
[6e4b80f9] + BenchmarkTools v0.4.3
[b99e7846] + BinaryProvider v0.5.8
[49dc2e85] + Calculus v0.5.1
[523fee87] + CodecBzip2 v0.6.0
[944b1d66] + CodecZlib v0.6.0
[bbf7d656] + CommonSubexpressions v0.2.0
[864edb3b] + DataStructures v0.17.7
[163ba53b] + DiffResults v1.0.2
[b552c78f] + DiffRules v1.0.0
[f6369f11] + ForwardDiff v0.10.8
[cd3eb016] + HTTP v0.8.8
[83e8ac13] + IniFile v0.5.0
[682c06a0] + JSON v0.21.0
[7d188eb4] + JSONSchema v0.2.0
[4076af6c] + JuMP v0.20.1
[b8f27783] + MathOptInterface v0.9.9
[739be429] + MbedTLS v0.7.0
[d8a4904e] + MutableArithmetics v0.2.0
[77ba4419] + NaNMath v0.3.3
[efe28fd5] + OpenSpecFun_jll v0.5.3+1
[bac558e1] + OrderedCollections v1.1.0
[69de0a69] + Parsers v0.3.10
[276daf66] + SpecialFunctions v0.9.0
[90137ffa] + StaticArrays v0.12.1
[3bb67fe8] + TranscodingStreams v0.9.5
[2a0f44e3] + Base64
[ade2ca70] + Dates
[8ba89e20] + Distributed
[b77e0a4c] + InteractiveUtils
[76f85450] + LibGit2
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[56ddb016] + Logging
[d6f4376e] + Markdown
[a63ad114] + Mmap
[44cfe95a] + Pkg
[de0858da] + Printf
[3fa0cd96] + REPL
[9a3f8284] + Random
[ea8e919c] + SHA
[9e88b42a] + Serialization
[6462fe0b] + Sockets
[2f01184e] + SparseArrays
[10745b16] + Statistics
[8dfed614] + Test
[cf7118a7] + UUIDs
[4ec0a83e] + Unicode
julia> using JuMP
[ Info: Precompiling JuMP [4076af6c-e467-56ae-b986-b466b2749572]
ERROR: LoadError: Failed to precompile MathOptInterface [b8f27783-ece8-5eb3-8dc8-9495eed66fee] to /home/ubuntu/.julia/compiled/v1.3/MathOptInterface/tyub8_lOBhQ.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283
[3] _require(::Base.PkgId) at ./loading.jl:1024
[4] require(::Base.PkgId) at ./loading.jl:922
[5] require(::Module, ::Symbol) at ./loading.jl:917
[6] include at ./boot.jl:328 [inlined]
[7] include_relative(::Module, ::String) at ./loading.jl:1105
[8] include(::Module, ::String) at ./Base.jl:31
[9] top-level scope at none:2
[10] eval at ./boot.jl:330 [inlined]
[11] eval(::Expr) at ./client.jl:425
[12] top-level scope at ./none:3
in expression starting at /home/ubuntu/.julia/packages/JuMP/MsUSY/src/JuMP.jl:16
ERROR: Failed to precompile JuMP [4076af6c-e467-56ae-b986-b466b2749572] to /home/ubuntu/.julia/compiled/v1.3/JuMP/DmXqY_lOBhQ.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283
[3] _require(::Base.PkgId) at ./loading.jl:1024
[4] require(::Base.PkgId) at ./loading.jl:922
[5] require(::Module, ::Symbol) at ./loading.jl:917
julia>
I also tried removing before the ~/.julia folder and adding the JuMP package again. And I also tested with the Cbc package and the same error occurs with MathOptInterface. Itβs probably some dependency on this package but not reported in JuMP dependencies.
ubuntu@ip-172-31-12-156:~$ ls .julia
artifacts environments packages
compiled logs registries
ubuntu@ip-172-31-12-156:~$ rm -rf .julia
ubuntu@ip-172-31-12-156:~$ julia
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _ | |
| | |_| | | | (_| | | Version 1.3.1 (2019-12-30)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
(v1.3) pkg> add JuMP
Cloning default registries into `~/.julia`
Cloning registry from "https://github.com/JuliaRegistries/General.git"
Fetching: [> Fetching: [=> Fetching: [==================================== Added registry `General` to `~/.julia/registries/General`
Resolving package versions...
Installed NaNMath ββββββββββββββ v0.3.3
Installed DiffResults ββββββββββ v1.0.2
Installed CodecBzip2 βββββββββββ v0.6.0
Installed CodecZlib ββββββββββββ v0.6.0
Installed MbedTLS ββββββββββββββ v0.7.0
Installed DiffRules ββββββββββββ v1.0.0
Installed HTTP βββββββββββββββββ v0.8.8
Installed JuMP βββββββββββββββββ v0.20.1
Installed DataStructures βββββββ v0.17.7
Installed BenchmarkTools βββββββ v0.4.3
Installed SpecialFunctions βββββ v0.9.0
Installed MathOptInterface βββββ v0.9.9
Installed MutableArithmetics βββ v0.2.0
Installed StaticArrays βββββββββ v0.12.1
Installed ForwardDiff ββββββββββ v0.10.8
Installed Parsers ββββββββββββββ v0.3.10
Installed JSONSchema βββββββββββ v0.2.0
Installed JSON βββββββββββββββββ v0.21.0
Installed IniFile ββββββββββββββ v0.5.0
Installed OrderedCollections βββ v1.1.0
Installed CommonSubexpressions β v0.2.0
Installed Calculus βββββββββββββ v0.5.1
Installed TranscodingStreams βββ v0.9.5
Installed OpenSpecFun_jll ββββββ v0.5.3+1
Installed BinaryProvider βββββββ v0.5.8
Updating `~/.julia/environments/v1.3/Project.toml`
[4076af6c] + JuMP v0.20.1
Updating `~/.julia/environments/v1.3/Manifest.toml`
[6e4b80f9] + BenchmarkTools v0.4.3
[b99e7846] + BinaryProvider v0.5.8
[49dc2e85] + Calculus v0.5.1
[523fee87] + CodecBzip2 v0.6.0
[944b1d66] + CodecZlib v0.6.0
[bbf7d656] + CommonSubexpressions v0.2.0
[864edb3b] + DataStructures v0.17.7
[163ba53b] + DiffResults v1.0.2
[b552c78f] + DiffRules v1.0.0
[f6369f11] + ForwardDiff v0.10.8
[cd3eb016] + HTTP v0.8.8
[83e8ac13] + IniFile v0.5.0
[682c06a0] + JSON v0.21.0
[7d188eb4] + JSONSchema v0.2.0
[4076af6c] + JuMP v0.20.1
[b8f27783] + MathOptInterface v0.9.9
[739be429] + MbedTLS v0.7.0
[d8a4904e] + MutableArithmetics v0.2.0
[77ba4419] + NaNMath v0.3.3
[efe28fd5] + OpenSpecFun_jll v0.5.3+1
[bac558e1] + OrderedCollections v1.1.0
[69de0a69] + Parsers v0.3.10
[276daf66] + SpecialFunctions v0.9.0
[90137ffa] + StaticArrays v0.12.1
[3bb67fe8] + TranscodingStreams v0.9.5
[2a0f44e3] + Base64
[ade2ca70] + Dates
[8ba89e20] + Distributed
[b77e0a4c] + InteractiveUtils
[76f85450] + LibGit2
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[56ddb016] + Logging
[d6f4376e] + Markdown
[a63ad114] + Mmap
[44cfe95a] + Pkg
[de0858da] + Printf
[3fa0cd96] + REPL
[9a3f8284] + Random
[ea8e919c] + SHA
[9e88b42a] + Serialization
[6462fe0b] + Sockets
[2f01184e] + SparseArrays
[10745b16] + Statistics
[8dfed614] + Test
[cf7118a7] + UUIDs
[4ec0a83e] + Unicode
Building MbedTLS ββββ `~/.julia/packages/MbedTLS/a1JFn/deps/build.log`
Building CodecBzip2 β `~/.julia/packages/CodecBzip2/T5yr7/deps/build.log`
Building CodecZlib ββ `~/.julia/packages/CodecZlib/5t9zO/deps/build.log`
(v1.3) pkg> add MathOptInterface
Resolving package versions...
Updating `~/.julia/environments/v1.3/Project.toml`
[b8f27783] + MathOptInterface v0.9.9
Updating `~/.julia/environments/v1.3/Manifest.toml`
[no changes]
julia> using JuMP
[ Info: Precompiling JuMP [4076af6c-e467-56ae-b986-b466b2749572]
ERROR: LoadError: Failed to precompile MathOptInterface [b8f27783-ece8-5eb3-8dc8-9495eed66fee] to /home/ubuntu/.julia/compiled/v1.3/MathOptInterface/tyub8_lOBhQ.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283
[3] _require(::Base.PkgId) at ./loading.jl:1024
[4] require(::Base.PkgId) at ./loading.jl:922
[5] require(::Module, ::Symbol) at ./loading.jl:917
[6] include at ./boot.jl:328 [inlined]
[7] include_relative(::Module, ::String) at ./loading.jl:1105
[8] include(::Module, ::String) at ./Base.jl:31
[9] top-level scope at none:2
[10] eval at ./boot.jl:330 [inlined]
[11] eval(::Expr) at ./client.jl:425
[12] top-level scope at ./none:3
in expression starting at /home/ubuntu/.julia/packages/JuMP/MsUSY/src/JuMP.jl:16
ERROR: Failed to precompile JuMP [4076af6c-e467-56ae-b986-b466b2749572] to /home/ubuntu/.julia/compiled/v1.3/JuMP/DmXqY_lOBhQ.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283
[3] _require(::Base.PkgId) at ./loading.jl:1024
[4] require(::Base.PkgId) at ./loading.jl:922
[5] require(::Module, ::Symbol) at ./loading.jl:917
(v1.3) pkg> add Cbc
Resolving package versions...
Installed Compat βββββββ v2.2.0
Installed Cbc ββββββββββ v0.6.6
Installed MathProgBase β v0.7.7
Updating `~/.julia/environments/v1.3/Project.toml`
[9961bab8] + Cbc v0.6.6
Updating `~/.julia/environments/v1.3/Manifest.toml`
[9961bab8] + Cbc v0.6.6
[34da2185] + Compat v2.2.0
[fdba3010] + MathProgBase v0.7.7
[8bb1440f] + DelimitedFiles
[1a1011a3] + SharedArrays
Building Cbc β `~/.julia/packages/Cbc/vWzyC/deps/build.log`
julia> using Cbc
[ Info: Precompiling Cbc [9961bab8-2fa3-5c5a-9d89-47fab24efd76]
ERROR: LoadError: LoadError: Failed to precompile MathOptInterface [b8f27783-ece8-5eb3-8dc8-9495eed66fee] to /home/ubuntu/.julia/compiled/v1.3/MathOptInterface/tyub8_lOBhQ.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283
[3] _require(::Base.PkgId) at ./loading.jl:1024
[4] require(::Base.PkgId) at ./loading.jl:922
[5] require(::Module, ::Symbol) at ./loading.jl:917
[6] include at ./boot.jl:328 [inlined]
[7] include_relative(::Module, ::String) at ./loading.jl:1105
[8] include at ./Base.jl:31 [inlined]
[9] include(::String) at /home/ubuntu/.julia/packages/Cbc/vWzyC/src/Cbc.jl:1
[10] top-level scope at /home/ubuntu/.julia/packages/Cbc/vWzyC/src/Cbc.jl:16
[11] include at ./boot.jl:328 [inlined]
[12] include_relative(::Module, ::String) at ./loading.jl:1105
[13] include(::Module, ::String) at ./Base.jl:31
[14] top-level scope at none:2
[15] eval at ./boot.jl:330 [inlined]
[16] eval(::Expr) at ./client.jl:425
[17] top-level scope at ./none:3
in expression starting at /home/ubuntu/.julia/packages/Cbc/vWzyC/src/MOI_wrapper.jl:1
in expression starting at /home/ubuntu/.julia/packages/Cbc/vWzyC/src/Cbc.jl:16
ERROR: Failed to precompile Cbc [9961bab8-2fa3-5c5a-9d89-47fab24efd76] to /home/ubuntu/.julia/compiled/v1.3/Cbc/ARPfV_lOBhQ.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283
[3] _require(::Base.PkgId) at ./loading.jl:1024
[4] require(::Base.PkgId) at ./loading.jl:922
[5] require(::Module, ::Symbol) at ./loading.jl:917
julia>
Works for DataFrames (I had already tested it because my code uses this package), but not for Distributions. I believe it is due to the instance I am using, which has only 1Gb, and the precompilation uses a lot of ram memory.
(v1.3) pkg> add DataFrames
Resolving package versions...
Updating `~/.julia/environments/v1.3/Project.toml`
[a93c6f00] + DataFrames v0.20.0
Updating `~/.julia/environments/v1.3/Manifest.toml`
[324d7699] + CategoricalArrays v0.7.6
[34da2185] + Compat v3.2.0
[9a962f9c] + DataAPI v1.1.0
[a93c6f00] + DataFrames v0.20.0
[864edb3b] + DataStructures v0.17.7
[e2d170a0] + DataValueInterfaces v1.0.0
[41ab1584] + InvertedIndices v1.0.0
[82899510] + IteratorInterfaceExtensions v1.0.0
[682c06a0] + JSON v0.21.0
[e1d29d7a] + Missings v0.4.3
[bac558e1] + OrderedCollections v1.1.0
[69de0a69] + Parsers v0.3.10
[2dfb63ee] + PooledArrays v0.5.3
[189a3867] + Reexport v0.2.0
[a2af1166] + SortingAlgorithms v0.3.1
[3783bdb8] + TableTraits v1.0.0
[bd369af6] + Tables v0.2.11
[2a0f44e3] + Base64
[ade2ca70] + Dates
[8bb1440f] + DelimitedFiles
[8ba89e20] + Distributed
[9fa8497b] + Future
[b77e0a4c] + InteractiveUtils
[76f85450] + LibGit2
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[56ddb016] + Logging
[d6f4376e] + Markdown
[a63ad114] + Mmap
[44cfe95a] + Pkg
[de0858da] + Printf
[3fa0cd96] + REPL
[9a3f8284] + Random
[ea8e919c] + SHA
[9e88b42a] + Serialization
[1a1011a3] + SharedArrays
[6462fe0b] + Sockets
[2f01184e] + SparseArrays
[10745b16] + Statistics
[8dfed614] + Test
[cf7118a7] + UUIDs
[4ec0a83e] + Unicode
(v1.3) pkg> add Distributions
Resolving package versions...
Installed StatsBase ββββββββ v0.32.0
Installed StatsFuns ββββββββ v0.9.3
Installed QuadGK βββββββββββ v2.3.1
Installed Distributions ββββ v0.22.0
Installed Arpack_jll βββββββ v3.5.0+2
Installed Arpack βββββββββββ v0.4.0
Installed FillArrays βββββββ v0.8.2
Installed OpenBLAS_jll βββββ v0.3.7+4
Installed SpecialFunctions β v0.9.0
Installed PDMats βββββββββββ v0.9.10
Installed BinaryProvider βββ v0.5.8
Installed OpenSpecFun_jll ββ v0.5.3+1
Installed Rmath ββββββββββββ v0.6.0
Updating `~/.julia/environments/v1.3/Project.toml`
[31c24e10] + Distributions v0.22.0
Updating `~/.julia/environments/v1.3/Manifest.toml`
[7d9fca2a] + Arpack v0.4.0
[68821587] + Arpack_jll v3.5.0+2
[b99e7846] + BinaryProvider v0.5.8
[31c24e10] + Distributions v0.22.0
[1a297f60] + FillArrays v0.8.2
[4536629a] + OpenBLAS_jll v0.3.7+4
[efe28fd5] + OpenSpecFun_jll v0.5.3+1
[90014a1f] + PDMats v0.9.10
[1fd47b50] + QuadGK v2.3.1
[79098fc4] + Rmath v0.6.0
[276daf66] + SpecialFunctions v0.9.0
[2913bbd2] + StatsBase v0.32.0
[4c63d2b9] + StatsFuns v0.9.3
[4607b0f0] + SuiteSparse
Building Rmath β `~/.julia/packages/Rmath/BoBag/deps/build.log`
julia> using DataFrames
[ Info: Precompiling DataFrames [a93c6f00-e57d-5684-b7b6-d8193f3e46c0]
julia> using Distributions
[ Info: Precompiling Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
ERROR: could not load library "/opt/julia-1.3.1/lib/julia/sys.so"
/opt/julia-1.3.1/lib/julia/sys.so: failed to map segment from shared object
ERROR: LoadError: LoadError: Failed to precompile OpenBLAS_jll [4536629a-c528-5b80-bd46-f80d51c5b363] to /home/ubuntu/.julia/compiled/v1.3/OpenBLAS_jll/vLkFP_lOBhQ.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283
[3] _require(::Base.PkgId) at ./loading.jl:1024
[4] require(::Base.PkgId) at ./loading.jl:922
[5] require(::Module, ::Symbol) at ./loading.jl:917
[6] include at ./boot.jl:328 [inlined]
[7] include_relative(::Module, ::String) at ./loading.jl:1105
[8] include at ./Base.jl:31 [inlined]
[9] include(::String) at /home/ubuntu/.julia/packages/Arpack_jll/HCY9Y/src/Arpack_jll.jl:1
[10] top-level scope at /home/ubuntu/.julia/packages/Arpack_jll/HCY9Y/src/Arpack_jll.jl:47
[11] include at ./boot.jl:328 [inlined]
[12] include_relative(::Module, ::String) at ./loading.jl:1105
[13] include(::Module, ::String) at ./Base.jl:31
[14] top-level scope at none:2
[15] eval at ./boot.jl:330 [inlined]
[16] eval(::Expr) at ./client.jl:425
[17] top-level scope at ./none:3
in expression starting at /home/ubuntu/.julia/packages/Arpack_jll/HCY9Y/src/wrappers/x86_64-linux-gnu-libgfortran4.jl:4
in expression starting at /home/ubuntu/.julia/packages/Arpack_jll/HCY9Y/src/Arpack_jll.jl:43
ERROR: LoadError: Failed to precompile Arpack_jll [68821587-b530-5797-8361-c406ea357684] to /home/ubuntu/.julia/compiled/v1.3/Arpack_jll/m4kdm_lOBhQ.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283
[3] _require(::Base.PkgId) at ./loading.jl:1024
[4] require(::Base.PkgId) at ./loading.jl:922
[5] require(::Module, ::Symbol) at ./loading.jl:917
[6] include at ./boot.jl:328 [inlined]
[7] include_relative(::Module, ::String) at ./loading.jl:1105
[8] include(::Module, ::String) at ./Base.jl:31
[9] top-level scope at none:2
[10] eval at ./boot.jl:330 [inlined]
[11] eval(::Expr) at ./client.jl:425
[12] top-level scope at ./none:3
in expression starting at /home/ubuntu/.julia/packages/Arpack/o35I5/src/Arpack.jl:8
ERROR: LoadError: LoadError: Failed to precompile Arpack [7d9fca2a-8960-54d3-9f78-7d1dccf2cb97] to /home/ubuntu/.julia/compiled/v1.3/Arpack/X5VZL_lOBhQ.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283
[3] _require(::Base.PkgId) at ./loading.jl:1024
[4] require(::Base.PkgId) at ./loading.jl:922
[5] require(::Module, ::Symbol) at ./loading.jl:917
[6] include at ./boot.jl:328 [inlined]
[7] include_relative(::Module, ::String) at ./loading.jl:1105
[8] include at ./Base.jl:31 [inlined]
[9] include(::String) at /home/ubuntu/.julia/packages/PDMats/nKT0N/src/PDMats.jl:1
[10] top-level scope at /home/ubuntu/.julia/packages/PDMats/nKT0N/src/PDMats.jl:52
[11] include at ./boot.jl:328 [inlined]
[12] include_relative(::Module, ::String) at ./loading.jl:1105
[13] include(::Module, ::String) at ./Base.jl:31
[14] top-level scope at none:2
[15] eval at ./boot.jl:330 [inlined]
[16] eval(::Expr) at ./client.jl:425
[17] top-level scope at ./none:3
in expression starting at /home/ubuntu/.julia/packages/PDMats/nKT0N/src/pdsparsemat.jl:1
in expression starting at /home/ubuntu/.julia/packages/PDMats/nKT0N/src/PDMats.jl:51
ERROR: LoadError: Failed to precompile PDMats [90014a1f-27ba-587c-ab20-58faa44d9150] to /home/ubuntu/.julia/compiled/v1.3/PDMats/wuzEE_lOBhQ.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283
[3] _require(::Base.PkgId) at ./loading.jl:1024
[4] require(::Base.PkgId) at ./loading.jl:922
[5] require(::Module, ::Symbol) at ./loading.jl:917
[6] include at ./boot.jl:328 [inlined]
[7] include_relative(::Module, ::String) at ./loading.jl:1105
[8] include(::Module, ::String) at ./Base.jl:31
[9] top-level scope at none:2
[10] eval at ./boot.jl:330 [inlined]
[11] eval(::Expr) at ./client.jl:425
[12] top-level scope at ./none:3
in expression starting at /home/ubuntu/.julia/packages/Distributions/gA9p1/src/Distributions.jl:3
ERROR: Failed to precompile Distributions [31c24e10-a181-5473-b8eb-7969acd0382f] to /home/ubuntu/.julia/compiled/v1.3/Distributions/xILW0_lOBhQ.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283
[3] _require(::Base.PkgId) at ./loading.jl:1024
[4] require(::Base.PkgId) at ./loading.jl:922
[5] require(::Module, ::Symbol) at ./loading.jl:917
julia>
News:
I started a virtual machine with VirtualBox with only 1Gb of RAM and installed ubuntu server 18.04. I installed Julia and the JuMP package and I have the big surprise: I could load and precompile JuMP with no problems!