mersenneforum.org  

Go Back   mersenneforum.org > Search Forums

Showing results 1 to 25 of 1000
Search took 0.25 seconds.
Search: Posts Made By: bsquared
Forum: Programming 2021-01-17, 18:50
Replies: 11
Views: 629
Posted By bsquared
I am actively working on this.

I am actively working on this.
Forum: Puzzles 2021-01-04, 20:07
Replies: 13
Views: 497
Posted By bsquared
The powers of 2 I don't have an elegant...

The powers of 2

I don't have an elegant solution either - just starting writing down sums and observed a pattern.



The puzzles states two or more consecutive integers.
Forum: Lounge 2021-01-03, 16:50
Replies: 1,087
Views: 78,263
Posted By bsquared
Ugh, just realized that next year will be 2020,...

Ugh, just realized that next year will be 2020, too (2022).
Forum: Programming 2020-12-09, 03:33
Replies: 11
Views: 629
Posted By bsquared
Yeah, I'd say that explains it exactly. Looks...

Yeah, I'd say that explains it exactly. Looks like I have some work to do... in the meantime hopefully building with an earlier version of gcc is a workaround.
Forum: Programming 2020-12-08, 23:04
Replies: 11
Views: 629
Posted By bsquared
I would think that has remained the same, but I...

I would think that has remained the same, but I don't keep up to date on these things.

For clarity, here is an example of what I'm talking about.

header1.h:

#ifndef HEADER1_H
#define...
Forum: YAFU 2020-12-08, 21:51
Replies: 82
Views: 40,487
Posted By bsquared
Good to know, thanks. I've asked a question...

Good to know, thanks.

I've asked a question about this over in the programming thread; maybe more people read that and someone might know what's going on. I've browsed the gcc changelog but...
Forum: Programming 2020-12-08, 21:47
Replies: 11
Views: 629
Posted By bsquared
gcc 10.2.0 behavior

A couple times now I have seen reports where gcc 10.2.0 failed to compile a project that older gcc versions (and icc) compiled just fine. They fail with errors in the linking stage; complaining...
Forum: YAFU 2020-12-08, 16:47
Replies: 82
Views: 40,487
Posted By bsquared
Those are very similar errors to what is...

