Page 2 of 3

Re: code saturne with syrthes

Posted: Tue Jan 15, 2013 2:18 pm
by Yvan Fournier
Hello,

Did you add the Code_Saturne <install_path>/bin directory to your PATH or define an alias including the full Code_Saturne path ?

Regards,

Yvan

Re: code saturne with syrthes

Posted: Tue Jan 15, 2013 3:10 pm
by Hakim
Hello,

yes i did this by define define an alias including the full Code_Saturne path in the profile file.

cspath=/home/hsemai/c_s3/installer/code_saturne-3.0.0-betaR4215_dbg/bin
alias code_saturne="$cspath/bin"

Regards,
Hakim.

Re: code saturne with syrthes

Posted: Tue Jan 15, 2013 6:42 pm
by Yvan Fournier
Hello,

Your alias should be:

alias code_saturne="$cspath/code_saturne"

Regards,

Yvan

Re: code saturne with syrthes

Posted: Wed Jan 16, 2013 7:59 am
by Hakim
Hello,

it works and I proceeded like this: After I finished the automatic installation I tried to run C_S nothing happens then, via the terminal, I ship to installer/code_saturne-3.0.0 betaR4215, and exécute the following commands:
. / configure
make
sudo install make

therefore Syrthes Code, as I've never installed it, and I want to couple it with Code-Saturne how I should do regarding the packages already installed as hdf5, and mpi.
And about the file of syrthes, Should I create a new folder for it or put it in the same directory of Saturne.

best regards,
Hakim.

Re: code saturne with syrthes

Posted: Wed Jan 16, 2013 11:17 am
by Yvan Fournier
Hello,

For Syrthes, you absolutely need to use the same MPI version as Code_Saturne for code coupling. For the rest, such as HDF5, you may do as you please (Ubuntu package, version installed by Code_Saturne builder, precompiled one from Syrthes or SALOME, ...)

Regards,

Yvan

Re: code saturne with syrthes

Posted: Wed Jan 16, 2013 1:28 pm
by Hakim
Hello,

its not work, I send your some files.

regards,

Hakim.

Re: code saturne with syrthes

Posted: Wed Jan 16, 2013 4:52 pm
by Hakim
Hello,

I post your another for another manner of installation,

regards,

Hakim.

Re: code saturne with syrthes

Posted: Thu Jan 17, 2013 1:11 am
by Yvan Fournier
Hello,

In your Syrthes setups, you are using a prebuilt binary of MPI from Syrthes, or recompiling it with the Syrthes installer. Are you using the MPI from Syrthes for Code_Saturne ? If not unless each version is the same, built with the same options (but simply in a different path), coupling with Code_Saturne will fail, as I said in my previous post.

The other error you have, probably with the Syrthes GUI, is a Syrthes problem, not a Code_Saturne problem. I have encountered it also on Ubuntu 12.10, running under Gnome or Unity (I don't remember which). Under KDE (Qt-based), the problem did not appear. It is probably due to the pre-built binaries for Qt, but the choice of distributing binaries is a Syrthes choice, not a Code_Saturne choice (each has different advantages and disadvantages), so I'll let Syrthes support handle this one.

Regards,

Yvan

Re: code saturne with syrthes

Posted: Wed Jan 23, 2013 1:43 pm
by Hakim
Hello;

I tried many times to install syrthes4.0 and it did not work. However, can you give me the manual installation procedure as with the one given does not work. Problem happens with the package med, I tried both version, no result.

Regards,

Hakim.

Re: code saturne with syrthes

Posted: Wed Jan 23, 2013 6:13 pm
by Yvan Fournier
Hello,

This is an issue for Syrthes support. To install Syrthes, I also follow the instructions provided in the Syrthes distribution, and it usually works (except for the GUI issue).

The README from Syrthes is not up tro date on one point: it mentions MED 2.3, while you need 3.0 (2.3 will not work). Follow the same steps, but with MED 3.0 (in any case, it should come precompiled with Syrthes, so it should not be a showstopper).

Regards,

Yvan