Page 2 of 3
Re: saturne 2.2 coupled with syrthes 3.4
Posted: Thu May 10, 2012 12:39 pm
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
Re: saturne 2.2 coupled with syrthes 3.4
Posted: Thu May 10, 2012 4:20 pm
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
Re: saturne 2.2 coupled with syrthes 3.4
Posted: Thu May 10, 2012 5:12 pm
by Pisolino
Here is a little tutorial on what discussed above, i hope that it could be useful.
Andrea
Re: saturne 2.2 coupled with syrthes 3.4
Posted: Mon May 14, 2012 11:05 am
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?
Re: saturne 2.2 coupled with syrthes 3.4
Posted: Mon May 14, 2012 11:13 am
by Jacques Fontaine
Hello,
You need to source the SYRTHES environment (source syrthes.profile or . syrthes.profile).
Best regards,
JF
Re: saturne 2.2 coupled with syrthes 3.4
Posted: Mon May 14, 2012 11:17 am
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:
Re: saturne 2.2 coupled with syrthes 3.4
Posted: Mon May 14, 2012 12:53 pm
by Jacques Fontaine
hum
Did you install mpi-default-dev and mpi-default-bin?
Are there mpi libraries in usr/lib?
Re: saturne 2.2 coupled with syrthes 3.4
Posted: Mon May 14, 2012 1:13 pm
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?
Re: saturne 2.2 coupled with syrthes 3.4
Posted: Mon May 14, 2012 2:29 pm
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
Re: saturne 2.2 coupled with syrthes 3.4
Posted: Mon May 14, 2012 2:49 pm
by Pisolino
this is what i get :
SYRTHES4_MPIPATH=/usr