![]() |
|
|
#991 |
|
110111010112 Posts |
|
|
|
|
#992 | |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
5,437 Posts |
Quote:
I'd like to see either at command line or worktodo entry (both choices would be nice but maybe not a good use of Mihai's time budget) an option to do -iters (number). If I had to pick one, I'd choose command line. The combination of SELROC's suggestion plus -iters would make benchmarking the various fft lengths for a given gpu model much easier. As is, I find myself babysitting it. Mlucas and prime95 have the -iters feature. An option on worktodo entries -fft +(number) or -(number)would be useful. As is, a worktodo file can't efficiently mix exponents of different fft list offset. Also if there's an issue with one worktodo entry instead of quitting, continue to the next. Openowl could modify the trouble assignment to be a comment, then rescan the file for input. Last fiddled with by kriesel on 2019-02-07 at 13:43 |
|
|
|
|
|
|
#993 | |
|
127138 Posts |
Quote:
Mfakto has the argument -tf <exp> <bitmin> <bitmax> it ignores the worktodo file, so for consistency with mfakto: openowl -prp <exp> ... |
|
|
|
|
#994 | |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
124758 Posts |
Quote:
openowl -pm1 <exp> -B1 <b1bound> -B2 <b2bound> Last fiddled with by kriesel on 2019-02-07 at 20:44 |
|
|
|
|
|
|
#995 |
|
22×3×241 Posts |
|
|
|
|
#996 |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
5,437 Posts |
True. I think it would be easier to read though with them. It also maintains a symmetry in parsing; one field identifier, one value, rather than one with 3 parameters and order-sensitive.
|
|
|
|
|
|
#997 | |
|
11·23·31 Posts |
Quote:
Let preda decide on this, but I am just curious what you have against order-sensitive arguments :-) |
|
|
|
|
#998 |
|
"Composite as Heck"
Oct 2017
33B16 Posts |
How it typically works is that an op has either nothing or one string attached to it. This makes arg parsing a doddle with something like getopt, which easily allows defining a short and long version of an op like -h and --help. Personally I'd convert the arg parsing to getopt and do "openowl --pm1 <exp>,<b1bound>,<b2bound>" assuming the bounds are only used with pm1.
|
|
|
|
|
|
#999 | |
|
"Mihai Preda"
Apr 2015
55B16 Posts |
Quote:
|
|
|
|
|
|
|
#1000 |
|
"Composite as Heck"
Oct 2017
33B16 Posts |
An internet search indicates it's available on MingW/cygwin and that workarounds for MSVC appear to simply copy getopt.h from MingW ( https://www.codefull.org/2015/04/can...under-windows/ ). What a pain MSVC is.
|
|
|
|
|
|
#1001 |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
2·33·109 Posts |
getopt has been used as part of lasieve which compiles in pretty much all environments(these days). There was a bit of issue with POSIXLY_CORRECT not being set sometimes when compiling on windows which is worth watching out for. This was discussed in https://www.mersenneforum.org/showthread.php?t=18043
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mfakto: an OpenCL program for Mersenne prefactoring | Bdot | GPU Computing | 1676 | 2021-06-30 21:23 |
| GPUOWL AMD Windows OpenCL issues | xx005fs | GpuOwl | 0 | 2019-07-26 21:37 |
| Testing an expression for primality | 1260 | Software | 17 | 2015-08-28 01:35 |
| Testing Mersenne cofactors for primality? | CRGreathouse | Computer Science & Computational Number Theory | 18 | 2013-06-08 19:12 |
| Primality-testing program with multiple types of moduli (PFGW-related) | Unregistered | Information & Answers | 4 | 2006-10-04 22:38 |