mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Hobbies (https://www.mersenneforum.org/forumdisplay.php?f=71)
-   -   iPhone App (https://www.mersenneforum.org/showthread.php?t=12094)

flouran 2009-06-27 03:54

iPhone App
 
I was planning on writing an iPhone app this summer, but I don't know what it should do. Any ideas?

Note: I originally wanted to port Mlucas to the iPhone then realized that it probably wouldn't be very efficient and it's usage would most likely require a user who has a higher intelligence than the average iPhone user (for God's sake, many iPhone users are fascinated by a ball moving across their screen).

Uncwilly 2009-06-27 05:34

TF-LMH, especially real high, like OBD.

xilman 2009-06-27 14:30

[QUOTE=flouran;178965]I was planning on writing an iPhone app this summer, but I don't know what it should do. Any ideas?

Note: I originally wanted to port Mlucas to the iPhone then realized that it probably wouldn't be very efficient and it's usage would most likely require a user who has a higher intelligence than the average iPhone user (for God's sake, many iPhone users are fascinated by a ball moving across their screen).[/QUOTE]GMP-ECM?

Just porting GMP and/or MPIR would be a Good Thing, IMAO.

Paul

flouran 2009-06-27 15:22

Thank you for the replies. However, would someone mind explaining what GMP-ECM and TF-LMH are?
Also, since I have yet to look into these programs until someone explains to me why they want them ported, have they been coded for non-x86 processors?

Edit: I should also mention that one of the main reasons I wanted to port Mlucas because of the EFF prize; thus, people would be enticed to download it because of the prize money (I am talking about the layman here, not us). Perhaps, I may create a port of Mlucas and just upload it on [URL="http://code.google.com/"]Google code[/URL], and then smart people like the forum-goers here can follow the instructions to install it and can test the speed of the program on this thread and report their results (I may make a new thread about this.).

Mini-Geek 2009-06-27 18:01

[quote=flouran;179005]Thank you for the replies. However, would someone mind explaining what GMP-ECM and TF-LMH are?
Also, since I have yet to look into these programs until someone explains to me why they want them ported, have they been coded for non-x86 processors?[/quote]
[URL="http://ecm.gforge.inria.fr/"]GMP-ECM[/URL] is an [URL="http://mersennewiki.org/index.php/Elliptic_curve_method"]ECM[/URL] app. TF-LMH refers to low bit level trial factoring of Mersenne numbers (in PrimeNet v5 the work type is called TF-LMH, making a reference to the Lone Mersenne Hunters project that did(/does?) this type of work).

flouran 2009-06-28 16:46

gcc for iPhone
 
I found a port of [URL="http://code.google.com/p/iphone-gcc/"]gcc for the iPhone[/URL]; unfortunately, the header files are missing. However, a much easier way is to simply install Cydia and it comes with the iPhone toolchain and gcc. Hopefully then I will be able to compile Ernst's code.

However, I am not sure if this will work:
[CODE]
gcc *.c -o Mlucas
[/CODE]
I will let you guys know soon if it will compile! Any tips/tricks are welcome!

Uncwilly 2009-06-28 23:16

Any chance at porting Factor5 to eye-phone???
[url]http://www.mersenneforum.org/showthread.php?t=7283[/url]

flouran 2009-06-29 00:39

[QUOTE=Uncwilly;179194]Any chance at porting Factor5 to eye-phone???
[url]http://www.mersenneforum.org/showthread.php?t=7283[/url][/QUOTE]

It's doable; however, I don't see how it is as good or better than Mlucas in Mersenne exponent testing. Unless you can convince me otherwise of the pros of porting Factor5, I won't do it.

flouran 2009-06-29 01:53

[QUOTE=flouran;179202]It's doable; however, I don't see how it is as good or better than Mlucas in Mersenne exponent testing. Unless you can convince me otherwise of the pros of porting Factor5, I won't do it.[/QUOTE]
Actually, I will try and port Factor5 only after I have ported Mlucas to the iPhone. If there is anyone willing to help me in any way, just PM me!

ET_ 2009-06-29 10:50

[QUOTE=flouran;179208]Actually, I will try and port Factor5 only after I have ported Mlucas to the iPhone. If there is anyone willing to help me in any way, just PM me![/QUOTE]

Hi flouran, I wrote Factor5 under GMP environment.
If you plan to port it on iPhone, feel free to contact m for any information you need.

Mind though that Factor5 only look for Mersenne numbers factors, doesn't check their primality. On the other side, it is quite simple to port (at least te mono-threaded version): just compile and run.

Luigi

flouran 2009-06-29 16:26

[QUOTE=ET_;179232]Hi flouran, I wrote Factor5 under GMP environment.
If you plan to port it on iPhone, feel free to contact m for any information you need.

Mind though that Factor5 only look for Mersenne numbers factors, doesn't check their primality. On the other side, it is quite simple to port (at least te mono-threaded version): just compile and run.

Luigi[/QUOTE]

I will be sure to do so.
I should note that I will start porting Mlucas to the iPhone at the earliest around 11 pm tonight (my time). I will post when I start, and when I successfully finish. During that time period, I may post questions, so be there! :smile:


All times are UTC. The time now is 11:37.

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