mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2015-03-16, 22:50   #1
mu5tan6
 
Mar 2015

22 Posts
Default Windows command line

Has anyone ever built mPrime for Windows? I would really prefer a command line version over the GUI implementation. I need to write a script to automate starting a series of benchmarks (including Prime95) and its just easier and more reliable if I can use the command line.

I am in the process of attempting to build it myself but it is proving more work than I had anticipated.

Thanks
mu5tan6 is offline   Reply With Quote
Old 2015-03-17, 19:29   #2
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

100100101101102 Posts
Default

You may want to ask the author - by PM or email...
Batalov is offline   Reply With Quote
Old 2015-03-18, 03:10   #3
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

2×3×1,583 Posts
Default

Have you looked at the Windows Service version?
Uncwilly is offline   Reply With Quote
Old 2015-03-18, 15:58   #4
mu5tan6
 
Mar 2015

22 Posts
Default

Quote:
Originally Posted by Uncwilly View Post
Have you looked at the Windows Service version?
No I haven't. Is there some mode that lets it operate without being installed as a service?
mu5tan6 is offline   Reply With Quote
Old 2015-03-19, 00:05   #5
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

2×3×1,583 Posts
Default

Quote:
Originally Posted by mu5tan6 View Post
No I haven't. Is there some mode that lets it operate without being installed as a service?
I would refer you to the above post.
Quote:
Originally Posted by Batalov View Post
You may want to ask the author - by PM or email...
Uncwilly is offline   Reply With Quote
Old 2015-03-19, 00:37   #6
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

17·19·23 Posts
Default

There is no way to do what you want with the existing executables.

I guess you'd want to start with MinGW 64-bit. Maybe someone here has tried that already and can provide some helpful hints.
Prime95 is offline   Reply With Quote
Old 2015-03-20, 01:20   #7
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

2·5,813 Posts
Default

Quote:
Originally Posted by Prime95 View Post
I guess you'd want to start with MinGW 64-bit. Maybe someone here has tried that already and can provide some helpful hints.
That what I was gonna suggest yesterday, but figured I'd wait for you to comment first.

Is the performance of the Linux-exe-running-under-MinGW-on-Windows similar to that of the Win64 binary?
ewmayer is offline   Reply With Quote
Old 2015-03-20, 03:39   #8
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

17×19×23 Posts
Default

Quote:
Originally Posted by ewmayer View Post
Is the performance of the Linux-exe-running-under-MinGW-on-Windows similar to that of the Win64 binary?
I would think so, but I haven't heard of anyone confirming my hypothesis.
Prime95 is offline   Reply With Quote
Old 2015-03-20, 03:52   #9
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

1,741 Posts
Default

Maybe I'm doing it wrong, but I can't run mprime under MinGW-64.

Code:
$ ./mprime
./mprime: ./mprime: cannot execute binary file
wombatman is offline   Reply With Quote
Old 2015-03-20, 04:04   #10
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013

3×977 Posts
Default

Quote:
Originally Posted by wombatman View Post
Maybe I'm doing it wrong, but I can't run mprime under MinGW-64.

Code:
$ ./mprime
./mprime: ./mprime: cannot execute binary file
Did you recompile it? You can't use a normal Linux binary from what I know.
Mark Rose is offline   Reply With Quote
Old 2015-03-20, 14:37   #11
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

1,741 Posts
Default

I look at recompiling briefly, but it's going to take a little more time than I was able to invest. Maybe I can work it out this weekend, though I'm far from the best at that.
wombatman is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail from command line pepi37 Linux 4 2015-07-16 22:06
Run Benchmark Test using Command Line Only? Gabe Brown Information & Answers 3 2009-12-12 14:01
command line switch wongnog Information & Answers 1 2008-07-20 11:29
NewPGen from the command line monst Software 19 2008-01-31 07:07
MultiSieve from the command line (on Windows) monst Software 7 2007-12-18 02:37

All times are UTC. The time now is 12:17.

Thu Apr 22 12:17:16 UTC 2021 up 14 days, 6:58, 0 users, load averages: 2.49, 2.29, 2.11

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.