<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-3">
<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); background-color: rgb(255, 255, 255);">
Great, thanks for the follow up!<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 Ayşe Arslan via Darshan-users <darshan-users@lists.mcs.anl.gov><br>
<b>Sent:</b> Sunday, September 8, 2019 6:27 PM<br>
<b>To:</b> darshan-users@lists.mcs.anl.gov <darshan-users@lists.mcs.anl.gov><br>
<b>Subject:</b> Re: [Darshan-users] LaTeX generation (phase1) failed in darshan-job-summary.pl utility</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:#000000">
Solved with<br>
</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:#000000">
sudo apt-get install texlive-latex-extra</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:#000000">
<br>
</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:#000000">
Thanks.<br>
</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">Ayşe Arslan <<a href="mailto:aysearslan2491@gmail.com">aysearslan2491@gmail.com</a>>, 8 Eyl 2019 Paz, 22:01 tarihinde şunu yazdı:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
Dear all,</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
<br>
</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
I installed darshan, and I am trying to create a PDF report by using the command:<br>
</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
<a href="http://darshan-job-summary.pl" target="_blank">darshan-job-summary.pl</a> <trace file>.darshan</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
<br>
</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
I am using an example output file to create pdf file as follows:<br>
</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
/usr/local/darshan_317_ompi/bin/<a href="http://darshan-job-summary.pl" target="_blank">darshan-job-summary.pl</a> ~/darshan-3.1.7/darshan-test/example-output/mpi-io-test-ppc64-3.1.7.darshan</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
<br>
</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
But it stops and does not work.<br>
</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
When I trace <a href="http://darshan-job-summary.pl" target="_blank">darshan-job-summary.pl</a>, I see it stops at the following line.
</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
$system_rc = system "$pdflatex $latex_cmd_line > latex.output</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
<br>
</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
When I change mode as nonstopmode as follows,</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
$system_rc = system "$pdflatex -interaction=nonstopmode -halt-on-error $latex_cmd_line > latex.output</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
<br>
</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
It enters the following part and gives error.<br>
</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
if($system_rc)<br>
{<br>
print("LaTeX generation (phase1) failed [$system_rc], aborting summary creation.\n");<br>
print("error log:\n");<br>
system("tail latex.output");<br>
exit(1);<br>
}</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
<br>
</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
Detailed output:<br>
</div>
<div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
************************************</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
/usr/local/darshan_317_ompi/bin/<a href="http://darshan-job-summary.pl" target="_blank">darshan-job-summary.pl</a> ~/darshan317/darshan-3.1.7/darshan-test/example-output/mpi-io-test-x86_64-3.1.6.darshan
<br>
</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
<br>
</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
Slowest unique file time: 0.000434<br>
Slowest shared file time: 0.054095<br>
Total bytes read and written by app (may be incorrect): 134218050<br>
Total absolute I/O time: 0.054529<br>
**NOTE: above shared and unique file times calculated using MPI-IO timers if MPI-IO interface used on a given file, POSIX timers otherwise.<br>
</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
LaTeX generation (phase1) failed [256], aborting summary creation.<br>
error log:<br>
or enter new name. (Default extension: sty)<br>
<br>
Enter file name: <br>
! Emergency stop.<br>
<read *> <br>
<br>
l.6 \usepackage<br>
{subfigure}^^M<br>
! ==> Fatal error occurred, no output PDF file produced!<br>
Transcript written on summary.log.<br>
***************************************</div>
<br>
</div>
<div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
What is the problem, is there any idea how can I fix it ? I would appreciate any help.</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
Thank you.</div>
<br>
</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif; color:rgb(0,0,0)">
<br>
</div>
</div>
</blockquote>
</div>
</div>
</body>
</html>