saturne 2.2 coupled with syrthes 3.4

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Martin Isack

Re: saturne 2.2 coupled with syrthes 3.4

Post by Martin Isack »

Hello Yvan,

thank you for the hint with mpi-defaul-dev, it finally works with /usr.

I guessed that there are not more poeple involved in Syrthes developement. The Code_Saturne team is a little bit bigger, isn’t it? And you are familiar with Autotools. Are Isabelle and Christophe in the same department as you? Maybe the Code_Saturne team could assist them a bit? :)

Best regards,

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

Re: saturne 2.2 coupled with syrthes 3.4

Post by Yvan Fournier »

Hello,

Yes, the SYRTHES team is in the same departement, less than 20 meters away, but they do not seem too interested in the Autotools, even with assistance.

Actually, only a few of us in the Code_Saturne team are really familiar with the the Autotools, and building an install which allows user subroutines, may be installed in a Linux distribution-friendly manner, yet is usable also on supercomputers has take quite a few iterations. That would be a good reason to capitalize the experience in SYRTHES, you may say, but we can't lie to the SYRTHES team and tell them it will take them no time, even with help, so the SYRTHES install remains more similar to a mix of Code_Saturne's install circa 2008, and other influences. Things may evolve slowly based on feedback from supporting SYRTHES, but don't expect any major change soon.

Actually, for the longer term, I would be interested in exploring CMake, so If another code were to start from scratch, I would recommend them to compare the advantages of Autotools, CMake, and Waf. In the short term, we continue to maintain and try to improve our Autools build, in which we have quite a bit of time invested.

Best regards,

Yvan
Pisolino
Posts: 86
Joined: Thu Apr 26, 2012 1:55 pm

Re: saturne 2.2 coupled with syrthes 3.4

Post by Pisolino »

Here is a little tutorial on what discussed above, i hope that it could be useful.

Andrea
Attachments
saturne2.2-syrthes3.4.3 installation tutorial.pdf
(63.67 KiB) Downloaded 434 times
Andrea
CEO and R&D manager @ ARGO srl

mail: info@argosrl.eu
site: www.argosrl.eu
Pisolino
Posts: 86
Joined: Thu Apr 26, 2012 1:55 pm

Re: saturne 2.2 coupled with syrthes 3.4

Post by Pisolino »

hi again guys, i'm now trying to instal 2.2 with syrthes 4. Both software succeeded in compilation, using the same libraries both for saturne and syrthes. Than i get this error when creating a case:

ltmm1@ltmm1:~$ code_saturne create -s studio4 -c fluido --syrthes=solido
code_saturne 2.2.1 study/case generation
o Creating study 'studio4'...
o Creating case 'fluido'...
SYRTHES4 home directory: /home/ltmm1
-> Error !
Cannot find a MPI librairy.

Error during checking and loading environment.
Cannot create SYRTHES case: 'solido'

Any idea?
Attachments
setup.ini
(3.15 KiB) Downloaded 359 times
Andrea
CEO and R&D manager @ ARGO srl

mail: info@argosrl.eu
site: www.argosrl.eu
Jacques Fontaine
Posts: 118
Joined: Mon Feb 20, 2012 2:07 pm

Re: saturne 2.2 coupled with syrthes 3.4

Post by Jacques Fontaine »

Hello,
You need to source the SYRTHES environment (source syrthes.profile or . syrthes.profile).

Best regards,
JF
Pisolino
Posts: 86
Joined: Thu Apr 26, 2012 1:55 pm

Re: saturne 2.2 coupled with syrthes 3.4

Post by Pisolino »

already done :(

this is the result of the source:

ltmm1@ltmm1:~/syrthes4.0.1/arch/Linux_x86_64/bin$ source syrthes.profile

SYRTHES4_HOME= /home/ltmm1/syrthes4.0.1/arch/Linux_x86_64
NOM_ARCH= Linux_x86_64
PATH= /home/ltmm1/syrthes4.0.1/arch/Linux_x86_64/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
LD_LIBRARY_PATH=/usr/lib:/usr/lib:/usr/lib:/usr/lib:/usr/lib:/usr/lib:
Andrea
CEO and R&D manager @ ARGO srl

mail: info@argosrl.eu
site: www.argosrl.eu
Jacques Fontaine
Posts: 118
Joined: Mon Feb 20, 2012 2:07 pm

Re: saturne 2.2 coupled with syrthes 3.4

Post by Jacques Fontaine »

hum

Did you install mpi-default-dev and mpi-default-bin?
Are there mpi libraries in usr/lib?
Pisolino
Posts: 86
Joined: Thu Apr 26, 2012 1:55 pm

Re: saturne 2.2 coupled with syrthes 3.4

Post by Pisolino »

yes, i've installed both of them and they are in usr/lib
maybe i've done a mistake in linking saturne to syrthes4?

I create a file in usr/local/etc/code_saturne.cfg
"
[install]
syrthes = /home/ltmm1/syrthes4.0.1/arch/Linux_x86_64/
[run]
"
and it works because saturne can find syrthes environment.

Should i do/configure something else?
Andrea
CEO and R&D manager @ ARGO srl

mail: info@argosrl.eu
site: www.argosrl.eu
Yvan Fournier
Posts: 4216
Joined: Mon Feb 20, 2012 3:25 pm

Re: saturne 2.2 coupled with syrthes 3.4

Post by Yvan Fournier »

Hello,

What is the value of SYRTHES4_MPIPATH string in your syrthes.profile file ?

There might be an issue in the MPI configuration for SYRTHES.

Best regards,

Yvan
Pisolino
Posts: 86
Joined: Thu Apr 26, 2012 1:55 pm

Re: saturne 2.2 coupled with syrthes 3.4

Post by Pisolino »

this is what i get :

SYRTHES4_MPIPATH=/usr
Andrea
CEO and R&D manager @ ARGO srl

mail: info@argosrl.eu
site: www.argosrl.eu
Post Reply