On Mon, 3 Jan 2000, Sandy Harris wrote:

>I'd like to search for Mersenne primes on my SMP Linux box. Info on
>the search is at:
>
>http://www.mersenne.org/prime.htm
>
>I'd like to run one copy of the search code in such a way that it
>monopolises one CPU, in hopes it will succeed relatively quickly.
>Is there a way to do that?

from the readme.txt:
"-An             This is used to run two or more copies of mprime
                from the same directory.  Using this command line argument
                causes mprime to use a different set of filenames for the
                INI files, the results file, the log file, and the spool
                file.
                Just use a different value of n for each extra copy of        
                mprime you start."

>
>I'd also like to run a second copy at low priority, set up so it will
>not interfere with either the primary prime searcher or anything else
>I want to do with the machine.

from the readme.txt:
"These command line arguments can be used to schedule mprime to
run only at certain times of the day or at a different priority.  Note
that raising the program's priority will not make it run any faster   
on an idle machine."

>
>I'm assuming here that there's no multi-threading in the search code,
>that it would not be useful to try and run one search using both CPUs.
>Is that accurate?

yes, this is true.
>-
>Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/dmentre/smp-howto/
>To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]
>


-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/dmentre/smp-howto/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to