Problems with coarrays

I have no experience with Windows/WSL, so I do not know how linux software is installed there. In regular Linux environment, both RHEL-like and Ubuntu/Debian-like, you can add an Intel oneAPI repository to teh system and then try to install just the fortran compiler. All needed extra packages will be automatically installed as dependencies.