# Limit in MAXKEYWORD

**URL:** <https://opentelemac.org/forum/t/limit-in-maxkeyword/6481>\
**Category:** TELEMAC-2D\
**Created:** [May 17, 2021, 3:31pm UTC](https://opentelemac.org/forum/t/limit-in-maxkeyword/6481 "2021-05-17T15:31:57Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![user\_8367](https://opentelemac.org/forum/letter_avatar_proxy/v4/letter/u/c5a1d2/32.png) [@user\_8367](https://opentelemac.org/forum/u/user_8367)\
**Post date:** [January 29, 2025, 7:25pm UTC](https://opentelemac.org/forum/t/limit-in-maxkeyword/6481/21 "2025-01-29T19:25:54Z")

</div>

Hello,

I experienced a similar problem with windows system version of Telemac v8p4. After these adjustments the model works ok:

1-Adjust the declarations\_special.f to set MAXKEYWORD = 800 to compatible value, in my case it was 800

2-In the file api\_run\_sis.f you also need to set the motcar value to the same as MAXKEYWORD. In this case you need to set this line CHARACTER(LEN=250) MOTCAR(800),FILE\_DESC(4,800)

3-When I try to compile the full telemac code with --clean I got the error reported in post [#43827](https://www.opentelemac.org/index.php/community-old/forum4/2-windows-version/14514-clean-compilation-in-v8p4-with-automatic-installer#43827) caused by the missing of utils\_latex.f file.

After download this file [here](https://gitlab.pam-retd.fr/otm/telemac-mascaret/-/blob/cmake-build/sources/utils/damocles/utils_latex.f?ref_type=heads) and save on the respective sources directory the system compiled ok.

4-After these preliminary steps the model runned ok in serial, but crashes in parallel. To solve this problem, I used the solution reported [here](https://gitlab.pam-retd.fr/otm/telemac-mascaret/-/issues/615)

I hope this solution can be helpful for other users

With best regards

Taoan

---

<div class="post-metadata">

**Author:** ![user\_18878](https://opentelemac.org/forum/letter_avatar_proxy/v4/letter/u/a8b319/32.png) [@user\_18878](https://opentelemac.org/forum/u/user_18878)\
**Post date:** [May 5, 2025, 11:17am UTC](https://opentelemac.org/forum/t/limit-in-maxkeyword/6481/22 "2025-05-05T11:17:59Z")

</div>

Hi [name removed],

Thank you for the solution. I could make the necessary changes based on your advice and was able to compile telemac.

However, when I go to run the simulation with the sources all entered in the steering file I get an error “Stop of damocles at key-word”. Did you encounter something similar.

Another error that I see pop up is that the simulation tries to run in parallel mode even though there is no keyword Parallel Processor in the steering file neither i use “–ncsize”

Did you face such errors?

[name removed]

[parallel\_processors-2.txt](https://opentelemac.org/forum/uploads/short-url/c66nfAa1FwWAFGilAuc8WIdAaEE.txt) (6.58 KB)

 ![Damocles_key_word_error-2.png](https://opentelemac.org/uploads/default/original/2X/0/027ec7b8d3011af890d48df6cb883e7e01e1f3e1.png)  
[Steering.txt](https://opentelemac.org/forum/uploads/short-url/hLnfIXEaBpy8pcGz3Ixy7pWt085.txt) (18.6 KB)

[Previous page](https://opentelemac.org/forum/t/limit-in-maxkeyword/6481.md?page=1)
