mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > YAFU

Reply
 
Thread Tools
Old 2012-09-08, 20:55   #1
Stargate38
 
Stargate38's Avatar
 
"Daniel Jackson"
May 2011
14285714285714285714

3×13×17 Posts
Angry How to get Wine/Yafu-Win32.exe to accept this expression?

I'm trying to get Wine to properly send this command to Yafu 1.32:
Code:
trial(2357111317192329313741434753596167717379838997101103107109113127131137139149151157163167173179181191193197199211223227229233239241251257263269271277281283293307311313317331337347349353359367373379383389397401409419421431433439443449457461463467479487491499503509521523541547557563569571577587593599601607613617619631641643647653659661673677683691701709719727733739743751757761769773787797809811821823827829839853857859863877881883887907911919929937941947953967971977983991997100910131019102110311033103910491051106110631069108710911093109711031109111711231129115111531163117111811187119312011213121712231229123112371249125912771279128312891291129713011303130713191321132713611367137313811399140914231427142914331439144714511453145914711481148314871489149314991511152315311543154915531559156715711579158315971601160716091613161916211627163716571663166716691693169716991709172117231733174117471753175917771783178717891801181118231831184718611867187118731877187918891901190719131931193319491951197319791987199319971999200320112017202720292039205320632069208120832087208920992111211321292131213721412143215321612179220322072213222122372239224322512267226922732281228722932297230923112333233923412347235123572371237723812383238923932399241124172423243724412447245924672473247725032521253125392543254925512557257925912593260926172621263326472657265926632671267726832687268926932699270727112713271927292731274127492753276727772789279127972801280328192833283728432851285728612879288728972903290929172927293929532957296329692971299930013011301930233037304130493061306730793083308931093119312131373163316731693181318731913203320932173221322932513253325732593271329933013307331333193323332933313343334733593361337133733389339134073413343334493457346134633467346934913499351135173527352935333539354135473557355935713581358335933607361336173623363136373643365936713673367736913697370137093719372737333739376137673769377937933797380338213823383338473851385338633877388138893907391139173919392339293931394339473967398940014003400740134019402140274049405140574073407940914093409941114127412941334139415341574159417742014211421742194229423142414243425342594261427142734283428942974327433743394349435743634373439143974409442144234441444744514457446344814483449345074513451745194523454745494561456745834591459746034621463746394643464946514657466346734679469147034721472347294733475147594783478747894793479948014813481748314861487148774889490349094919493149334937494349514957496749694973498749934999500350095011502150235039505150595077508150875099510151075113511951475153516751715179518951975209522752315233523752615273527952815297530353095323533353475351538153875393539954075413541754195431543754415443544954715477547954835501550355075519552155275531555755635569557355815591562356395641564756515653565756595669568356895693570157115717573757415743574957795783579158015807581358215827583958435849585158575861586758695879588158975903592359275939595359815987600760116029603760436047605360676073607960896091610161136121613161336143615161636173619761996203621162176221622962476257626362696271627762876299630163116317632363296337634363536359636163676373637963896397642164276449645164696473648164916521652965476551655365636569657165776581659966076619663766536659666166736679668966916701670367096719673367376761676367796781679167936803682368276829683368416857686368696871688368996907691169176947694969596961696769716977698369916997700170137019702770397043705770697079710371097121712771297151715971777187719372077211721372197229723772437247725372837297730773097321733173337349735173697393741174177433745174577459747774817487748974997507751775237529753775417547754975597561757375777583758975917603760776217639764376497669767376817687769176997703771777237727774177537757775977897793781778237829784178537867787378777879788379017907791979277933793779497951796379938009801180178039805380598069808180878089809381018111811781238147816181678171817981918209821982218231823382378243826382698273828782918293829783118317832983538363836983778387838984198423842984318443844784618467850185138521852785378539854385638573858185978599860986238627862986418647866386698677868186898693869987078713871987318737874187478753876187798783880388078819882188318837883988498861886388678887889389238929893389418951896389698971899990019007901190139029904190439049905990679091910391099127913391379151915791619173918191879199920392099221922792399241925792779281928392939311931993239337934193439349937193779391939794039413941994219431943394379439946194639467947394799491949795119521953395399547955195879601961396199623962996319643964996619677967996899697971997219733973997439749976797699781978797919803981198179829983398399851985798599871988398879901990799239929993199419949996799731000710009100371003910061100671006910079100911009310099101031011110133101391014110151101591016310169101771018110193102111022310243102471025310259102671027110273102891030110303103131032110331103331033710343103571036910391103991042710429104331045310457104591046310477104871049910501105131052910531105591056710589105971060110607106131062710631106391065110657106631066710687106911070910711107231072910733107391075310771107811078910799108311083710847108531085910861108671088310889108911090310909109371093910949109571097310979109871099311003110271104711057110591106911071110831108711093111131111711119111311114911159111611117111173111771119711213112391124311251112571126111273112791128711299113111131711321113291135111353113691138311393113991141111423114371144311447114671147111483114891149111497115031151911527115491155111579115871159311597116171162111633116571167711681116891169911701117171171911731117431177711779117831178911801118071181311821118271183111833118391186311867118871189711903119091192311928,24972797)
Here's the Wine output:
Code:
unable to reallocate string in sGrow
How do I get it to trial factor this number? Here's the DB entry: http://www.factordb.com/index.php?id...00000534712049

Last fiddled with by Stargate38 on 2012-09-08 at 20:56 Reason: put Yafu version.
Stargate38 is offline   Reply With Quote
Old 2012-09-08, 21:12   #2
firejuggler
 
firejuggler's Avatar
 
Apr 2010
Over the rainbow

23·52·13 Posts
Default

