We recommend ubuntu 20.04, 22.04 or 24.04 as WSL image.
Following package will be needed to build ERmod.
sudo apt-get install build-essentials gfortran openmpi-bin liblapack-dev libfftw3-dev
After installing the packages above, you can follow installation guide for Linux.