Page 1 of 1
Error when using more than one core
Posted: Wed Apr 25, 2018 1:03 pm
by JMFQ
Hello everyone
I'm new to this forum and I'm using Code_Saturne 5.0.4
The thing is that when i'm launching Code_Saturne with only one core everything works just fine but when trying on several core it ditches me with a "solver failed" and a "solver script exited with status 213" which I can't seem to find in the Code_Saturne documentation.
I've attached my summary.
I thank you for your time.
Regards,
Quentin
Re: Error when using more than one core
Posted: Wed Apr 25, 2018 2:52 pm
by Yvan Fournier
Hello,
Could you post the other recommended logs ?
Who installed the code ? Was the post-installation setup stage done ?
Regards,
Yvan
Re: Error when using more than one core
Posted: Fri Apr 27, 2018 2:02 pm
by JMFQ
Hello,
I am sorry for this oversight; here they are. Unfortunately I am not allowed to post the compile.log; however, I'm allowed to attach an excerpt of the build.
About the setup.log : Code_Saturne doesn't generate any. I guess it's crashing before.
I am investigating concerning the post-installation setup. I'll post as soon as I'll know.
Regards,
Quentin
Re: Error when using more than one core
Posted: Fri Apr 27, 2018 3:05 pm
by Yvan Fournier
Hello,
If the install finished, you probably have a config.log in a given subdirectory, but in the "listing" file, I see this:
Code: Select all
--------------------------------------------------------------------------
Conflicting directives for mapping policy are causing the policy
to be redefined:
New policy: bynode
Prior policy: BYCORE
Please check that only one policy is defined.
We have already encountered this error, and to avoid it, you probably need to change some settings in the post-installation's code_saturne.cfg file. If the MPI version is based on OpenMPI, set:
(with no prior # ) in the code_saturne.cfg file (or in you own $HOME/.code_saturne.cfg, though having it in the global file is better so all users benefit).
This avoids conflicts between defaults of the batch system and options set by
Code_Saturne.
As an additional information, very high error codes are usually based on a computation by the MPI launcher or batch manager, which may add 128 or use their own return codes when reporting an issue in the called code. So in your case the
Code_Saturne solver executable was not even started.
Regards,
Yvan Fournier
Re: Error when using more than one core
Posted: Thu May 03, 2018 3:38 pm
by JMFQ
Hello,
Thank you a lot. It works just fine ! This was indeed a change to do from :
to
Thank you again,
Quentin