Those are very similar errors to what is happening here (https://www.mersenneforum.org/showthread.php?t=23087), with someone trying to compile YAFU using gcc 10.2.0. Are you using the same version...
Forum: EdH 2020-12-07, 21:22
Replies: 115
Views: 19,889
Posted By bsquared
Just now grabbed a snapshot of r395...

Just now grabbed a snapshot of r395 (branches/wip) and put it in a clean new folder. Made sure INC, LIB, and CC lines are correct in the Makefile for the USE_AVX2 build path. Ran 'make USE_AVX2=1...
Forum: YAFU 2020-12-02, 21:12
Replies: 61
Views: 4,420
Posted By bsquared
Can't get that one to fail for me, so far. I...

Can't get that one to fail for me, so far. I take it that it works except when used in your script?
Forum: YAFU 2020-12-02, 20:29
Replies: 61
Views: 4,420
Posted By bsquared
The example was apparently wrong in the file...

The example was apparently wrong in the file :brian-e:

Thanks for the reports!

It appears that this thread is actually all about the adventures of building and using yafu; very little to do...
Forum: YAFU 2020-12-02, 20:08
Replies: 61
Views: 4,420
Posted By bsquared
Glad we found something that works. You should...

Glad we found something that works. You should not need the quotes around if those lines are in the .ini file, otherwise yes, that should work.
session=/dev/null
logfile=/dev/null
Forum: YAFU 2020-12-02, 18:49
Replies: 61
Views: 4,420
Posted By bsquared
This is kinda a dusty back-corner of yafu,...

This is kinda a dusty back-corner of yafu, unfortunately. I have tried to get it to work "as one would expect" (keeping in mind this may be different for different people, as we saw above) for all...
Forum: YAFU 2020-12-02, 18:14
Replies: 61
Views: 4,420
Posted By bsquared
Yikes. I suspect the task is wrapping that...

Yikes.
I suspect the task is wrapping that command line up into some sort of 'exec' call or using pipes or something, putting yafu into a state where it thinks there is an incoming batchfile.
...
Forum: YAFU 2020-12-01, 19:44
Replies: 61
Views: 4,420
Posted By bsquared
What you are seeing is the expected behavior: it...

What you are seeing is the expected behavior: it will look for the .ini in the directory it was run from. Output files also go in the directory it was run from. I guess I pretty much set all I/O to...
Forum: YAFU 2020-11-30, 16:32
Replies: 82
Views: 40,487
Posted By bsquared
Ran a quick test attempting to pair primes < 1M. ...

Ran a quick test attempting to pair primes < 1M. There are ~5k pairs that are cheaper this way, sometimes dramatically so1. But there are ~78k primes below this bound so the total cost savings is a...
Forum: YAFU 2020-11-30, 14:47
Replies: 82
Views: 40,487
Posted By bsquared
The gain is not quite as large for me for the...

The gain is not quite as large for me for the smaller inputs I am dealing with, but it is a gain of about 1%.

It also seemed to help very slightly for me to define the cost functions to include...
Forum: YAFU 2020-11-29, 18:13
Replies: 82
Views: 40,487
Posted By bsquared
I tried to adjust the balance of time optimizing...

I tried to adjust the balance of time optimizing chains, without notable success. I'd like to see your code, thanks for sharing.

I'm also looking into gmp-ecm's different parameterizations. ...
Forum: YAFU 2020-11-28, 00:58
Replies: 82
Views: 40,487
Posted By bsquared
More updates: 1) Fixed some bugs in the fast...

More updates:

1) Fixed some bugs in the fast stage 2, after finally bearing down and understanding all of the nuances of Montgomery's PAIR algorithm correctly. I had it mostly right before, but...
Forum: Aliquot Sequences 2020-11-22, 01:02
Replies: 2,934
Views: 183,722
Posted By bsquared
:popcorn:

:popcorn:
Forum: YAFU 2020-11-19, 17:17
Replies: 82
Views: 40,487
Posted By bsquared
There have been a few updates to the avx-ecm...

There have been a few updates to the avx-ecm repo:

1) added algebraic factor removal of Mersenne inputs
2) added checkpoint saving every 1e8 primes in stage 1
3) implemented batch inversion in...
Forum: YAFU 2020-11-18, 14:37
Replies: 6
Views: 480
Posted By bsquared
Out of curiosity, how big is your number? ...

Out of curiosity, how big is your number?

More yafu's can be spawned, but toward the end of that process there will be some fiddly work that must be done by hand (recombining files, testing if you...
Forum: YAFU 2020-11-18, 14:27
Replies: 4
Views: 375
Posted By bsquared
Lots of stuff probably should have been put into...

Lots of stuff probably should have been put into a FAQ or README. Fortunately for me and my lazy documentation efforts, this entire subject is so niche that for the most part people either already...
Forum: YAFU 2020-11-13, 21:05
Replies: 61
Views: 4,420
Posted By bsquared
Yep, seems to be missing. The VM must be masking...

Yep, seems to be missing. The VM must be masking it... I've run into that with VirtualBox before, not sure about other VMs.

Sorry to run you through all of that! Looks like your original sse41...
Forum: YAFU 2020-11-13, 20:50
Replies: 61
Views: 4,420
Posted By bsquared
Can you run "lscpu" and report the flags...

Can you run "lscpu" and report the flags section?
Showing results 1 to 25 of 1000

 
All times are UTC. The time now is 04:55.

Fri Jan 22 04:55:44 UTC 2021 up 50 days, 1:07, 0 users, load averages: 2.72, 2.44, 2.26

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.