mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing > GpuOwl

Reply
 
Thread Tools
Old 2020-09-08, 16:25   #23
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

13·277 Posts
Default

Quote:
Originally Posted by masser View Post
Shouldn't a calculator answer the question posed?
Question posed, view the answer here.
It should, and I had broken it, thank you for bringing it to my attention. Fixed now.
James Heinrich is offline   Reply With Quote
Old 2020-09-08, 16:52   #24
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

137428 Posts
Default

Quote:
Originally Posted by chalsall View Post
And for Perl, I recommend Strawberry Perl. This is apparently the version Larry Wall himself uses when he's not on Unix.

Just to say, I also have found that trying to compile Perl into a Windows exec is not scalable. Not only are the executables huge, but they take a very long time to launch because of all the unpacking of the environment involved.

Not a good User Experience.

Those who get the scripts from this codebase are going to be technically savvy. Presume they already have the interperters installed, or will do so if they wish to use the scripts.
Chalsall:
What compiler are you using, that's producing huge executables?
How big are the source files?
How long do they take to start?

I've used IndigoStar's perl2exe, and get a 6MB executable (compressible to below 4MB) including some frills (fully filled in Windows file properties, icons), from a 131KB/2500 line source file. Startup from command line prompt to printing initial output takes less than 1 second on an old dual-Xeon-E5520 system running Windows 7 with rotating hard disk. I've been using ActiveState perl for development, then compile for distribution to other machiens so I don't need to install perl everywhere. And the app has a user-initiate self-update function to pull down updates from a network file share.

Python however, I've seen a mere couple of pages of source result in a slow unpack and tens of MB size standalone package leading to a whole jungle of unpacked files hidden somewhere. Haven't tried IndigoStar's python2exe demo yet though. Soon.

Last fiddled with by kriesel on 2020-09-08 at 17:06 Reason: (no offense storm5510, but I intended to ask chalsall)
kriesel is offline   Reply With Quote
Old 2020-09-08, 17:02   #25
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009

37318 Posts
Default

Quote:
Originally Posted by kriesel View Post
What compiler are you using, that's producing huge executables?
How big are the source files?
How long do they take to start?
In my experience, I had a 15K script compile into an 830MB executable.
It started right away, but ran oh so slowly.
This was with Strawberry Perl.
storm5510 is offline   Reply With Quote
Old 2020-09-08, 17:12   #26
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

10,193 Posts
Default

Quote:
Originally Posted by kriesel View Post
What compiler are you using, that's producing huge executables? How big are the source files? How long do they take to start?
I was just using PAR as the "compiler". An 8 KB file became a 10 MB executable. Launch time was in the five to eight-second range, on a i3-7100 CPU with 16 GB of RAM. Not acceptable for "normals".

I also found myself trying to chase down a memory leak with forking code, so I just abandoned the idea of using the Perl code for production, and moved to C.

"Plan to throw the first one away. You will, anyway..." - Fred Brooks. The Mythical Man-Month
chalsall is offline   Reply With Quote
Old 2020-09-08, 17:58   #27
masser
 
masser's Avatar
 
Jul 2003
Behind BB

111000011102 Posts
Default

Quote:
Originally Posted by chalsall View Post
"Plan to throw the first one away. You will, anyway..." - Fred Brooks. The Mythical Man-Month
So true. Wish more people understood this.
masser is offline   Reply With Quote
Old 2020-09-08, 18:01   #28
masser
 
masser's Avatar
 
Jul 2003
Behind BB

2×3×7×43 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
It should, and I had broken it, thank you for bringing it to my attention. Fixed now.
Awesome. Thanks!
masser is offline   Reply With Quote
Old 2020-09-08, 18:31   #29
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

13×277 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
It should, and I had broken it, thank you for bringing it to my attention. Fixed now.
Even better, maybe the answer provided should both answer the question and be correct. Fixed again...
James Heinrich is offline   Reply With Quote
Old 2020-09-08, 18:44   #30
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

2·3·1,019 Posts
Default

Quote:
Originally Posted by chalsall View Post
I was just using PAR as the "compiler". An 8 KB file became a 10 MB executable. Launch time was in the five to eight-second range, on a i3-7100 CPU with 16 GB of RAM. Not acceptable for "normals".
Thanks, I'll be sure to continue to stay away from Perl PAR. http://www.indigostar.com/perl2exe/ works for me. Price is not awful.
On the Python front, attempts to compile gpuowl primenet.py via various approaches have yielded from 10.3 up to 31.2MB executable compressible down to 8+MB. Up to 15-20 seconds start time to get a "Hello!" program run. I have 1 or 2 more approaches to try yet.

Last fiddled with by kriesel on 2020-09-08 at 18:46
kriesel is offline   Reply With Quote
Old 2020-09-08, 18:50   #31
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

2·3·1,019 Posts
Default

Quote:
Originally Posted by storm5510 View Post
In my experience, I had a 15K script compile into an 830MB executable.
It started right away, but ran oh so slowly.
This was with Strawberry Perl.
Storm5510: Was that with PAR, or some other method?
kriesel is offline   Reply With Quote
Old 2020-09-09, 00:16   #32
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009

7D916 Posts
Default

Quote:
Originally Posted by kriesel View Post
Storm5510: Was that with PAR, or some other method?
PAR is not familiar to me so it must have been something else. Something I pulled in with CPAN and then had to determine how to use it. I cannot recall the exact name.
storm5510 is offline   Reply With Quote
Old 2020-10-02, 15:02   #33
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009

72×41 Posts
Default

There is something I want to verify so please don't gouge me about it...

Let's say I have a P-1, or ECM, with B1 = 50e6 and all of the preceding tests had a B1 which was smaller. Common sense says the higher B1 will cover the same territory which the smaller ones did then continue on to its own set value. All tests start at zero (0). Fact or fiction?
storm5510 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Poisson Distribution pepi37 Miscellaneous Math 6 2018-08-28 02:10
What Bounds to choose, and what are Bounds 144 Information & Answers 5 2017-03-15 13:36
Poisson processes prescription, please? Fusion_power Information & Answers 5 2007-08-15 14:20
Help me pick a math course. jasong Math 9 2005-03-11 21:04
Pick a stone, or two, .... or three Wacky Puzzles 5 2003-06-24 16:11

All times are UTC. The time now is 09:00.


Tue Jan 25 09:00:09 UTC 2022 up 186 days, 3:29, 0 users, load averages: 1.84, 1.59, 1.31

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, 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.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