To do statistics more efficiently.
The compiled binaries often contain install scripts which put files to shared
/usr. Consequently, they have to be run as sudo privileges.
That drove me to start this lengthy Julia compilation.
After reassuring that the entire installation process didn’t require sudo
privileges, I checkout out to
make -j 6, hoping that six
threads would be run simultaneously. However, MadScientist claimed that
make isn’t multi-threaded. The CPU usage graph in the above
screenshot captured the six CPUs running at the same time.
After half an hour, the system complained that the CMake installed was too
old (v220.127.116.11). The process exited with a nonzero status and a message to
contrib/download_cmake.sh in order to grab an update version. After
viewing the script for
/usr, I ran
make PREFIX=~/julia install and waited
for an hour.
Despite some errors from the compiler and the make exit status 1, no errors were explicitly shown at the end of the process.
The compilation can take a long time. It lasted for one and a half hour on this workstation. I can’t how long this would take if it’s run on a laptop.
I added a symbolic link
~/bin/julia pointing to
~/src/julia/julia, which in
turn points to
$ julia --version julia version 1.0.0