Page 1 of 1

Error opening file: "residuals.csv"

Posted: Tue Apr 02, 2019 2:18 pm
by amitraj2385
Dear CS experts
I am new to CS and trying to run a small case on Code Saturne which is recently installed on our cluster.
While I run the case on one node (28 CPUs) it worked good but If I run the same setup on multiple nodes it stops with following error :

"System error: Remote I/O error

/work/projects/Code_Saturne/src/code_saturne-5.0.9/src/base/cs_time_plot.c:362: Fatal error.

Error opening file: "residuals.csv"


Call stack:
1: 0x2b2ddafc5d48 <cs_time_plot_init_probe+0x1568> (libsaturne.so.5)
2: 0x2b2ddaf63e3d <cs_log_l2residual+0x46d> (libsaturne.so.5)
3: 0x2b2ddaed8b74 <caltri_+0x2514> (libsaturne.so.5)
4: 0x2b2ddaea933f <cs_run+0x56f> (libsaturne.so.5)
5: 0x2b2ddaea8c8f <main+0x12f> (libsaturne.so.5)
6: 0x2b2ddf46fb35 <__libc_start_main+0xf5> (libc.so.6)
7: 0x400919 <> (cs_solver)
End of stack

application called MPI_Abort(MPI_COMM_WORLD, 1) - process 46"

Can you please help me to resolve it.
I attached the RESULT folder for both cases
RUN1.zip= failed on 2 nodes
RUN2.zip= OK on 1 node

Regards
Amit

Re: Error opening file: "residuals.csv"

Posted: Tue Apr 02, 2019 3:00 pm
by Yvan Fournier
Hello,

Could you check with the attached file (adding it in the SRC folder of your case is OK for a first test, and it it works, replacing the one in the code sources and reinstalling is the clean solution) ? It seems the file was opened for all processors (whre it s not necessary), so tricky things can happen based on your file system.

Best regards,

Yvan

Re: Error opening file: "residuals.csv"

Posted: Tue Apr 02, 2019 3:20 pm
by amitraj2385
Thanks Yvan.
It is working with the file.

Re: Error opening file: "residuals.csv"

Posted: Wed Apr 03, 2019 1:36 am
by Yvan Fournier
Hello,

Ok great. The fix has been commited to development and active maintenance branches, so will be included in 5.0.10, 6.0, and 5.3.3.

Best regards,

Yvan