# Failed to build real.exe when compiling WRF-CMAQ two-way model

**URL:** <https://forum.cmascenter.org/t/failed-to-build-real-exe-when-compiling-wrf-cmaq-two-way-model/5154>\
**Category:** WRF-CMAQ\
**Created:** [August 20, 2024, 10:47am UTC](https://forum.cmascenter.org/t/failed-to-build-real-exe-when-compiling-wrf-cmaq-two-way-model/5154 "2024-08-20T10:47:35Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Fortuna](https://avatars.discourse-cdn.com/v4/letter/f/ea666f/32.png) [@Fortuna](https://forum.cmascenter.org/u/Fortuna)\
**Post date:** [August 29, 2024, 8:18am UTC](https://forum.cmascenter.org/t/failed-to-build-real-exe-when-compiling-wrf-cmaq-two-way-model/5154/5 "2024-08-29T08:18:58Z")

</div>

Hi David,

Thank you very much for your helpful advice. After adding “-j 1” in compile code, my previous error were resolved. Now I can find wrf.exe, real.exe and tc.exe in /main/ folder, but there are still some errors compiling ndown.exe. It seems that /dyn\_em/solve\_em.f90 can’t get the module of twoway.

 ![1724915880232](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/2X/f/f299658e28c194f9d27f212c9efd885466c56065.png)

Here is my compile log file. Maybe there are some details I missed during compiling.  
[mylog.txt](https://forum.cmascenter.org/uploads/short-url/1rr0qRxbax7HfsLx0Miyg9SjgWP.txt) (64.0 KB)

Best wishes,  
Liu

---

_[View the full topic](https://forum.cmascenter.org/t/failed-to-build-real-exe-when-compiling-wrf-cmaq-two-way-model/5154)._
