mersenneforum.org  

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

Reply
 
Thread Tools
Old 2004-08-03, 23:23   #1
talcum
 
Aug 2004

68 Posts
Default mprime

I found this post very useful.
http://www.mersenneforum.org/showthread.php?t=1365

But I had one more question I could not find the answer too. Im using mprime -b

my question is, is there a way to see the progress its making.. like the stuff it normally prints to the screen every 10,000 iterations while letting it remain in the background?

thanks
talcum is offline   Reply With Quote
Old 2004-08-03, 23:42   #2
antiroach
 
antiroach's Avatar
 
Jun 2003

22·61 Posts
Default

there are several ways i guess. you can pipe the output to a file ala

./mprime -b > output.file &

or you can use nohup.

"nohup ./mprime -b"

the output of the program is automatically sent to a file called nohup.out. hope this helps.
antiroach is offline   Reply With Quote
Old 2004-08-04, 01:09   #3
talcum
 
Aug 2004

2·3 Posts
Default

i tried
"nohup ./mprime -b"
let it run for about 2 hours and the file was 0bytes
killed mprime and then tried
./mprime -b > output.file &
and the file is also 0bytes... probably cause there is nothing to pipe cause the -b hides all output?

any other alternatives?
thanks
talcum is offline   Reply With Quote
Old 2004-08-04, 01:40   #4
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

23×3×7×43 Posts
Default

Try the -d command line argument
Prime95 is offline   Reply With Quote
Old 2004-08-04, 04:04   #5
talcum
 
Aug 2004

1102 Posts
Default

does the -d flag work with the -b flag? Im still not having any luck.
I access this machine remotely so it has to be in the background, im just nosey and like to see the progress/speeds from time to time.
thanks
talcum is offline   Reply With Quote
Old 2004-08-04, 09:20   #6
patrik
 
patrik's Avatar
 
"Patrik Johansson"
Aug 2002
Uppsala, Sweden

23·53 Posts
Default

The -b suppresses the output. Use & to put it in the background instead, i.e. "./mprime -d &" or "nohup ./mprime -d &".

Last fiddled with by patrik on 2004-08-04 at 09:21
patrik is offline   Reply With Quote
Old 2004-08-04, 18:25   #7
antiroach
 
antiroach's Avatar
 
Jun 2003

111101002 Posts
Default

oh yeah thats right. i had the same problem when i first started mprime too. yeah you need the -d switch :o
antiroach is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
mPrime over SSH Vincanis Information & Answers 4 2011-06-30 13:36
./mprime -B in 257 Lazlow PrimeNet 3 2008-10-29 20:40
64 bit mprime? aaronl Linux 1 2005-11-10 16:50
ECM using gmp-ecm and mprime on a P4 geoff Factoring 60 2004-12-02 07:16
Problem with mprime (Fixed with mprime -d) antiroach Software 2 2004-07-19 04:07

All times are UTC. The time now is 08:43.

Thu Dec 3 08:43:23 UTC 2020 up 4:54, 0 users, load averages: 2.10, 1.61, 1.30

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.