[Cado-nfs-discuss] What to do after a crash?

Nicolas RUFF nicolas.ruff at gmail.com
Tue Sep 16 11:06:13 CEST 2014


Hello,

Sorry for the newbie question. I have been running a quite long
factorization job on my workstation, and for some reason it crashed after a
few weeks.

$ ./factor.sh xxx -t 12
...
Info:HTTP server: localhost Sending workunit c154_sieving_77330000-77340000
to client localhost
Traceback (most recent call last):
  File "cado-nfs-2.1/scripts/cadofactor/cadofactor.py", line 72, in <module>
    factors = factorjob.run()
  File "cado-nfs-2.1/scripts/cadofactor/cadotask.py", line 4720, in run
    last_status, last_task = self.run_next_task()
  File "cado-nfs-2.1/scripts/cadofactor/cadotask.py", line 4788, in
run_next_task
    return [task.run(), task.title]
  File "cado-nfs-2.1/scripts/cadofactor/cadotask.py", line 2517, in run
    self.submit_command(p, "%d-%d" % (q0, q1), commit=False)
  File "cado-nfs-2.1/scripts/cadofactor/cadotask.py", line 1093, in
submit_command
    wutext = command.make_wu(wuid)
  File "cado-nfs-2.1/scripts/cadofactor/cadoprograms.py", line 595, in
make_wu
    append_file(workunit, 'FILE', str(filename))
  File "cado-nfs-2.1/scripts/cadofactor/cadoprograms.py", line 591, in
append_file
    wu.append('CHECKSUM %s' % sha1cache.get_sha1(filename))
  File "cado-nfs-2.1/scripts/cadofactor/cadoprograms.py", line 192, in
get_sha1
    stat = os.stat(realpath)
OSError: [Errno 2] No such file or directory:
'/tmp/cado.PgpD3dAfkM/c154.factorbase.roots.gz'
FAILED ; data left in /tmp/cado.PgpD3dAfkM

$ ls /tmp/cado.PgpD3dAfkM/
c154.db  c154.db-shm  c154.db-wal  c154.log  c154.upload  c154.wucmd  client

Now the question: is there any way to resume computation from the point it
has stopped?

Thank you,
- Nicolas RUFF
-------------- section suivante --------------
Une pi�ce jointe HTML a �t� nettoy�e...
URL: <http://lists.gforge.inria.fr/pipermail/cado-nfs-discuss/attachments/20140916/83170045/attachment.html>


More information about the Cado-nfs-discuss mailing list