Page 1 of 3

Syrthes CFD installation

Posted: Sun Jun 07, 2020 5:58 pm
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

Re: Syrthes CFD installation

Posted: Mon Jun 08, 2020 10:14 pm
by Yvan Fournier
Hello,

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

Best regards,

Yvan

Re: Syrthes CFD installation

Posted: Tue Jun 09, 2020 11:10 am
by misomg
Hello,

thank you, that was a problem.

Regards

Michal

Re: Syrthes CFD installation

Posted: Mon Oct 05, 2020 4:46 pm
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

Re: Syrthes CFD installation

Posted: Mon Oct 05, 2020 5:57 pm
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

Re: Syrthes CFD installation

Posted: Thu Oct 08, 2020 1:03 pm
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

Re: Syrthes CFD installation

Posted: Fri Oct 09, 2020 12:12 am
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

Re: Syrthes CFD installation

Posted: Mon Oct 12, 2020 9:14 am
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

Re: Syrthes CFD installation

Posted: Mon Oct 12, 2020 2:28 pm
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

Re: Syrthes CFD installation

Posted: Thu Jan 07, 2021 3:03 pm
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