Skip to Content.
Sympa Menu

cado-nfs - Re: [Cado-nfs-discuss] Configuring cado-nfs for client-server work

Subject: Discussion related to cado-nfs

List archive

Re: [Cado-nfs-discuss] Configuring cado-nfs for client-server work


Chronological Thread 
  • From: paul zimmermann <Paul.Zimmermann@inria.fr>
  • To: Владимир Мартьянов <vilgeforce@gmail.com>
  • Cc: cado-nfs-discuss@lists.gforge.inria.fr
  • Subject: Re: [Cado-nfs-discuss] Configuring cado-nfs for client-server work
  • Date: Wed, 13 Jul 2016 09:53:27 +0200
  • List-archive: <http://lists.gforge.inria.fr/pipermail/cado-nfs-discuss/>
  • List-id: A discussion list for Cado-NFS <cado-nfs-discuss.lists.gforge.inria.fr>

Hi,

> From: Владимир Мартьянов
> <vilgeforce@gmail.com>
> Date: Tue, 12 Jul 2016 17:17:31 +0300
>
> Hello again!
>
> I faced with some troubles in client-server mode. I have a snapshot of the
> work in /tmp/cado.sfjjfw3j/c270.parameters_snapshot.0 I tried to add a line
> server.port=1313 to this line to specify a new port, it doesn't work.

please can you give more details? The following works with the git version:

1) $ ./cado-nfs.py
8312294295031399876237581072267611210232959213949587843322514862035389516592913
server.port=1312

2) stop the factorization using Ctrl-C

3) edit the snapshot file and replace server.port=1312 by server.port=1313

4) $ ./cado-nfs.py /tmp/cado.puj_qff1/c80.parameters_snapshot.0

> Is it a way to specify a port on which the server will listen for clients?
> I need it to add a firewall rule.

yes, with server.port=...

> And the second problem: I have one-core master server and some 16-24-32
> slave machines. The master sends them a command to work with 1 thread. Is
> it possible to specify threads count on the slaves in the commandline?
> --server=https://cado-nfs:36564
> --certsha1=6a31dfc1668c394db7b0b3eebc4e3ffdcfda7c33 -t 8 doesnt'w work.
>
> Thank you for your answers!

the number of threads per work unit cannot be changed, since the master cannot
know which client will process which work unit. However you can start as many
cado-nfs-client.py's you want on each node (see README):

The programs (for the polynomial selection and sieving steps) can run
multithreaded, but it is better to have them run with a capped number of
threads (say, 2), and run several clients per node.

Best regards,
Paul




Archive powered by MHonArc 2.6.19+.

Top of Page