mersenneforum.org  

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

Reply
 
Thread Tools
Old 2002-10-05, 04:24   #1
penguin22
 
Sep 2002

22×3 Posts
Default Multiple OS'es on one box w/ Prime95

Hey, I will be running Win9x, 2000, XP and Mandrake Linux 9.0 on one box. I know that the Windows clients will have no problem working with prim95 together, but I am wondering if there is a Linux version (already know there is work X I'm sure) that will run at bootup when booting just to the terminal without starting X?

Also, the main part that I was hoping for is all of the OSes installed should use the same ini file and work on the same part of the number being tested... I hope that this makes sense and even moreso that there is a posibility to work... again, I am sure that Windows 9x, 2000 and XP will have no problem as long as I run it from a common FAT32 partition, but the Linux part is what I'm concerned with as it will be what I am in most.

Thanks for the Info!
penguin22 is offline   Reply With Quote
Old 2002-10-05, 12:46   #2
Prime Monster
 
Prime Monster's Avatar
 
Aug 2002

22×5×13 Posts
Default

No problem if you set it up correctly. The prime client can be run from the commandline and completely in the background, startit with mprime -B options set. As for ini files, worktodo, temfiles and so, the are not plaform dependent, so the should be easy to "move" around. I regularily move from win to linux and back again. The only real difference is the client itself.

As for partition, although I havn't tried this personally, you should be able to mount the fat32 partition and run from that.

Have a look in the documentation for how to run mprime with alternate directories.

Alf
Prime Monster is offline   Reply With Quote
Old 2002-10-05, 15:50   #3
gowen72
 
Aug 2002

618 Posts
Default

I do exactly that with mprime and prime95, booting between WindowsXP and RedHat.

I have mprime and Prime95 installed in the same directory in a FAT32 partition. I just run the appropiate version for the current operating system from that directory.


There is no problem sharing the save files between the two clients, so I can reboot half-way through a test and restart from where I left off in the new operating system.


Gareth
gowen72 is offline   Reply With Quote
Old 2002-10-05, 15:54   #4
penguin22
 
Sep 2002

22·3 Posts
Default

Excellent! Thanks so much for your replies... Time to get formatting and installing =)
penguin22 is offline   Reply With Quote
Old 2002-10-05, 16:10   #5
patrik
 
patrik's Avatar
 
"Patrik Johansson"
Aug 2002
Uppsala, Sweden

52·17 Posts
Default

I run Win98 and Red Hat Linux 7.2 and have set things up like this (as detailed as I would have liked it to be when I set it up 6 months ago):

As root:

1) Look for the name of your FAT32 partition
# fdisk -l
Disk /dev/hdc: 255 heads, 63 sectors, 4982 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 * 1 1024 8225248+ b Win95 FAT32
/dev/hdc2 1025 1030 48195 83 Linux
/dev/hdc3 1031 4950 31487400 83 Linux
/dev/hdc4 4951 4982 257040 f Win95 Ext'd (LBA)
/dev/hdc5 4951 4982 257008+ 82 Linux swap

2) Add a line to your /etc/fstab. This would make it writable for root.
/dev/hdc1 /disk/hdc1 vfat defaults 0 0

3) Create the mount point and mount the Windows file system.
# mkdir /disk/hdc1
# mount /dev/hdc1 /disk/hdc1

4) Copy mprime to the same direcory as prime95 is running in.

5) Add the following line to your rc.local (found somewhere under /etc, maybe /etc/rc.local) to start mprime automatically after boot. The '-d' option makes mprime print screen output, which then is redirected to the file log.txt, so that you can view it.
/disk/hdc1/Program/Prime95/mprime -d >> /disk/hdc1/Program/Prime95/log.txt &
(should be on one line)

6) And finally, give that last line as a command if you don't want to reboot.
patrik is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using multiple PCs numbercruncher Information & Answers 18 2014-04-17 00:17
configuring Prime95 to use multiple proxies? ixfd64 Software 1 2011-02-08 15:34
Prime95, hyperthreading, multiple processors, Win2003, etc... pcr Software 8 2005-12-22 14:43
multiple instances Mayhem316 Software 2 2003-07-29 13:34
Multiple systems/multiple CPUs. Best configuration? BillW Software 1 2003-01-21 20:11

All times are UTC. The time now is 05:13.

Fri Mar 5 05:13:54 UTC 2021 up 92 days, 1:25, 0 users, load averages: 2.50, 2.46, 2.17

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.