# CASTOR\_CONFIG

**URL:** <https://castor-project.discourse.group/t/castor-config/191>\
**Category:** General Discussions\
**Created:** [December 8, 2020, 2:47pm UTC](https://castor-project.discourse.group/t/castor-config/191 "2020-12-08T14:47:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jform\_M](https://avatars.discourse-cdn.com/v4/letter/j/eb8c5e/32.png) [@Jform\_M](https://castor-project.discourse.group/u/Jform_M)\
**Post date:** [December 8, 2020, 2:47pm UTC](https://castor-project.discourse.group/t/castor-config/191/1 "2020-12-08T14:47:16Z")

</div>

Dear Castor Users,

I am new to castor! I am trying to make a .geom file from the castor-GATEMacToGeom toolkit. so in the castor/bin directory, I run this code:

./castor-GATEMacToGeom -m 1.mac

that 1.mac file exists there.

and I received this message:

\*\*\*\*\* sOutputManager::CheckConfigDir() → No path for CASTOR\_CONFIG variable provided !

How I can specify a path for CASTOR\_CONFIG ???

I would appreciate any suggestions.

Best Regards,

---

<div class="post-metadata">

**Author:** ![tmerlin](https://yyz2.discourse-cdn.com/free1/user_avatar/castor-project.discourse.group/tmerlin/32/216_2.png) [@tmerlin](https://castor-project.discourse.group/u/tmerlin)\
**Post date:** [December 9, 2020, 9:55pm UTC](https://castor-project.discourse.group/t/castor-config/191/2 "2020-12-09T21:55:38Z")

</div>

Dear Mahdi,

If you installed CASToR using the provided makefile, you should set the CASTOR\_CONFIG variable to the config directory of your castor repository. For example with bash:

export CASTOR\_CONFIG=/path/to/CASToR/config/

If you use instead CMake GUI, it should automatically set it.

Hope this helps,  
Thibaut
