<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body 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 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="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Darshan-users <darshan-users-bounces@lists.mcs.anl.gov> on behalf of Jeffrey Layton <laytonjb@gmail.com><br>
<b>Sent:</b> Monday, May 18, 2020 3:06 PM<br>
<b>To:</b> darshan-users@lists.mcs.anl.gov <darshan-users@lists.mcs.anl.gov><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">darshan-mk-log-dirs.pl</a>. However, I get an error:</div>
<div><br>
</div>
<div># ./<a href="http://darshan-mk-log-dirs.pl">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>
</body>
</html>