Guide to couple Saturne & SYRTHES
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Guide to couple Saturne & SYRTHES
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
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
- Attachments
-
- 0001-Mise-jour-pour-Code_Saturne-4.0-PLE-2.0.patch.txt
- (24.81 KiB) Downloaded 740 times
Re: Guide to couple Saturne & SYRTHES
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:
I thought the apply command would be 'git apply <patch filename> which went a little farther, but I still got errors:
Any ideas?
Stefan
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
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
Stefan
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Guide to couple Saturne & SYRTHES
Hello,
Try (in the top Syrthes source directory) :
patch -p1 < patch_syrthes_ple2.diff.txt
with the following attached patch.
Regards,
Yvan
Try (in the top Syrthes source directory) :
patch -p1 < patch_syrthes_ple2.diff.txt
with the following attached patch.
Regards,
Yvan
- Attachments
-
- patch_syrthes_ple2.diff.txt
- (24.19 KiB) Downloaded 742 times
Re: Guide to couple Saturne & SYRTHES
This is not going to work:
Is there a repository link to download Syrthes 4.2?
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
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Guide to couple Saturne & SYRTHES
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
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
Is there a download link for Syrthes 4.2?
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Guide to couple Saturne & SYRTHES
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
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
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
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
- Attachments
-
- syrthes4.3.0.log
- (63.84 KiB) Downloaded 745 times
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Guide to couple Saturne & SYRTHES
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
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
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
cfd_couplage.c:53:26: fatal error: ple_coupling.h: No such file or directory
problem (attached syrthes4.3.0.log).
- ffan
- Attachments
-
- syrthes4.3.0.log
- (63.84 KiB) Downloaded 758 times
-
- setup.ini
- (4.42 KiB) Downloaded 750 times