# H5DIR: Undefined variable

**URL:** <https://forum.cmascenter.org/t/h5dir-undefined-variable/708>\
**Category:** Compiling\
**Created:** [May 22, 2019, 1:33pm UTC](https://forum.cmascenter.org/t/h5dir-undefined-variable/708 "2019-05-22T13:33:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sadia](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@Sadia](https://forum.cmascenter.org/u/Sadia)\
**Post date:** [May 22, 2019, 1:33pm UTC](https://forum.cmascenter.org/t/h5dir-undefined-variable/708/1 "2019-05-22T13:33:31Z")

</div>

Hi,  
After setting the environment variables in the ‘config\_cmaq.csh’, I am getting an error while sourcing the script.  
“source config\_cmaq.csh intel  
Compiler is set to intel  
H5DIR: Undefined variable.”  
Can anyone help me in this regard? I am new in CMAQ. So it would also be great if anyone can suggest me any documentation for debugging CAMQ compilation, instead of disturbing every time in the forum. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![sahir](https://avatars.discourse-cdn.com/v4/letter/s/7cd45c/32.png) [@sahir](https://forum.cmascenter.org/u/sahir)\
**Post date:** [May 23, 2019, 11:46am UTC](https://forum.cmascenter.org/t/h5dir-undefined-variable/708/2 "2019-05-23T11:46:11Z")

</div>

Can you show me your config\_cmaq.csh file. What’s written in there?

---

<div class="post-metadata">

**Author:** ![Sadia](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@Sadia](https://forum.cmascenter.org/u/Sadia)\
**Post date:** [May 23, 2019, 2:38pm UTC](https://forum.cmascenter.org/t/h5dir-undefined-variable/708/3 "2019-05-23T14:38:23Z")

</div>

Thank you so much for your concern. I have solved that issue. Actually I was not defining a script variable.
