# \[Solved\] Error with SALOME "CFDSTUDY\_GenSK.cc"

**URL:** <https://code-saturne.org/forum/t/solved-error-with-salome-cfdstudy-gensk-cc/1852>\
**Category:** Installation issues\
**Created:** [March 24, 2020, 11:13am UTC](https://code-saturne.org/forum/t/solved-error-with-salome-cfdstudy-gensk-cc/1852 "2020-03-24T11:13:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![antoineb](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/a/e47c2d/32.png) [@antoineb](https://code-saturne.org/forum/u/antoineb)\
**Post date:** [March 24, 2020, 11:13am UTC](https://code-saturne.org/forum/t/solved-error-with-salome-cfdstudy-gensk-cc/1852/1 "2020-03-24T11:13:38Z")

</div>

Hello all,

When trying to install latest CS 6.0.2 with latest SALOME 9.4 to make use of HDF5, MED, CGNS and CFDSTUDY module, I’m facing this error during compile stage :

```plaintext
Making all in salome
make[2] : on entre dans le répertoire « /home/antoine/Téléchargements/code_saturne-6.0.2.build/salome »
Making all in cfd_study
make[3] : on entre dans le répertoire « /home/antoine/Téléchargements/code_saturne-6.0.2.build/salome/cfd_study »
Making all in idl
make[4] : on entre dans le répertoire « /home/antoine/Téléchargements/code_saturne-6.0.2.build/salome/cfd_study/idl »
; \
/home/antoine/SALOME-9.4.0-DB10-SRC/BINARIES-DB10/Python/bin/python /home/antoine/SALOME-9.4.0-DB10-SRC/BINARIES-DB10/omniORB/bin/omniidl -bcxx -Wba -nf -I/home/antoine/SALOME-9.4.0-DB10-SRC/BINARIES-DB10/omniORB/idl -I/home/antoine/SALOME-9.4.0-DB10-SRC/BINARIES-DB10/KERNEL/idl/salome -I/home/antoine/SALOME-9.4.0-DB10-SRC/BINARIES-DB10/GUI/idl/salome /home/antoine/Téléchargements/code_saturne-6.0.2/salome/cfd_study/idl/CFDSTUDY_Gen.idl
/bin/bash: -c: ligne 0: erreur de syntaxe près du symbole inattendu « ; »
/bin/bash: -c: ligne 0: `; \'
make[4]: *** [Makefile:1101: CFDSTUDY_GenSK.cc] Error 1
make[4] : on quitte le répertoire « /home/antoine/Téléchargements/code_saturne-6.0.2.build/salome/cfd_study/idl »
make[3]: *** [Makefile:640: all-recursive] Error 1
make[3] : on quitte le répertoire « /home/antoine/Téléchargements/code_saturne-6.0.2.build/salome/cfd_study »
make[2]: *** [Makefile:641: all-recursive] Error 1
make[2] : on quitte le répertoire « /home/antoine/Téléchargements/code_saturne-6.0.2.build/salome »
make[1]: *** [Makefile:1595: all-recursive] Error 1
make[1] : on quitte le répertoire « /home/antoine/Téléchargements/code_saturne-6.0.2.build »
make: *** [Makefile:1039: all] Error 2

```

For info, I’m in salome context during installation.

Any idea how to solve this ?

Best regards,

Antoine

---

<div class="post-metadata">

**Author:** ![Yvan\_Fournier](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/y/4bbf92/32.png) [@Yvan\_Fournier](https://code-saturne.org/forum/u/Yvan_Fournier)\
**Post date:** [March 24, 2020, 3:58pm UTC](https://code-saturne.org/forum/t/solved-error-with-salome-cfdstudy-gensk-cc/1852/2 "2020-03-24T15:58:13Z")

</div>

Hello,

This is probably due to a missing prerequisite. Since the Makefile is generated and may depend on your system, could you post /home/antoine/Téléchargements/code\_saturne-6.0.2.build/salome/cfd\_study/idl/Makefile ?

Another solution would be to do the build outside Salome, not use --with-salome at configure, and simply pass the full paths from the Salome installation for HDF5, MED, and CGNS. In this case you would not have CFDSTUDY, but if you or anyone else really uses the special features from CFDSTUDY (highlighting boundary zones, if you can find out how to do it, or visualize probes), I would love to hear it is actually useful, and could suggest a workaround.

Best regards,

Yvan

---

<div class="post-metadata">

**Author:** ![antoineb](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/a/e47c2d/32.png) [@antoineb](https://code-saturne.org/forum/u/antoineb)\
**Post date:** [March 25, 2020, 2:23pm UTC](https://code-saturne.org/forum/t/solved-error-with-salome-cfdstudy-gensk-cc/1852/3 "2020-03-25T14:23:13Z")

</div>

Hello Yvan,

Thanks for the quick reply !

You can find the makefile attached.

Unfortunately, I already tried to do the install without the --with-salome flag, and I have the exact same issue, as soon as I’m in “salome context”. I wanted to use the matching python version for HDF5, MED and CGNS to make sure everything worked fine. However, I can try to install outside of salome context.

Best regards,  
Antoine  
[Makefile.txt](https://code-saturne.org/forum/uploads/short-url/iQYiKqwi8UcUWfBfJnncIkrRunz.txt) (39.7 KB)

---

<div class="post-metadata">

**Author:** ![Yvan\_Fournier](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/y/4bbf92/32.png) [@Yvan\_Fournier](https://code-saturne.org/forum/u/Yvan_Fournier)\
**Post date:** [March 25, 2020, 3:14pm UTC](https://code-saturne.org/forum/t/solved-error-with-salome-cfdstudy-gensk-cc/1852/4 "2020-03-25T15:14:47Z")

</div>

Hello,

The issue may be due to an empty SALOMEENVCMD (not needed as you are in salome context).

Could you replace line 1101:  
$(SALOMEENVCMD);   
With:  
$(SALOMEENVCMD) \

An run “make && make install” again ?

Otherwise, you may try remaining in “salome context” but add --disable-salome-gui or --without-salome-gui to the command line.

Best regards,

Yvan

---

<div class="post-metadata">

**Author:** ![antoineb](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/a/e47c2d/32.png) [@antoineb](https://code-saturne.org/forum/u/antoineb)\
**Post date:** [March 25, 2020, 5:51pm UTC](https://code-saturne.org/forum/t/solved-error-with-salome-cfdstudy-gensk-cc/1852/5 "2020-03-25T17:51:34Z")

</div>

Hi Yvan,

I did what you mentioned in the cfd\_study and fsi\_coupling dirs, and it worked perfect in salome context !

Thanks !  
Antoine
