CUDA on WSL2 – the Easy Way

Its been a while since Microsoft release WSL (and WSL2). As a someone who actively work in academics and computational field, this is more than a welcomed step which will help to stay productive without the need to do dual-booting anymore. Don’t get me wrong, of course I’m saying in personal desktop environment, not an actual development server.

A year ago, I wish WSL to include CUDA experience. Long story short I know that wish would be fulfilled with WSL2. Unfortunately, during its early development it still proven hard for me to deploy it successfully. If you read my previous post, even I myself cant 100% reproduce it in different machine. I notice that it would need some sort of NVIDIA image, which I’m still not familiar with this technology. But recently I just found out that CUDA can now works out of the box within WSL2. Here how it works:

Lanjutkan membaca “CUDA on WSL2 – the Easy Way”

CUDA on WSL (Hard Way)

CUDA on WSL (Hard Way)

Updated: New, easy way which not involved an image can be found here.

Ever since Windows launching their subsystem for Linux (WSL), I really excited. It means that I no need to do dual boot, using emulator that takes more resource than pristine Linux itself, and many other hassle. You may say that I can just use Linux as a daily driver. But unfortunately I’m not much as a “programmer” myself. I do work with computational chemistry/biochemistry. However, being work in scientific field require me to use tools and software that mostly available in more popular OS such as Windows while not many provided for MacOS (good thing I’m not a fanboy). So at most of the time I’m literally put my one leg on Windows while the other need to stay still on Linux.

One of my requirement is to use GPU to train my machine learning. While I do have access to GPU server, I would like to test my code with small sample locally without any need to stay connected all the time. Granted! CUDA now can be used within WSL2. Here is how I set-up and some notes about it:

Lanjutkan membaca “CUDA on WSL (Hard Way)”

Set Up Raspberry Pi 4 (B) with Ubuntu Server 20.04 (+Minimal Desktop) and Argon One Fan Control

Set Up Raspberry Pi 4 (B) with Ubuntu Server 20.04 (+Minimal Desktop) and Argon One Fan Control

*updated 2020 Oct 21, change the method to obtaining desktop GUI and adding some troubleshooting

In this tutorial, I will write about how to set complete Ubuntu server 20.04 into Raspberry Pi 4 (B) including the desktop GUI. Note that mine is 8GB version, so I use Ubuntu 64-bit for that. It may works with 32-bit or 64-bit/Pi 3 pairs. I also use Argon One case with fan control. There will be slight workaround than what is written in Argon One instruction manual.

Lanjutkan membaca “Set Up Raspberry Pi 4 (B) with Ubuntu Server 20.04 (+Minimal Desktop) and Argon One Fan Control”

NVIDIA + ARM, Will the Force be With You?

NVIDIA + ARM, Will the Force be With You?

Rencana migrasi Apple ke arsitektur ARM ternyata bukan menjadi kejutan terbesar saat ini. Beberapa hari lalu NVIDIA yang merupakan pemain besar di industri GPU mengumumkan akusisi ARM dari SoftBank. Dari sisi teknologi dan ekonomi, akusisi ini bakal mengubah total arah perkembangan industri semikonduktor dan supercomputing. Kok bisa?

Lanjutkan membaca “NVIDIA + ARM, Will the Force be With You?”

iPad Air 3 + Pencil vs Surface Pro 3 + Pen for Note-Taking (Review)

iPad Air 3 + Pencil vs Surface Pro 3 + Pen for Note-Taking (Review)

Recently I bought new iPad Air 3 (2019) for note-taking purpose. Actually I already own Surface Pro 3 (2014) and really fond with that. But then it shifted to be my personal PC for work. After spending quite some time with my new iPad Air 3, I would like to compare both of them in this blog.

Not a fair review, I know. While one is launched this year, the other is almost 5 years old. That’s why I’m gonna write a review specifically for note-taking. By Handwriting of course, with their respective surface pen and apple pencil.

Lanjutkan membaca “iPad Air 3 + Pencil vs Surface Pro 3 + Pen for Note-Taking (Review)”