Hi,
is there a way of overriding the -maxmem parameter that is passed to ecm? Currently it seems to be always 10000 (10GB) which results in many polynomial modular reductions for larger B2. It would be nice to be able to give a P2 process more memory and do low-memory tasks on the other cores. (Of course, the Right Thing™ would be for us to write a multi-threaded ECM stage 2, but that is a lot of work )
Thanks,
Alex
Override -maxmem parameter for ECM phase 2?
Re: Override -maxmem parameter for ECM phase 2?
I found a preload library https://github.com/jktr/arg-inject that can rewrite the argument list of a program and modified it so that it changes -maxmem 10000 to -maxmem 32768 and adds a -treefile parameter. It's a horrible hack, of course, but it seems to get the job done. Does the server expect a certain number of "blocks"? Allowing more memory and reducing memory use with -treefile will reduce the number of blocks, so I wonder if the server will accept the output file as valid.
Alex
Alex