# Syrthes CFD installation

**URL:** <https://code-saturne.org/forum/t/syrthes-cfd-installation/1893>\
**Category:** Syrthes related questions\
**Created:** [June 7, 2020, 4:58pm UTC](https://code-saturne.org/forum/t/syrthes-cfd-installation/1893 "2020-06-07T16:58:51Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![misomg](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/m/5daacb/32.png) [@misomg](https://code-saturne.org/forum/u/misomg)\
**Post date:** [June 7, 2020, 4:58pm UTC](https://code-saturne.org/forum/t/syrthes-cfd-installation/1893/1 "2020-06-07T16:58:51Z")

</div>

Hello,

I tried to couple Code Satrune and Syrthes, turorial case 3disks2d. Each standalone calculation runs fine, but after coupling I get error:

```plaintext
Coupling execution between: 
   o Code_Saturne [1 domain(s)];
   o SYRTHES [1 domain(s)];

                      Code_Saturne
                      ************

 Version: 6.0
 Path: /home/misomg/Code_Saturne/6.0.2/code_saturne-6.0.2/arch/Linux_x86_64

 Result directory:
   /home/misomg/CFD/3disks2D/RESU_COUPLING/20200607-1340

 ****************************************
  Compiling user subroutines and linking
 ****************************************

 ****************************
  Preparing calculation data
 ****************************

 SYRTHES4 home directory: /home/misomg/syrthes4.3.5/arch/Linux_x86_64
 MPI home directory: /usr/bin
 Building the executable file syrthes.. 
ar: /home/misomg/syrthes4.3.5/arch/Linux_x86_64/lib/libsyrthes_cfd.a: No such file or directory
make: *** [Makefile:15: exe] Error 9

```

as I understand, I forget to install syrthescfd, but during installation I get error. I think PLE is installed correctly  
in Code Saturne directory, so I cant find where problem is?

```plaintext
cfd_couplage.c:53:10: fatal error: ple_coupling.h: No such file or directory
make[1]: *** [Makefile:24: /home/misomg/syrthes4.3.5/build//cfd_couplage.o] Error 1
make: *** [Makefile:36: syrthescfd] Error 2
../syrthescfd.log:cfd_couplage.c:53:10: fatal error: ple_coupling.h: No such file or directory
../syrthescfd.log:make[1]: *** [Makefile:24: /home/misomg/syrthes4.3.5/build//cfd_couplage.o] Error 1
../syrthescfd.log:make: *** [Makefile:36: syrthescfd] Error 2

```

Attached are setup file and error log  
  
  
Regards Michal  
[ERREUR.log](https://code-saturne.org/forum/uploads/short-url/tV36nvYw8l0ISCbqws2PpvvlkXh.log) (1.84 KB)  
[saturne-syrthes-coupling-error-.txt](https://code-saturne.org/forum/uploads/short-url/tUSe7IxI3Mkb9nEr3nNhAoRM2S0.txt) (3.49 KB)  
[setup.ini](https://code-saturne.org/forum/uploads/short-url/x4HPxjdxrdLxWYFUkIHuigsxCU8.ini) (4.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 8, 2020, 9:14pm UTC](https://code-saturne.org/forum/t/syrthes-cfd-installation/1893/2 "2020-06-08T21:14:46Z")

</div>

Hello,

In “setup.ini”, for the PLE path, you simply need to remove the trailing “/lib”.

Best regards,

Yvan

---

<div class="post-metadata">

**Author:** ![misomg](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/m/5daacb/32.png) [@misomg](https://code-saturne.org/forum/u/misomg)\
**Post date:** [June 9, 2020, 10:10am UTC](https://code-saturne.org/forum/t/syrthes-cfd-installation/1893/3 "2020-06-09T10:10:47Z")

</div>

Hello,

thank you, that was a problem.

Regards

Michal

---

<div class="post-metadata">

**Author:** ![Vincent\_DORE](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/v/91b2a8/32.png) [@Vincent\_DORE](https://code-saturne.org/forum/u/Vincent_DORE)\
**Post date:** [October 5, 2020, 3:46pm UTC](https://code-saturne.org/forum/t/syrthes-cfd-installation/1893/4 "2020-10-05T15:46:57Z")

</div>

Hi all,

I try to couple Code Saturne 6.0.5 and Syrthes 4.3.5.  
I succeeded to compile CS but I have an error when I try to compile Syrthes linked with CS.  
I have ple error and I’m not able to obtain syrthescfd binary.  
I join config and setup files.

Have you ever faced these errors ?

Thanks a lot for your help.

Vincent  
[ERREUR.log](https://code-saturne.org/forum/uploads/short-url/mbk9Pxu1bn05n19ZO5TCPvfWt6R.log) (6.36 KB)  
[setup.ini](https://code-saturne.org/forum/uploads/short-url/nHcqZqI4imsANEm6QBQyPdKrW2P.ini) (4.38 KB)  
[config.log](https://code-saturne.org/forum/uploads/short-url/qlKxiRvyKxZKl3VUhVEKw7xwpAg.log) (209 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:** [October 5, 2020, 4:57pm UTC](https://code-saturne.org/forum/t/syrthes-cfd-installation/1893/5 "2020-10-05T16:57:53Z")

</div>

Hello,

You could obtain this sort of error if the PLE from code\_saturne was built without MPI support, which does not seem to be the case since MPI was detected correctly by code\_saturne.

What files are present you have in /opt/code\_saturne-6.0.5/lib and /opt/code\_saturne-6.0.5/include ?

Best regards,

Yvan

---

<div class="post-metadata">

**Author:** ![Vincent\_DORE](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/v/91b2a8/32.png) [@Vincent\_DORE](https://code-saturne.org/forum/u/Vincent_DORE)\
**Post date:** [October 8, 2020, 12:03pm UTC](https://code-saturne.org/forum/t/syrthes-cfd-installation/1893/6 "2020-10-08T12:03:41Z")

</div>

Hello Yvan,  
I do not have a lib directory or an include directory, but I have libple directory.  
Here are attached ls command result files.  
Hope this help.  
Vincent  
[ls\_code\_saturne\_libple.txt](https://code-saturne.org/forum/uploads/short-url/cKh51tK9igqUPzVy3aa52qn0B3D.txt) (1.71 KB)  
[ls\_code\_saturne\_root\_directory.txt](https://code-saturne.org/forum/uploads/short-url/jxcG1MeQqEm5YuhcELEjRCZrxUN.txt) (2.18 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:** [October 8, 2020, 11:12pm UTC](https://code-saturne.org/forum/t/syrthes-cfd-installation/1893/7 "2020-10-08T23:12:19Z")

</div>

Hello,

The code\_saturne and libple directories you use should be the installation directory, not the source or build directory.

And it seems you have built code\_saturne in the source directory, while using a separate directory is recommended ([code\_saturne/INSTALL.md at master · code-saturne/code\_saturne · GitHub](https://github.com/code-saturne/code_saturne/blob/master/INSTALL.md#source-build-and-install-directories)).

Best regards,

Yvan

---

<div class="post-metadata">

**Author:** ![Vincent\_DORE](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/v/91b2a8/32.png) [@Vincent\_DORE](https://code-saturne.org/forum/u/Vincent_DORE)\
**Post date:** [October 12, 2020, 8:14am UTC](https://code-saturne.org/forum/t/syrthes-cfd-installation/1893/8 "2020-10-12T08:14:33Z")

</div>

Hello and thanks for the github link.

I updated my installation and now I have separate directories but the problem continues.  
Here are include and lib directories content.

Best regards  
Vincent  
[ls\_code\_saturne\_lib.txt](https://code-saturne.org/forum/uploads/short-url/rGneoK40JQ6XPOq84mYvryB7moY.txt) (879 Bytes)  
[ls\_code\_saturne\_include.txt](https://code-saturne.org/forum/uploads/short-url/a8HmGw44fhqiAM579O3D6OR0f2B.txt) (395 Bytes)

---

<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:** [October 12, 2020, 1:28pm UTC](https://code-saturne.org/forum/t/syrthes-cfd-installation/1893/9 "2020-10-12T13:28:01Z")

</div>

Hello,

OK, this stage seems OK (at least at first sight).

Is the problem on the Syrthes side still exactly the same ? Could you post the updated code\_saturne config.log, syrthes.ini, and compilation error log in case there is a slight difference ?

Best regards,

Yvan

---

<div class="post-metadata">

**Author:** ![Vincent\_DORE](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/v/91b2a8/32.png) [@Vincent\_DORE](https://code-saturne.org/forum/u/Vincent_DORE)\
**Post date:** [January 7, 2021, 2:03pm UTC](https://code-saturne.org/forum/t/syrthes-cfd-installation/1893/10 "2021-01-07T14:03:07Z")

</div>

Hello Yvan, happy new year 2021 !  
Sorry, due to COVID, it was difficult to have access to the server…  
Here are files requested.

My user informed me that Code Saturne is Ok now.

But we still have problem with syrthes :

- convert2syrthes4 seems missing,
- libsyrthes\_seq.a is missing
- syrthes-pp too

Any idea ?  
Thanks a lot for your help !

Best regards,  
Vincent  
[ERREUR.log](https://code-saturne.org/forum/uploads/short-url/bL2YTV9gh2riFMiN5EuNDtxwfzV.log) (2.05 KB)  
[setup.ini](https://code-saturne.org/forum/uploads/short-url/iMGE5chEe72yK1SNYS9bkJ0laxk.ini) (4.42 KB)  
[config.log](https://code-saturne.org/forum/uploads/short-url/x0gEPMD0ZHWys0998fNtcvlIXRL.log) (196 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:** [January 10, 2021, 4:17pm UTC](https://code-saturne.org/forum/t/syrthes-cfd-installation/1893/11 "2021-01-10T16:17:23Z")

</div>

Hello,

According to the last log, there is an error building some Syrthes tools (which are independent of code\_saturne), but there is not much detail.

This is surprising, as the firs function which fails (Syrthes/EnSight conversion) should have minimal external library dependencies. Do you have any additional error essages in the terminal from which you ran the Syrthes install ?

Regards,

Yvan

---

<div class="post-metadata">

**Author:** ![Vincent\_DORE](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/v/91b2a8/32.png) [@Vincent\_DORE](https://code-saturne.org/forum/u/Vincent_DORE)\
**Post date:** [January 11, 2021, 9:07am UTC](https://code-saturne.org/forum/t/syrthes-cfd-installation/1893/12 "2021-01-11T09:07:38Z")

</div>

Hello,

Indeed, there are some errors (I logged terminal errors in the syrthes\_install.log file).

Best regards,

Vincent  
[syrthes\_install.log](https://code-saturne.org/forum/uploads/short-url/9nlObbsvJjdW4ywHH7UekbrHOYv.log) (84.2 KB)  
[ERREUR.log](https://code-saturne.org/forum/uploads/short-url/bL2YTV9gh2riFMiN5EuNDtxwfzV.log) (2.05 KB)  
[setup.ini](https://code-saturne.org/forum/uploads/short-url/iMGE5chEe72yK1SNYS9bkJ0laxk.ini) (4.42 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:** [January 11, 2021, 3:54pm UTC](https://code-saturne.org/forum/t/syrthes-cfd-installation/1893/13 "2021-01-11T15:54:11Z")

</div>

Hello,

It seems mpicc is not found, so you may have a configuration error (in incorrect mpicc path in setup.ini), or are missing an MPI installation.

Regards,

Yvan

---

<div class="post-metadata">

**Author:** ![Vincent\_DORE](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/v/91b2a8/32.png) [@Vincent\_DORE](https://code-saturne.org/forum/u/Vincent_DORE)\
**Post date:** [January 11, 2021, 4:26pm UTC](https://code-saturne.org/forum/t/syrthes-cfd-installation/1893/14 "2021-01-11T16:26:49Z")

</div>

Sorry Yvan, I made a change and forgot to redefine path to mpicc after.  
Here is the error with the mpicc path filled.

Vincent  
[ERREUR.log](https://code-saturne.org/forum/uploads/short-url/tbgYm380NG32cxJmTp7dbbFngRw.log) (788 Bytes)  
[setup.ini](https://code-saturne.org/forum/uploads/short-url/b0hy1UvoB8UknqK7eOxZSKeMzbv.ini) (4.49 KB)  
[syrthes\_install.log](https://code-saturne.org/forum/uploads/short-url/gwjgEXUTCzI1DHjvh27GzgoBdiX.log) (146 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:** [January 11, 2021, 10:03pm UTC](https://code-saturne.org/forum/t/syrthes-cfd-installation/1893/15 "2021-01-11T22:03:45Z")

</div>

Hello,

Is the installation more complete now ?

Regards,

Yvan

---

<div class="post-metadata">

**Author:** ![Vincent\_DORE](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/v/91b2a8/32.png) [@Vincent\_DORE](https://code-saturne.org/forum/u/Vincent_DORE)\
**Post date:** [January 12, 2021, 11:21am UTC](https://code-saturne.org/forum/t/syrthes-cfd-installation/1893/16 "2021-01-12T11:21:46Z")

</div>

Hello,  
The installation is more complete.  
Code Saturne works alone.  
Syrthes works alone.  
When my user tried to make a coupled simulation, the directory creation works, GUI interface also but we have an error when we launch runcase (see picture attached).

Best regards,  
Vincent

 ![error.png](https://code-saturne.org/forum/uploads/default/original/2X/f/f38f332e1bc3fcc5faa887a9829edd3697ec4efc.png)

---

<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:** [January 14, 2021, 12:01pm UTC](https://code-saturne.org/forum/t/syrthes-cfd-installation/1893/17 "2021-01-14T12:01:45Z")

</div>

Hello,

Was code\_saturne and PLE installed with MPI support ? This is necessary for the Syrthes coupling.

Regards,

Yvan

---

<div class="post-metadata">

**Author:** ![Vincent\_DORE](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/v/91b2a8/32.png) [@Vincent\_DORE](https://code-saturne.org/forum/u/Vincent_DORE)\
**Post date:** [January 20, 2021, 7:47am UTC](https://code-saturne.org/forum/t/syrthes-cfd-installation/1893/18 "2021-01-20T07:47:30Z")

</div>

Hello,

Indeed, there were a bad path in one of the config file.  
Now the previous problem is solved.

Syrthes simulations work for mono or multi procs.  
Saturne simulations work for mono or multi procs.

But coupled simulation doesn’t work.  
Any idea why we face this cs\_syr\_coupling.c:898: Erreur fatale ?

Thanks,  
Vincent  
[run\_solver.log](https://code-saturne.org/forum/uploads/short-url/d8oasVeMcmePU6LAVd59EnMo3Ve.log) (10.1 KB)  
[error.txt](https://code-saturne.org/forum/uploads/short-url/mOCzg588mTcLZkPlWE6qYnclg5R.txt) (584 Bytes)  
[coupling\_parameters.py](https://code-saturne.org/forum/uploads/short-url/dMjxU1uMI1GqrgWYUPpDJpHN1dL.py) (257 Bytes)

---

<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:** [January 21, 2021, 7:15pm UTC](https://code-saturne.org/forum/t/syrthes-cfd-installation/1893/19 "2021-01-21T19:15:30Z")

</div>

Hello,

Could you post the top-level “run\_solver” generated in RESU\_COUPLING/run\_id ?

Does the libsyrthes\_cfd.a library exist in the Syrthes installation “lib” directory (next to libsyrthes\_seq.a and libsyrthes\_mpi.a) ?

Best regards,

Yvan

---

<div class="post-metadata">

**Author:** ![Vincent\_DORE](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/v/91b2a8/32.png) [@Vincent\_DORE](https://code-saturne.org/forum/u/Vincent_DORE)\
**Post date:** [January 22, 2021, 8:26am UTC](https://code-saturne.org/forum/t/syrthes-cfd-installation/1893/20 "2021-01-22T08:26:12Z")

</div>

Hello,

Here are info requested.

Thanks again.  
Vincent  
[run\_solver.txt](https://code-saturne.org/forum/uploads/short-url/l5uY2DtotsEIr7wzPEoxKcCNVne.txt) (456 Bytes)  
[syrthes-lib-dir-content.txt](https://code-saturne.org/forum/uploads/short-url/cIEmfyI5bjenY2lQLfC7VroAIbT.txt) (336 Bytes)

[Next page](https://code-saturne.org/forum/t/syrthes-cfd-installation/1893.md?page=2)
