# Installing and running CMAQ on WSL

**URL:** https://forum.cmascenter.org/t/installing-and-running-cmaq-on-wsl/5017
**Category:** Benchmark Issues and Errors
**Created:** [June 20, 2024, 4:55am UTC](https://forum.cmascenter.org/t/installing-and-running-cmaq-on-wsl/5017 "2024-06-20T04:55:22Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![lizadams](https://avatars.discourse-cdn.com/v4/letter/l/49beb7/32.png) [@lizadams](https://forum.cmascenter.org/u/lizadams)
#### Post date: [June 21, 2024, 1:55pm UTC](https://forum.cmascenter.org/t/installing-and-running-cmaq-on-wsl/5017/2 "2024-06-21T13:55:44Z")

</div>

I am not familiar with using [Windows Subsystem for Linux](https://learn.microsoft.com/en-us/windows/wsl/about) (WSL).

Please see the following software requirements for CMAQ:

> <https://github.com/USEPA/CMAQ/blob/main/DOCS/Users_Guide/CMAQ_UG_ch03_preparing_compute_environment.md#33-software-requirements>

A recent post from @barronh indicates that CMAQ scripts require tcsh, not csh, not bash.

> [@Error in CMAQ5.3 benchmark on Ubunru18](https://forum.cmascenter.org/t/error-in-cmaq5-3-benchmark-on-ubunru18/1090/9):
>
> Short Answer I think your machine uses a true csh, which does not allow arguments to source. Many modern day systems symbolically link csh to tcsh, which does allow arguments to source. If you have tcsh on your machine, change csh to tcsh in any/all the scripts and it should work. Longer Answer My guess is that this is a csh or tcsh or version issue. For example, on our computational cluster csh is really a symbolic link to tcsh. ls -lh $(which csh) lrwxrwxrwx 1 root root 4 2021-11-08 06:37 /u…

You may be able to following the instructions for installing the compilers and libraries for WRF on WSL. CMAQ uses many of the same underlying libraries as WRF. However, you will need tcsh and you will also need to install I/O API before you can build and run CMAQ.

> <https://gist.github.com/bennyistanto/fb5dcfb1f9d9b3b8745e199523368a62>
>
> There are more than three files. show original

---

_[View the full topic](https://forum.cmascenter.org/t/installing-and-running-cmaq-on-wsl/5017)._
