# Syrthes installation

**URL:** <https://code-saturne.org/forum/t/syrthes-installation/1899>\
**Category:** Syrthes related questions\
**Created:** [June 15, 2020, 3:25pm UTC](https://code-saturne.org/forum/t/syrthes-installation/1899 "2020-06-15T15:25:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![lledeaut](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/l/ea666f/32.png) [@lledeaut](https://code-saturne.org/forum/u/lledeaut)\
**Post date:** [June 15, 2020, 3:25pm UTC](https://code-saturne.org/forum/t/syrthes-installation/1899/1 "2020-06-15T15:25:47Z")

</div>

Hello,

I am a new user of linux in general and I still discover this new operating system. I installed code\_saturne (Development version based on Code\_Saturne 5.2 and SALOME 8.5) on Ubuntu 18.04, with this link : [https://www.salome-platform.org/contributions/edf\_products](https://www.salome-platform.org/contributions/edf_products).  
I launch a simple case and it works fine (flow without syrthes). But I am interested in using Syrthes. Syrthes appears in salome and I can define a problem (no coupling with CFD) but I get this error when I run the case (see the files attached).

I have the folder : Code\_syrthes-mpa\_syrthes435qt5/arch/Linux\_x86\_64/bin & include & lib & share, so I guess Syrthes was installed with Code saturne, but I am not sure.

Do you have an idea where the problem is ?

Thank you for your help,

Ludovic  
[stderr.txt](https://code-saturne.org/forum/uploads/short-url/gfiiIvWHaJtnalQuluwHoREWIh2.txt) (11.8 KB)  
[stdout.txt](https://code-saturne.org/forum/uploads/short-url/yN49AsdMK0PQl7gS0g0YlSNAt6H.txt) (1.15 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:** [June 15, 2020, 10:16pm UTC](https://code-saturne.org/forum/t/syrthes-installation/1899/2 "2020-06-15T22:16:43Z")

</div>

Hello,

The version you are using is probably built for another system than Ubuntu 18.04 (Ubuntu 16.04 if I remember), and the Syrthes installer of that version might have kept binary files from other builds (the one we have on the code\_saturne in the prerequisites section website is slightly better).

I am not even sure Syrthes works correctly on that binary on Ubuntu 16.04. It is tested on EDF Debian 8 and 9 builds, but do not support it beyond that (there is a Syrthes team, but they are not active on external support so far as I know).

We started building an Ubuntu 18.04 version, but have done this on and off (with low priority), so do not have that yet. I’ll probably try to build directly for Ubuntu 20.04 when Salome 9.5 comes out (in about a month), but I won’t promise anythinf for Ubuntu 18.04 at this stage, so compiling from sources may take a bit longer initially, but is the guaranteed “portalble” solution.

Best regards,

Yvan

---

<div class="post-metadata">

**Author:** ![lledeaut](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/l/ea666f/32.png) [@lledeaut](https://code-saturne.org/forum/u/lledeaut)\
**Post date:** [June 17, 2020, 8:00am UTC](https://code-saturne.org/forum/t/syrthes-installation/1899/3 "2020-06-17T08:00:52Z")

</div>

Hello Yvan,

Thanks for your quick answer. If I understand correctly, the best (even the only) way to use Syrthes is with Debian 8 or 9 (for now)?

I understand that coupling code saturne and code aster is possible. Salome meca 2017 work fine in my linux. I will maybe just try to launch a case with code aster for the solid and code saturn for the fluid.

Best regards,

Ludovic

---

<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:** [June 17, 2020, 8:34am UTC](https://code-saturne.org/forum/t/syrthes-installation/1899/4 "2020-06-17T08:34:28Z")

</div>

Hello,

Actually, you can use Syrthes on any Linux variant if you recompile it from sources ([https://www.code-saturne.org/cms/sites/default/files/syrthes/syrthes4.3.5-2020\_01\_29.tar.gz](https://www.code-saturne.org/cms/sites/default/files/syrthes/syrthes4.3.5-2020_01_29.tar.gz)).

Otherwise, if you are going for binaries only, yes, Debian 8 or 9 is needed.

Best regards,

Yvan

---

<div class="post-metadata">

**Author:** ![lledeaut](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/l/ea666f/32.png) [@lledeaut](https://code-saturne.org/forum/u/lledeaut)\
**Post date:** [June 18, 2020, 8:04am UTC](https://code-saturne.org/forum/t/syrthes-installation/1899/5 "2020-06-18T08:04:28Z")

</div>

Hello,

Thanks for the folder. But that’s not really clear to me. Should I just take your folder and install it using the libraries already installed with the binairies (hdf5, med, mpi…) or start over and install salome then code saturn then syrthes ?

Best regards,

Ludovic

---

<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:** [June 18, 2020, 4:45pm UTC](https://code-saturne.org/forum/t/syrthes-installation/1899/6 "2020-06-18T16:45:41Z")

</div>

Hello,

As long as you use the same MPI library as code\_saturne (since it is used for coupling), tou should be able to reinstall only Syrthes.

Best regards,

Yvan

---

<div class="post-metadata">

**Author:** ![lledeaut](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/l/ea666f/32.png) [@lledeaut](https://code-saturne.org/forum/u/lledeaut)\
**Post date:** [June 19, 2020, 10:11am UTC](https://code-saturne.org/forum/t/syrthes-installation/1899/7 "2020-06-19T10:11:20Z")

</div>

Hello,

I think there is two kind of mpi installed : Openmpi-bin and MPI-default-bin. How do I know which one is used by code saturne ?

Best regards,

Ludovic

---

<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:** [June 19, 2020, 10:26am UTC](https://code-saturne.org/forum/t/syrthes-installation/1899/8 "2020-06-19T10:26:15Z")

</div>

Hello,

On Debian-based systems such as Ubunto, MPI default is useful when multiple MPI libraries are installed (such as Open MPI and MPICH). IF you only have Open MPI, then MPI-default probably points to that, so they are the same.

Otherwise, inside the code\_saturne install, under etc/code\_saturne.cfg, the MPI execution (mpiexec) may be specified. If it is, the MPI matching that should be the correct one. If it is not specified, than the MPI build matching the “mpiexec” command in your environment is the correct one.

But in you case, you probably have only Open MPI, so no noeed to worry.

Best regards,

Yvan
