mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > GMP-ECM

Reply
 
Thread Tools
Old 2012-09-14, 17:51   #1
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

131328 Posts
Default ECM level program

I have written a program in C# that outputs an approximation of the max number that a certain type and number of curves that have been removed with at least probability e^-1.
I have ported bits of the ecm probability code in ecm.c and rho.c to C# as part of this. Can one of the gmp-ecm developers give me permission to release this including its source and tell me how they want it licensed?

I am willing to modify my program to do similar things and extend its functionality. Can others post what functionality they would like?
henryzz is offline   Reply With Quote
Old 2012-09-14, 18:19   #2
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

160658 Posts
Default

It's licensed under the (L)GPL.
https://gforge.inria.fr/forum/forum.php?forum_id=11161

Could you re-port it to C or something that isn't a part of .NET?
Dubslow is offline   Reply With Quote
Old 2012-09-14, 19:27   #3
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

2×2,861 Posts
Default

Quote:
Originally Posted by Dubslow View Post
It's licensed under the (L)GPL.
https://gforge.inria.fr/forum/forum.php?forum_id=11161

Could you re-port it to C or something that isn't a part of .NET?
Possibly. If I do it will restrict what extra functionality I can add. I vaguely know C but am mainly comfortable in C#.

I assume I need the source code header modified slightly and to distribute copying.lib with the .exe.
henryzz is offline   Reply With Quote
Old 2012-09-14, 22:23   #4
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

2×2,383 Posts
Default

Quote:
Originally Posted by henryzz View Post
Possibly. If I do it will restrict what extra functionality I can add. I vaguely know C but am mainly comfortable in C#.

I assume I need the source code header modified slightly and to distribute copying.lib with the .exe.
Why not in QT? It has a nice, object oriented graphical user interface, and is portable on Windoze, Linux and MAC...
And I may help with it

Luigi

Last fiddled with by ET_ on 2012-09-14 at 22:24
ET_ is offline   Reply With Quote
Old 2012-09-15, 06:30   #5
debrouxl
 
debrouxl's Avatar
 
Sep 2009

977 Posts
Default

Qt is indeed nice, but distribution is fairly heavyweight on Windows (either megabytes of DLLs, or static linking which does not necessarily reduce size that much and has drawbacks of its own).
Why not standard C++11 ?
debrouxl is offline   Reply With Quote
Old 2012-09-15, 10:48   #6
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

476610 Posts
Default

Quote:
Originally Posted by debrouxl View Post
Qt is indeed nice, but distribution is fairly heavyweight on Windows (either megabytes of DLLs, or static linking which does not necessarily reduce size that much and has drawbacks of its own).
Why not standard C++11 ?
To say it all, I hate C++ :guilty: I started using GUIs when Delphi was initially distributed, while my number crunching programs are written in C.

Luigi
ET_ is offline   Reply With Quote
Old 2012-09-15, 12:23   #7
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

2×2,861 Posts
Default

Currently the plan is for it to remain a console app. QT would be an extra learning curve I shortly won't have time for. It's not that long til I head back to uni. I will release it this evening with my best guess at what fits with gmp-ecm's license. Heading off for a cycle nowish.
henryzz is offline   Reply With Quote
Old 2012-09-15, 16:57   #8
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

165A16 Posts
Default

Here is the source.
Attached Files
File Type: zip ECMProbability.zip (102.5 KB, 75 views)
henryzz is offline   Reply With Quote
Old 2012-09-15, 17:00   #9
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

2×2,861 Posts
Default

Here is the executable. I compiled it with .net 2.0 so anyone vista and up should be able to run it and most xp users should have at least this if they use windows update at least once every 5 years. On linux this should run under mono.
Attached Files
File Type: zip Release.zip (13.5 KB, 76 views)
henryzz is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
TF bit level davieddy Puzzles 71 2013-12-22 07:26
Nvidia GPU driver level Chuck GPU Computing 11 2012-08-17 20:27
Probability of TF per bit level James Heinrich PrimeNet 11 2011-01-26 20:07
Changing priority level Unregistered Information & Answers 12 2009-04-13 12:14
Factors appearing at level 62 ric Lone Mersenne Hunters 7 2005-09-06 12:12

All times are UTC. The time now is 03:58.

Fri Sep 25 03:58:45 UTC 2020 up 15 days, 1:09, 0 users, load averages: 0.78, 1.13, 1.21

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