<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
On Feb 3, 2022, at 05:13, Bertini, Denis Dr. &lt;<a href="mailto:D.Bertini@gsi.de" class="">D.Bertini@gsi.de</a>&gt; wrote:
<div>
<blockquote type="cite" class="">
<div id="divtagdefaultwrapper" dir="ltr" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif, EmojiFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols;" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">I am facing a problem when trying to write on a Lustre filesystem ( v 2.12) using standard&nbsp;fortran IO&nbsp;</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">code ( compiled with&nbsp;GNU gfortran 8.3).<span style="font-size: 12pt;" class="">&nbsp;</span></div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">The io rate sporadically goes extremely slow ( sometime down to&nbsp; 20/10 kBytes/s !&nbsp;) giving the</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">feeling that the job is just hanging.</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Is this problem known by the community?</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Is there something a user should be aware when using Fortran IO together with</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">the lustre filesystem?</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">The code (tarball in attachment)&nbsp;i am using is very simple and i would be grateful is somebody could&nbsp;<span style="font-size: 12pt;" class="">try it to see if this behaviour is a local or&nbsp;general problem.</span></div>
</div>
</blockquote>
<br class="">
</div>
<div>It's been 30 years since I did anything directly with Fortran, so I can't help you there, but I would suggest to debug this from the IO side with tracing. &nbsp;Use &quot;strace&quot; if a single-threaded program, or Darshan if a parallel program, or other related tools,
 and you can get stats about IO size and alignment without having to understand the code first. &nbsp;This may surprise you if the application is doing e.g. 32-byte writes because you specified the array variables in the wrong order, or something.</div>
<br class="">
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div>Cheers, Andreas</div>
<div>--</div>
<div>Andreas Dilger</div>
<div>Lustre&nbsp;Principal Architect</div>
<div>Whamcloud</div>
<div><br class="">
</div>
<div><br class="">
</div>
<div><br class="">
</div>
</div>
</div>
</div>
</div>
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br class="">
</body>
</html>