Syrthes CFD installation

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

Syrthes CFD installation

Post by misomg »

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 449 times
saturne-syrthes-coupling-error-.txt
(3.49 KiB) Downloaded 434 times
ERREUR.log
(1.84 KiB) Downloaded 409 times
Yvan Fournier
Posts: 4102
Joined: Mon Feb 20, 2012 3:25 pm

Re: Syrthes CFD installation

Post by Yvan Fournier »

Hello,

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

Best regards,

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

Re: Syrthes CFD installation

Post by misomg »

Hello,

thank you, that was a problem.

Regards

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

Re: Syrthes CFD installation

Post by Vincent_DORE »

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 395 times
ERREUR.log
(6.36 KiB) Downloaded 384 times
config.log
(208.5 KiB) Downloaded 399 times
Vincent Doré
Yvan Fournier
Posts: 4102
Joined: Mon Feb 20, 2012 3:25 pm

Re: Syrthes CFD installation

Post by Yvan Fournier »

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: 10
Joined: Mon Oct 05, 2020 4:42 pm

Re: Syrthes CFD installation

Post by Vincent_DORE »

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 410 times
ls_code_saturne_libple.txt
(1.71 KiB) Downloaded 396 times
Vincent Doré
Yvan Fournier
Posts: 4102
Joined: Mon Feb 20, 2012 3:25 pm

Re: Syrthes CFD installation

Post by Yvan Fournier »

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: 10
Joined: Mon Oct 05, 2020 4:42 pm

Re: Syrthes CFD installation

Post by Vincent_DORE »

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 383 times
ls_code_saturne_lib.txt
(879 Bytes) Downloaded 380 times
Vincent Doré
Yvan Fournier
Posts: 4102
Joined: Mon Feb 20, 2012 3:25 pm

Re: Syrthes CFD installation

Post by Yvan Fournier »

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
Vincent_DORE
Posts: 10
Joined: Mon Oct 05, 2020 4:42 pm

Re: Syrthes CFD installation

Post by Vincent_DORE »

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
Attachments
config.log
(196.37 KiB) Downloaded 369 times
setup.ini
(4.42 KiB) Downloaded 362 times
ERREUR.log
(2.05 KiB) Downloaded 359 times
Vincent Doré
Post Reply