mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Hobbies

Reply
 
Thread Tools
Old 2009-06-27, 03:54   #1
flouran
 
flouran's Avatar
 
Dec 2008

34116 Posts
Default 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).
flouran is offline   Reply With Quote
Old 2009-06-27, 05:34   #2
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101Γ—103 Posts

23·1,223 Posts
Default

TF-LMH, especially real high, like OBD.
Uncwilly is offline   Reply With Quote
Old 2009-06-27, 14:30   #3
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

29×3×7 Posts
Default

Quote:
Originally Posted by flouran View Post
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).
GMP-ECM?

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

Paul

Last fiddled with by xilman on 2009-06-27 at 14:30
xilman is offline   Reply With Quote
Old 2009-06-27, 15:22   #4
flouran
 
flouran's Avatar
 
Dec 2008

72·17 Posts
Default

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 Google code, 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.).

Last fiddled with by flouran on 2009-06-27 at 15:27
flouran is offline   Reply With Quote
Old 2009-06-27, 18:01   #5
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17×251 Posts
Default

Quote:
Originally Posted by flouran View Post
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?
GMP-ECM is an ECM 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).
Mini-Geek is offline   Reply With Quote
Old 2009-06-28, 16:46   #6
flouran
 
flouran's Avatar
 
Dec 2008

72×17 Posts
Default gcc for iPhone

I found a port of gcc for the iPhone; 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
I will let you guys know soon if it will compile! Any tips/tricks are welcome!

Last fiddled with by flouran on 2009-06-28 at 16:46
flouran is offline   Reply With Quote
Old 2009-06-28, 23:16   #7
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101Γ—103 Posts

23·1,223 Posts
Default

Any chance at porting Factor5 to eye-phone???
http://www.mersenneforum.org/showthread.php?t=7283
Uncwilly is offline   Reply With Quote
Old 2009-06-29, 00:39   #8
flouran
 
flouran's Avatar
 
Dec 2008

11010000012 Posts
Default

Quote:
Originally Posted by Uncwilly View Post
Any chance at porting Factor5 to eye-phone???
http://www.mersenneforum.org/showthread.php?t=7283
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 is offline   Reply With Quote
Old 2009-06-29, 01:53   #9
flouran
 
flouran's Avatar
 
Dec 2008

72×17 Posts
Smile

Quote:
Originally Posted by flouran View Post
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.
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!
flouran is offline   Reply With Quote
Old 2009-06-29, 10:50   #10
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

481510 Posts
Default

Quote:
Originally Posted by flouran View Post
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!
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

Last fiddled with by ET_ on 2009-06-29 at 10:50
ET_ is offline   Reply With Quote
Old 2009-06-29, 16:26   #11
flouran
 
flouran's Avatar
 
Dec 2008

72·17 Posts
Default

Quote:
Originally Posted by ET_ View Post
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
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!
flouran is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there An Android or Iphone version of Prime95 king Information & Answers 1 2018-02-14 07:01
iPhone keeps record of everywhere you go ewmayer Lounge 5 2011-04-22 12:53
No iPhone-app yet? Ferdy PrimeNet 3 2010-11-09 00:00
Making an iPhone app...any ideas? flouran Programming 9 2010-09-15 17:56

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


Fri Jul 16 11:37:36 UTC 2021 up 49 days, 9:24, 1 user, load averages: 1.93, 1.65, 1.60

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.