<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'><font face="times new roman, new york, times, serif" size="3">Hi,</font><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">I'm using the C API of Darshan and I have some problems with the two functions mentioned in the title of this mail.</div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">I'm testing them using 10024744407537054797.bz2 (in http://ftp.mcs.anl.gov/pub/darshan/data/intrepid/2012/9/1/).</div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">This trace is supposed to show 4 mount points, which I see when using the darshan-parse command line tool, yet darshan_log_getmounts gives me 0 mount points.</div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">The "exe" field is supposed to contain "3979759305", but when calling darshan_log_getexe I get the string "2.02".</div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">These functions do not return any error code.</div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">All other functions are working properly. I'm using version 2.2.5 of Darshan.</div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">Just to check, here is how I use these functions:</div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div><div><font face="times new roman, new york, times, serif">int64_t** devs;</font></div><div><font face="times new roman, new york, times, serif">char*** mnt_pts;</font></div><div><font face="times new roman, new york, times, serif">char*** fs_types;</font></div><div><font face="times new roman, new york, times, serif">int count;</font></div><div><font face="times new roman, new york, times, serif">int err = darshan_log_getmounts(fd,devs,mnt_pts,fs_types,&count);</font></div><div><font face="times new roman, new york, times, serif">// here c = 0</font></div><div><font face="times new roman, new york, times, serif">free(devs); free(mnt_pts); free(fs_types);</font></div><div><font face="times new roman, new york, times, serif"><br></font></div><div><font face="times new roman, new york, times, serif">char buffer[CP_EXE_LEN+2];</font></div><div><font face="times new roman, new york, times, serif">darshan_log_getexe(fd, buffer);</font></div><div><font face="times new roman, new york, times, serif"><br></font></div><div><font face="times new roman, new york, times, serif">Is there a bug somewhere or am I misusing these functions?</font></div><div><font face="times new roman, new york, times, serif">Thanks!</font></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br><div><span name="x"></span><font size="2"><font size="3">Matthieu Dorier<br>
  </font>PhD student at ENS Cachan Brittany and IRISA<br><a href="http://people.irisa.fr/Matthieu.Dorier">http://people.irisa.fr/Matthieu.Dorier</a></font><span name="x"></span><br></div></div></div></body></html>