Subject: Discussion related to cado-nfs
List archive
Re: [Cado-nfs-discuss] Problem in freerel step related to DSIZEOF_P_R_VALUES flag
Chronological Thread
- From: Pierrick Gaudry <pierrick.gaudry@loria.fr>
- To: Christophe Clavier <christophe.clavier@unilim.fr>
- Cc: cado-nfs-discuss@lists.gforge.inria.fr
- Subject: Re: [Cado-nfs-discuss] Problem in freerel step related to DSIZEOF_P_R_VALUES flag
- Date: Thu, 16 May 2019 07:44:07 +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 Christophe,
In the build directory (/home/clavip01/math/cado/build/opn/ in your
case), there is a file cado_config.h that contains the flags used for
compilation after the configuration step.
Also, when you run freerel, it should print on stdout the commandline and
the compilation flags. So you can also check in the file
./tmp/A_2340_0793.c214.freerel.stdout.1 , if you still have it.
Note that only the configuration step (make cmake) reads the local.sh
file. Therefore, if you change local.sh, you have to reconfigure before
recompiling. Typing "make cmake" and then "make" should do. But the
safest way is to remove completely the build directory (with "rm" or with
"make tidy") to force all the steps of configuration / compulation to be
done in the right order, whatever happened.
I am pretty confident that this should solve your problem. If not, please
report and we will investigate more.
Regards,
Pierrick
On Thu, May 16, 2019 at 07:06:03AM +0200, Christophe Clavier wrote:
>
> Hello,
>
> The freerel step of the factorization of a c214 has produced an error.
>
> Here are the list lines of the output after the polynomial selection:
>
> Info:Generate Factor Base: Starting
> Info:Generate Factor Base: Finished
> Info:Generate Factor Base: Total cpu/real time for makefb: 867.01/858.984
> Info:Generate Free Relations: Starting
> Warning:Command: Process with PID 5846 finished with return code 1
> Error:Generate Free Relations: Program run on server failed with exit code 1
> Error:Generate Free Relations: Command line was:
> /home/clavip01/math/cado/build/opn/sieve/freerel -poly
> ./tmp/A_2340_0793.c214.poly -renumber ./tmp/A_2340_0793.c214.renumber.gz
> -lpb0 34 -lpb1 35 -out ./tmp/A_2340_0793.c214.freerel.gz -t 12 >
> ./tmp/A_2340_0793.c214.freerel.stdout.1 2>
> ./tmp/A_2340_0793.c214.freerel.stderr.1
> Error:Generate Free Relations: Stderr output (last 10 lines only) follow
> (stored in file ./tmp/A_2340_0793.c214.freerel.stderr.1):
> Error:Generate Free Relations: # Warning: parameter verbose_flags is
> checked by this program but is undocumented.
> *Error:Generate Free Relations: Error, p_r_values_t is too small to store
> ideals, recompile with FLAGS_SIZE="-DSIZEOF_P_R_VALUES=8"*
> Error:Generate Free Relations:
> Traceback (most recent call last):
> File "../../cado-nfs.py", line 122, in <module>
> factors = factorjob.run()
> File "../../scripts/cadofactor/cadotask.py", line 5779, in run
> last_status, last_task = self.run_next_task()
> File "../../scripts/cadofactor/cadotask.py", line 5854, in run_next_task
> return [task.run(), task.title]
> File "../../scripts/cadofactor/cadotask.py", line 2923, in run
> raise Exception("Program failed")
> Exception: Program failed
>
> But actually it seems that I already compiled with this flag. Here are the
> last lines of local.sh :
>
> ############################################################
> # For big factorizations, increase the size of variable.
> # If you want to use large prime bound > 32, uncomment the following line
> #FLAGS_SIZE="-DSIZEOF_P_R_VALUES=8"
> # If you want to be able to handle more than 2^32 ideals in your factor base
> or
> # have more than 2^32 relations (for large prime bound > 35 or 36),
> uncomment
> # the following line
> *FLAGS_SIZE="-DSIZEOF_P_R_VALUES=8 -DSIZEOF_INDEX=8"*
>
> Maybe I am wrong? How to check whether the compilation indeed took this flag
> into account?
>
> Thanks
>
> Christophe
>
> _______________________________________________
> Cado-nfs-discuss mailing list
> Cado-nfs-discuss@lists.gforge.inria.fr
> https://lists.gforge.inria.fr/mailman/listinfo/cado-nfs-discuss
- [Cado-nfs-discuss] Problem in freerel step related to DSIZEOF_P_R_VALUES flag, Christophe Clavier, 05/16/2019
- Re: [Cado-nfs-discuss] Problem in freerel step related to DSIZEOF_P_R_VALUES flag, Pierrick Gaudry, 05/16/2019
- Re: [Cado-nfs-discuss] Problem in freerel step related to DSIZEOF_P_R_VALUES flag, paul zimmermann, 05/16/2019
- Re: [Cado-nfs-discuss] Problem in freerel step related to DSIZEOF_P_R_VALUES flag, Christophe Clavier, 05/16/2019
Archive powered by MHonArc 2.6.19+.