<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:DengXian;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="ZH-CN" link="blue" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">Dear all,</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">Iíve followed instructions in opal-test/readme to install nomad and opal, and it works well with opal/examples/fd/fd_optimize.py. However, to execute
</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">$ ./optimize.sh params.c60 c60.poly<o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">in cado-nfs(3.0.0)/scripts/opal-test, with parameter(polynomial) files copied from cado-nfs/parameters/factor(polynomials), the program would always have errors (pasted below).</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">I donít know what to do and any advice would be helpful.</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">Thank you for your time!</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">Xiaoou He</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">Jun 19, 2018</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">===</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">$ ./optimize.sh params.c60 c60.poly</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">Ö</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">Using parameters I:10 qmin:61961 bkthresh1:0 lim0:78682 lim1:111342 lpb0:18 lpb1:19 mfb0:18 mfb1:38 ncurves0:10 ncurves1:10</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">Running: /home1/hxo/cado-nfs/sieve/makefb -lim 111342 -poly c60.poly -maxbits 10 -t 4 -side 1 -out factorbase111342.roots1.gz</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">Traceback (most recent call last):</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">  File "las_run.py", line 274, in <module></span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">    measures = run(param_file, problem)</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">  File "las_run.py", line 222, in run</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">    subprocess.check_call(makefb_cmd_line)</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">  File "/usr/lib64/python2.7/subprocess.py", line 537, in check_call</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">    retcode = call(*popenargs, **kwargs)</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">  File "/usr/lib64/python2.7/subprocess.py", line 524, in call</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">    return Popen(*popenargs, **kwargs).wait()</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">  File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">    errread, errwrite)</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">  File "/usr/lib64/python2.7/subprocess.py", line 1308, in _execute_child</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">    raise child_exception</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">OSError: [Errno 2] No such file or directory</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">Exception in thread blackbox.data generator:</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">Traceback (most recent call last):</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">  File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">    self.run()</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">  File "/home1/hxo/.local/lib/python2.7/site-packages/opal/core/mafrw.py", line 281, in run</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">    self.handle_message(msg)</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">  File "/home1/hxo/.local/lib/python2.7/site-packages/opal/core/mafrw.py", line 198, in handle_message</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">    self.message_handlers[cmd](info)</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">  File "/home1/hxo/.local/lib/python2.7/site-packages/opal/core/datagenerator.py", line 229, in get_result</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">    measureValues = self.algorithm.read_measure(outputFile)</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">  File "/home1/hxo/.local/lib/python2.7/site-packages/opal/core/algorithm.py", line 151, in read_measure</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">    f = open(fileName)</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">IOError: [Errno 2] No such file or directory: 'LAS_TESTPROB_67c9be31e050acddecb3905ae3a50db92bd4c2ea.measure'</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US" style="font-size:12.0pt;font-family:SimSun">---<o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US" style="font-size:12.0pt;font-family:SimSun">$
</span><span lang="EN-US">/home1/hxo/cado-nfs/sieve/makefb -lim 111342 -poly c60.poly -maxbits 10 -t 4 -side 1 -out factorbase111342.roots1.gz</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">-bash: /home1/hxo/cado-nfs/sieve/makefb: No such file or directory</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">---</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">Since opal was not tested with python 3.x [1], opal was built and .py programs in opal-test were run under Python 2.7.5.</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">OS: Red Hat 4.8.2-13</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">gcc version 4.8.3 20140911</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">and cado-nfs.py is run with Python 3.6.5</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">---</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US">[1] https://github.com/PythonOptimizers/opal</span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US" style="font-size:12.0pt;font-family:SimSun"><o:p> </o:p></span></p>
</div>
</body>
</html>