Error when using more than one core

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
JMFQ
Posts: 3
Joined: Wed Apr 25, 2018 11:54 am

Error when using more than one core

Post 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
Attachments
summary.txt
(32.68 KiB) Downloaded 162 times
cas_long_RUN_clt(o).txt
(2.33 KiB) Downloaded 168 times
cas_long_RUN_clt(e).txt
(128.21 KiB) Downloaded 169 times
Yvan Fournier
Posts: 4209
Joined: Mon Feb 20, 2012 3:25 pm

Re: Error when using more than one core

Post by Yvan Fournier »

Hello,

Could you post the other recommended logs ?
Who installed the code ? Was the post-installation setup stage done ?

Regards,

Yvan
JMFQ
Posts: 3
Joined: Wed Apr 25, 2018 11:54 am

Re: Error when using more than one core

Post 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
Attachments
easybuild-saturne-5.0.4.truncated.log
(32.78 KiB) Downloaded 171 times
preprocessor.log
(5.64 KiB) Downloaded 163 times
Yvan Fournier
Posts: 4209
Joined: Mon Feb 20, 2012 3:25 pm

Re: Error when using more than one core

Post 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:

Code: Select all

mpiexec_n_per_node =
(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
JMFQ
Posts: 3
Joined: Wed Apr 25, 2018 11:54 am

Re: Error when using more than one core

Post by JMFQ »

Hello,

Thank you a lot. It works just fine ! This was indeed a change to do from :

Code: Select all

mpiexec_n_per_node = ' ' 
to

Code: Select all

mpiexec_n_per_node =  
Thank you again,
Quentin
Post Reply