Syrthes CFD installation

This forum is dedicated to Syrthes related issues, as the Syrthes tool does not have its own forum.
Post Reply
misomg
Posts: 4
Joined: Sun Feb 17, 2013 1:31 pm

Syrthes CFD installation

Post by misomg » Sun Jun 07, 2020 5:58 pm

Hello,

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

Code: Select all

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?

Code: Select all

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
Attachments
setup.ini
(4.15 KiB) Downloaded 23 times
saturne-syrthes-coupling-error-.txt
(3.49 KiB) Downloaded 22 times
ERREUR.log
(1.84 KiB) Downloaded 23 times

Yvan Fournier
Posts: 3082
Joined: Mon Feb 20, 2012 3:25 pm

Re: Syrthes CFD installation

Post by Yvan Fournier » Mon Jun 08, 2020 10:14 pm

Hello,

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

Best regards,

Yvan

misomg
Posts: 4
Joined: Sun Feb 17, 2013 1:31 pm

Re: Syrthes CFD installation

Post by misomg » Tue Jun 09, 2020 11:10 am

Hello,

thank you, that was a problem.

Regards

Michal

Vincent_DORE
Posts: 3
Joined: Mon Oct 05, 2020 4:42 pm

Re: Syrthes CFD installation

Post by Vincent_DORE » Mon Oct 05, 2020 4:46 pm

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
Attachments
setup.ini
(4.38 KiB) Downloaded 7 times
ERREUR.log
(6.36 KiB) Downloaded 8 times
config.log
(208.5 KiB) Downloaded 10 times
Vincent Doré

Yvan Fournier
Posts: 3082
Joined: Mon Feb 20, 2012 3:25 pm

Re: Syrthes CFD installation

Post by Yvan Fournier » Mon Oct 05, 2020 5:57 pm

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

Vincent_DORE
Posts: 3
Joined: Mon Oct 05, 2020 4:42 pm

Re: Syrthes CFD installation

Post by Vincent_DORE » Thu Oct 08, 2020 1:03 pm

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
Attachments
ls_code_saturne_root_directory.txt
(2.18 KiB) Downloaded 6 times
ls_code_saturne_libple.txt
(1.71 KiB) Downloaded 7 times
Vincent Doré

Yvan Fournier
Posts: 3082
Joined: Mon Feb 20, 2012 3:25 pm

Re: Syrthes CFD installation

Post by Yvan Fournier » Fri Oct 09, 2020 12:12 am

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 (https://github.com/code-saturne/code_sa ... irectories).

Best regards,

Yvan

Vincent_DORE
Posts: 3
Joined: Mon Oct 05, 2020 4:42 pm

Re: Syrthes CFD installation

Post by Vincent_DORE » Mon Oct 12, 2020 9:14 am

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
Attachments
ls_code_saturne_include.txt
(395 Bytes) Downloaded 7 times
ls_code_saturne_lib.txt
(879 Bytes) Downloaded 7 times
Vincent Doré

Yvan Fournier
Posts: 3082
Joined: Mon Feb 20, 2012 3:25 pm

Re: Syrthes CFD installation

Post by Yvan Fournier » Mon Oct 12, 2020 2:28 pm

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

Post Reply