<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 18, 2020 at 10:17 PM Snyder, Shane <<a href="mailto:ssnyder@mcs.anl.gov">ssnyder@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hi Jeff,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I just had to try it out to remind myself, but 'darshan-mk-log-dirs' does currently expect the root log directory (i.e., the log path you passed to '--with-log-path' config argument, '/usr/local/darshan-logs' in your case) to be already created outside of the
script. That is a little confusing given the name of the utility, in that you'd probably expect it to gracefully handle the case where the root doesn't already exist... I just created an issue to ensure we make the errors more clear in why the script fails,
and will probably also just modify the script to create the root if it doesn't exist -- I don't see any reason why it shouldn't already be doing that.<br></div></div></blockquote><div><br></div><div>Thanks for the reply! I apologize for not thinking of the need for the existence of the root directory - I should have caught that.</div><div><br></div><div>Thanks again!</div><div><br></div><div>Jeff</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Thanks!</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
--Shane<br>
</div>
<div id="gmail-m_4578812555730710783appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_4578812555730710783divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Darshan-users <<a href="mailto:darshan-users-bounces@lists.mcs.anl.gov" target="_blank">darshan-users-bounces@lists.mcs.anl.gov</a>> on behalf of Jeffrey Layton <<a href="mailto:laytonjb@gmail.com" target="_blank">laytonjb@gmail.com</a>><br>
<b>Sent:</b> Monday, May 18, 2020 3:06 PM<br>
<b>To:</b> <a href="mailto:darshan-users@lists.mcs.anl.gov" target="_blank">darshan-users@lists.mcs.anl.gov</a> <<a href="mailto:darshan-users@lists.mcs.anl.gov" target="_blank">darshan-users@lists.mcs.anl.gov</a>><br>
<b>Subject:</b> [Darshan-users] Cannot create log directory</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>Good afternoon,</div>
<div><br>
</div>
<div>I have a small problem when I build Darshan. It doesn't create the log directory, so I used the script
<a href="http://darshan-mk-log-dirs.pl" target="_blank">darshan-mk-log-dirs.pl</a>. However, I get an error:</div>
<div><br>
</div>
<div># ./<a href="http://darshan-mk-log-dirs.pl" target="_blank">darshan-mk-log-dirs.pl</a><br>
Error: could not mkdir /usr/local/darshan-logs//2020.<br>
</div>
<div><br>
</div>
<div>This is an Ubuntu system I used sudo to run the script and I also tried as root. In either case, I get the same result.</div>
<div><br>
</div>
<div>While I can follow the Perl script (it's been a few years since I last coded in Perl), I want to make sure I track down the cause of this error.</div>
<div><br>
</div>
<div>Thanks!</div>
<div><br>
</div>
<div>Jeff</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</blockquote></div></div>