Error opening file: "residuals.csv"

All questions about installation
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
amitraj2385
Posts: 2
Joined: Sun Mar 31, 2019 1:32 pm

Error opening file: "residuals.csv"

Post 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
Attachments
RUN1.zip
(1.46 MiB) Downloaded 211 times
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Error opening file: "residuals.csv"

Post 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
Attachments
cs_log_iteration.c
(51.52 KiB) Downloaded 219 times
amitraj2385
Posts: 2
Joined: Sun Mar 31, 2019 1:32 pm

Re: Error opening file: "residuals.csv"

Post by amitraj2385 »

Thanks Yvan.
It is working with the file.
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Error opening file: "residuals.csv"

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