PrimeGrid
Please visit donation page to help the project cover running costs for this month

Toggle Menu

Join PrimeGrid

Returning Participants

Community

Leader Boards

Results

Other

drummers-lowrise
11) Message boards : General discussion : Duh, what am I missing here? (Message 130460)
Posted 393 days ago by Profile composite
**bbzz* ff ** radio static* something weird is going on here, my program is very slowly converging to the sequence of Poly-Bernoulli numbers B_n^(k) with k=-2
Given half a million years, it could converge on the values for n up to 12. Perl is horrible, time to switch to C.
12) Message boards : Number crunching : PrimeGrid Task Summary Generator (Message 130456)
Posted 393 days ago by Profile composite
The spirit of shell usage in Linux is to reuse existing tools and write little new software.
This bash two-liner will work on any flavour of Linux.
You'll notice that I threw in plenty of unnecessary spaces for readability.

echo PrimeGrid Task Summary for $(uname -n), at $(date); cut -d ' ' -f 9 /var/lib/boinc*/job_log_www.primegrid.com.txt | sed 's/_[0-9].*//' | perl -e 'chomp(@a=<>); $cnt{$_}++ for @a; printf "%-15s%8d\n", $_, $cnt{$_} for sort keys %cnt;'


That's what always puzzled me about bash-types. If you are sliding to perl anyway, why would you keep cut, sed, and whatnot. Do it with perl!

perl -nle ' $aa=(split / /)[8]; $aa=~s{_[0-9Me._]+$}{}; $ab{$aa}++; END { printf "%-16s%8d\n", $_, $ab{$_} foreach sort keys %ab }' \ /var/lib/boinc*/job_log_www.primegrid.com.txt


Yes, it can be made shorter but that's not the point. Yes, you can do multiline quoted strings, even with bash. Also, '[0-9Me._]' bears 'M', 'e', and '.' for a reason.

p.s. Also, worth noting. You don't need perl for this. Modern shells, even bash, provide associative arrays and printf for eternity.

That's the ticket. I've never used an END block so I didn't see how to get the summary from perl with -nle.
13) Message boards : Number crunching : PrimeGrid Task Summary Generator (Message 130310)
Posted 400 days ago by Profile composite
The spirit of shell usage in Linux is to reuse existing tools and write little new software.
This bash two-liner will work on any flavour of Linux.
You'll notice that I threw in plenty of unnecessary spaces for readability.

echo PrimeGrid Task Summary for $(uname -n), at $(date); cut -d ' ' -f 9 /var/lib/boinc*/job_log_www.primegrid.com.txt | sed 's/_[0-9].*//' | perl -e 'chomp(@a=<>); $cnt{$_}++ for @a; printf "%-15s%8d\n", $_, $cnt{$_} for sort keys %cnt;'
14) Message boards : Problems and Help : Question about Percentile rank on BOINC (Message 130239)
Posted 402 days ago by Profile composite
Welcome to PG.

It sounds right as you can have not a lot of credit yet be way better than most because a large proportion of new users may not be committed or not understand the site's settings or BOINC etc so only do a small amount of work before scarpering. Others may be able to elaborate more wholesomely than I I'm sure.

Now there's a word with regional usage. It looks like a typo but it isn't.

scarpering definition: 1. present participle of scarper 2. to leave very quickly, often to avoid getting into trouble (dictionary.cambridge.org)

Thanks to you, I've learned another word today. I might have used scram, skedaddle, or vamoose. This forum is all about trouble.
15) Message boards : News : AVX-512 Now Supported by LLR (Message 130164)
Posted 405 days ago by Profile composite
As a workaround until the library implements the switch, would it be worthwhile to include both the current and older version of the library (with a new symbol name) in the executable so that you could make the switch effective by calling either the older library or the newer one?


I'm afraid this is the wrong place to ask this question. LLR isn't a program developed by PrimeGrid. You'll need to go over to Mersenneforum.com if you want to pursue that line of thought.

I was under the impression that sllr64.3.8.23 was something developed for PrimeGrid, which called the LLR library developed elsewhere. Accordingly I suggesting that this thing be changed to call 2 versions of the library.
16) Message boards : News : AVX-512 Now Supported by LLR (Message 130072)
Posted 408 days ago by Profile composite
As a workaround until the library implements the switch, would it be worthwhile to include both the current and older version of the library (with a new symbol name) in the executable so that you could make the switch effective by calling either the older library or the newer one?
17) Message boards : Proth Prime Search : PPS-MEGA: Smaller FFT longer crunch time ? (Message 130071)
Posted 408 days ago by Profile composite
Guess: FFT sizes that are a power of two are faster than those that aren't.

This sounds like a potential optimization - step up FFT to the next power of two. Care to run some experiments?
18) Message boards : News : AVX-512 Now Supported by LLR (Message 130047)
Posted 409 days ago by Profile composite
Can you add a new command line flag to the LLR app which disables AVX-512, and a log message to say something like "AVX-512 disabled", or do you not have that choice when you call the library function?
19) Message boards : General discussion : Duh, what am I missing here? (Message 129198)
Posted 434 days ago by Profile composite
Direct proof is not going to happen.
The easy case is - easy. And the hard case is - impossible.
I told the reviewer I have abandoned this approach.

So now believe it or not, I'm going to resort to proof by induction, trying to show that the problem is completely covered by just the easy case.
I have some induction formulae and I need to transform the initial problem into these formulae to complete the proof.
I know - this sounds backwards, but I've been working on this thing long enough to already know where all the handles are located.
20) Message boards : Generalized Fermat Prime Search : GFN21 GFN22 Scoreboard, post your times/hardware (Message 129142)
Posted 438 days ago by Profile composite
...I then made a change to my app_config file to configure multithreading for the tasks he was running. Oddly enough when I went to make changes to the app_config file, it simply was gone.

I think that's what happens to running tasks when you change app_config.xml on the fly. You need to let tasks complete or abort them so that they don't get lost. Correct?

As for not getting work, it might be because I merged the old machine id and the new one under my account. So if your machine has gotten the old id again, then it's not associated with any account and it's effectively in the twilight zone. The remedy I suspect is to detach the machine from primegrid and reattach it with my weak key (after the SoB tasks are done).


Next 10 posts
[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2020 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 0.00, 0.00, 0.00
Generated 14 Jul 2020 | 16:39:58 UTC