Hmm the problem is that the string is too long.
Even on native windows, it does not work. it is somewhat limited to 4096~character.

Last fiddled with by firejuggler on 2012-09-08 at 21:12
firejuggler is offline   Reply With Quote
Old 2012-09-08, 21:19   #3
Stargate38
 
Stargate38's Avatar
 
"Daniel Jackson"
May 2011
14285714285714285714

3·13·17 Posts
Default

How do I override the limit?! I wanted to trial factor this number to at least 24972797.
Stargate38 is offline   Reply With Quote
Old 2012-09-08, 22:01   #4
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

16F816 Posts
Default

Quote:
Originally Posted by docfile.txt
------------
Batchfiles
------------
A command line driver job can take as input a batchfile
using the -batchfile flag. This batchfile can contain any valid YAFU expression
on each line of the file. Optionally, an expression can be supplied on the command
line in the usual manner. In this case the expressions in the batch file are substituted
into the input expression in place of the special character @ in the input expression.
If the @ character is not found, the input expression is ignored and the lines of the batchfile
are treated as the input expressions.

Examples:

To start factoring work on a list of input numbers, one per line, contained in a file called in.bat, do
the following from the command line:
% yafu "factor(@)" -batchfile in.bat

To start work on a list of input expressions, one per line, contained in a file called in.bat, do
the following from the command line:
./yafu "@" -batchfile in.bat
or, equivalently:
./yafu -batchfile in.bat

Lines of the batchfile are removed as they are completed.
I believe this should do the trick. Always worth checking the documentation.

Why are you using wine?
henryzz is offline   Reply With Quote
Old 2012-09-08, 23:03   #5
kar_bon
 
kar_bon's Avatar
 
Mar 2006
Germany

23·3·112 Posts
Default

Quote:
Originally Posted by henryzz View Post
I believe this should do the trick. Always worth checking the documentation.
yafu 1.32 WIN crashes (same for V1.29-1.31).

BTW: The number seems the Smarandache consecutive prime sequences for n=11929 but the last value is 11928!?
kar_bon is offline   Reply With Quote
Old 2012-09-09, 00:07   #6
Stargate38
 
Stargate38's Avatar
 
"Daniel Jackson"
May 2011
14285714285714285714

66310 Posts
Default

It's the N+1 for this PRP: http://www.factordb.com/index.php?id...00000534711999
I used the Home Prime Base-10 for 11927# to add it to the DB. Also, 11929=79*151

Last fiddled with by Stargate38 on 2012-09-09 at 00:10
Stargate38 is offline   Reply With Quote
Old 2012-09-09, 00:07   #7
kar_bon
 
kar_bon's Avatar
 
Mar 2006
Germany

23·3·112 Posts
Default

Found this one:

From post#1: 2357111317...28<5719> = 2^3 · 7 · 560149 · 7514299502...37<5711>

Code:
GMP-ECM 6.2.3 [powered by GMP 4.3.0] [ECM]
Input number is 7514299502...381282837 (5711 digits)
Using B1=1250000, B2=1306120212, polynomial Dickson(6), sigma=1325898009
Step 1 took 6918473ms
********** Factor found in step 1: 6611371551944894456563
Found probable prime factor of 22 digits: 6611371551944894456563
A C5690 remains.
kar_bon is offline   Reply With Quote
Old 2012-09-09, 00:38   #8
Mathew
 
Mathew's Avatar
 
Nov 2009

2·52·7 Posts
Default

The largest number I have had work using yafu is a C957; this was with the number in a batchfile.

(Additional details: yafu v1.31.1 was successful with C957 and choked on a C963)

Anything larger I use ecm.py. However, I am not sure of the optimal point for when to switch from yafu to ecm.py.
Mathew is offline   Reply With Quote
Old 2012-09-17, 19:44   #9
Stargate38
 
Stargate38's Avatar
 
"Daniel Jackson"
May 2011
14285714285714285714

3×13×17 Posts
Default

If you want to know, I'm using Wine because Windows crashed and I can't figure out what's wrong. Here's a list of the symptoms:

1. Windows froze when I was adding artwork to a song in iTunes (Mouse and keyboard wouldn't even respond. I even tried "Ctrl-Alt-Del" and "Alt-Esc". "Fn-Up Arrow" or "Fn-Down Arrow" still let me change the screen brightness.)
2. I rebooted with no problems, then everything started freezing up with "file not found" errors
3. I rebooted again. Windows 7 wouldn't boot, but the motherboard could still boot a Puppy Linux boot DVD (I'm using Wine/Yafu 1.32 on that to factor numbers).
4. I'm getting "Bad Sector" errors.

Can someone please tell me what's wrong with my PC? I can't even get the Windows Recovery DVDs to work (they get to the "Full Recovery (with Backup)" part, then an error comes up saying "Please insert recovery DVD", even though the DVD is in the drive). Why won't it boot?

Last fiddled with by Stargate38 on 2012-09-17 at 19:49 Reason: You need to put in a ":(" smiley.
Stargate38 is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running YAFU via Aliqueit doesn't find yafu.ini EdH YAFU 8 2018-03-14 17:22
Running MFAKTC in WINE? Rodrigo GPU Computing 13 2017-08-10 04:10
making PrimeNet accept duplicate TF results? ixfd64 PrimeNet 5 2012-12-08 07:04
GUI for Mprime/running Prime95 under WINE? ixfd64 Software 5 2011-02-16 15:21
64-bit lnx vs win client, Prime95.exe under Wine? xorbe Software 13 2009-03-18 07:22

All times are UTC. The time now is 13:39.


Sat Jul 17 13:39:48 UTC 2021 up 50 days, 11:27, 1 user, load averages: 1.56, 1.59, 1.58

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.