mersenneforum.org  

Go Back   mersenneforum.org > New To GIMPS? Start Here! > Information & Answers

Reply
 
Thread Tools
Old 2009-11-12, 23:46   #1
Gabe Brown
 

7,177 Posts
Default Run Benchmark Test using Command Line Only?

I want to run the benchmark testing using the command line only and then have the process exit. I'll use the process start/stop times to calculate how long it took the host to complete the test. Is this something possible with the Windows implementation?
  Reply With Quote
Old 2009-11-13, 09:10   #2
S485122
 
S485122's Avatar
 
Sep 2006
Brussels, Belgium

2·5·167 Posts
Default

Except the three command line commands doccumented in the readme.txt file, I did not find any other commandline arguments in the sources. So the answer is NO as far as I can tell.

Jacob
S485122 is offline   Reply With Quote
Old 2009-12-12, 13:32   #3
rudi_m
 
rudi_m's Avatar
 
Jul 2005

2×7×13 Posts
Default

You could use "expect" to go automatically through the interactive mprime menu.

# Record an expect script "script.exp"
autoexpect -p ./mprime -m
<do something with mprime menu>

# run the expect script
./script.exp

You might need to modify script.exp a little to handle non deterministic output from mprime.

cu,
Rudi
rudi_m is offline   Reply With Quote
Old 2009-12-12, 14:01   #4
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17·251 Posts
Default

Quote:
Originally Posted by rudi_m View Post
You could use "expect" to go automatically through the interactive mprime menu.
...
Note that this assumes Linux and mprime, not Windows and Prime95. AFAIK there is no Windows implementation that allows any command line interaction, let alone an automated benchmark+exit.
Mini-Geek 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
Windows command line mu5tan6 Software 14 2015-03-20 17:21
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 23:30.

Mon May 17 23:30:54 UTC 2021 up 39 days, 18:11, 0 users, load averages: 2.28, 2.18, 2.26

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.