[Cado-nfs-discuss] opal error on cado-nfs(3.0.0)

He Xiaoou showeryhe at hotmail.com
Tue Jun 19 09:41:21 CEST 2018

Dear all,

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
$ ./optimize.sh params.c60 c60.poly
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).
I don’t know what to do and any advice would be helpful.
Thank you for your time!

Xiaoou He
Jun 19, 2018
$ ./optimize.sh params.c60 c60.poly
Using parameters I:10 qmin:61961 bkthresh1:0 lim0:78682 lim1:111342 lpb0:18 lpb1:19 mfb0:18 mfb1:38 ncurves0:10 ncurves1:10
Running: /home1/hxo/cado-nfs/sieve/makefb -lim 111342 -poly c60.poly -maxbits 10 -t 4 -side 1 -out factorbase111342.roots1.gz
Traceback (most recent call last):
  File "las_run.py", line 274, in <module>
    measures = run(param_file, problem)
  File "las_run.py", line 222, in run
  File "/usr/lib64/python2.7/subprocess.py", line 537, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/usr/lib64/python2.7/subprocess.py", line 524, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1308, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Exception in thread blackbox.data generator:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
  File "/home1/hxo/.local/lib/python2.7/site-packages/opal/core/mafrw.py", line 281, in run
  File "/home1/hxo/.local/lib/python2.7/site-packages/opal/core/mafrw.py", line 198, in handle_message
  File "/home1/hxo/.local/lib/python2.7/site-packages/opal/core/datagenerator.py", line 229, in get_result
    measureValues = self.algorithm.read_measure(outputFile)
  File "/home1/hxo/.local/lib/python2.7/site-packages/opal/core/algorithm.py", line 151, in read_measure
    f = open(fileName)
IOError: [Errno 2] No such file or directory: 'LAS_TESTPROB_67c9be31e050acddecb3905ae3a50db92bd4c2ea.measure'
$ /home1/hxo/cado-nfs/sieve/makefb -lim 111342 -poly c60.poly -maxbits 10 -t 4 -side 1 -out factorbase111342.roots1.gz
-bash: /home1/hxo/cado-nfs/sieve/makefb: No such file or directory
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.
OS: Red Hat 4.8.2-13
gcc version 4.8.3 20140911
and cado-nfs.py is run with Python 3.6.5
[1] https://github.com/PythonOptimizers/opal

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/cado-nfs-discuss/attachments/20180619/efbab300/attachment.html>

More information about the Cado-nfs-discuss mailing list