Page 2 of 3

Re: Guide to couple Saturne & SYRTHES

Posted: Tue Jan 13, 2015 5:33 pm
by Yvan Fournier
Hello,

Yes, they did.

A new version of Syrthes (4.3) should come out soon.

In the meantime, the attached patch can transform Syrthes 4.2 into a version compatible with Code_Saturne 4.0/PLE 2.0 (loosing compatibility with older versions).
To apply it, in the Syrthes source directory, call "git am <path_to_patch>".

Regards,

Yvan

Re: Guide to couple Saturne & SYRTHES

Posted: Fri Jan 16, 2015 8:07 pm
by stefann
The patch doesn't work. Is it because I'm using the .tar.gz from the download website instead of the repo version? Is it even possible to get the repository version? I haven't seen any links to it.

Second 'git am <patch filename>' doesn't work. I get the following error:

Code: Select all

fatal: Not a git repository (or any of the parent directories): .git
I thought the apply command would be 'git apply <patch filename> which went a little farther, but I still got errors:

Code: Select all

warning: src/syrthes-kernel/include/syr_cfd_point_location.h has type 100644, expected 100755
error: patch failed: src/syrthes-kernel/src/syr_cfd_coupling.c:150
error: src/syrthes-kernel/src/syr_cfd_coupling.c: patch does not apply
error: patch failed: src/syrthes-kernel/src/syr_cfd_point_location.c:1704
error: src/syrthes-kernel/src/syr_cfd_point_location.c: patch does not apply
Any ideas?

Stefan

Re: Guide to couple Saturne & SYRTHES

Posted: Sat Jan 17, 2015 1:31 am
by Yvan Fournier
Hello,

Try (in the top Syrthes source directory) :
patch -p1 < patch_syrthes_ple2.diff.txt
with the following attached patch.

Regards,

Yvan

Re: Guide to couple Saturne & SYRTHES

Posted: Mon Jan 19, 2015 3:25 pm
by stefann
This is not going to work:

Code: Select all

patching file src/syrthes-kernel/include/syr_cfd_point_location.h
patching file src/syrthes-kernel/src/syr_cfd_coupling.c
Hunk #2 FAILED at 150.
Hunk #3 FAILED at 378.
Hunk #4 succeeded at 381 (offset -27 lines).
Hunk #5 FAILED at 453.
Hunk #6 succeeded at 1033 (offset -68 lines).
Hunk #7 FAILED at 1192.
Hunk #8 FAILED at 1216.
Hunk #9 succeeded at 1208 with fuzz 2 (offset -65 lines).
Hunk #10 succeeded at 1553 (offset -76 lines).
Hunk #11 succeeded at 1591 (offset -76 lines).
Hunk #12 FAILED at 1676.
6 out of 12 hunks FAILED -- saving rejects to file src/syrthes-kernel/src/syr_cfd_coupling.c.rej
patching file src/syrthes-kernel/src/syr_cfd_point_location.c
Is there a repository link to download Syrthes 4.2?

Re: Guide to couple Saturne & SYRTHES

Posted: Mon Jan 19, 2015 9:49 pm
by Yvan Fournier
Hello,

Are you using Syrthes 4.1 or 4.2 ? The patch is for 4.2, so if it does not work with 4.1, you can forget using Code_Saturne 4.0 with Syrthes 4.1 (unless you adapt the patch).

Syrthes 4.3 should be released soon, but the development team is still running some tests on GUI fixes.

Regards,

Yvan

Re: Guide to couple Saturne & SYRTHES

Posted: Thu Jan 22, 2015 9:57 pm
by stefann
Is there a download link for Syrthes 4.2?

Re: Guide to couple Saturne & SYRTHES

Posted: Thu Jan 22, 2015 11:19 pm
by Yvan Fournier
Hello,

I though Syrthes 4.2 had been released, but it seems the version we have access to is still a release candidate...

Hopefully, Syrthes 4.3 will be released very soon (it was initially planned for late 2014), but I can't speak for the Syrthes team.

Regards,

Yvan

Re: Guide to couple Saturne & SYRTHES

Posted: Mon Apr 20, 2015 11:19 am
by ffan
Dear Code_Saturne users and developers,

I followed this guide with Syrthes 4.3.0, but got:
fatal error: ple_coupling.h: No such file or directory
when compiling Syrthes. (Please see the attached log.)

I then changed to Syrthes 4.1.1. Still got the same error. Where might be the problem? Thanks.

- ffan

Re: Guide to couple Saturne & SYRTHES

Posted: Mon Apr 20, 2015 9:34 pm
by Yvan Fournier
Hello,

Could you post your Syrthes setup.ini and Code_Saturne config.log ? Did you build Syrthes after Code_Saturne, or at least its PLE sub-library ?

Regards,

Yvan

Re: Guide to couple Saturne & SYRTHES

Posted: Tue Apr 21, 2015 5:46 am
by ffan
Thanks Yvan. I have not got to configure and compiling Code_Saturne yet. According to this guide, Syrthes is compiled and installed first. My Syrthes setup.ini is attached here. While compiling Syrthes, it ran into -
cfd_couplage.c:53:26: fatal error: ple_coupling.h: No such file or directory
problem (attached syrthes4.3.0.log).

- ffan