mersenneforum.org  

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

Reply
 
Thread Tools
Old 2018-02-07, 08:38   #1
justinstevens42
 
"Justin Stevens"
Jan 2018
Edmonton, Alberta

22 Posts
Default Splitting Work over Dual Boot

I started doing GIMPS on my Windows partition on my computer, and was recently assigned a first-time LL test after double-checking M48068149. I now am also using my Ubuntu boot as well, and was wondering if it's possible for me to continue my work on the other distribution or if I just have to try a different number there?
justinstevens42 is offline   Reply With Quote
Old 2018-02-07, 09:56   #2
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

258B16 Posts
Default

Can you set a common partition, or access windoze disk from linux?
If not, you will need to save the checkpoint files on a stick or SD card and resume from there.
LaurV is offline   Reply With Quote
Old 2018-02-07, 11:22   #3
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

32·5·107 Posts
Default

Quote:
Originally Posted by LaurV View Post
Can you set a common partition, or access windoze disk from linux?
If not, you will need to save the checkpoint files on a stick or SD card and resume from there.
Consider saving the whole working directory of Prime95, with the worktodo.txt, prime.txt and local.txt files as well, save it on a dedicated directory on Ubuntu anddownload/extract the Linux version of the program (mprime) from the download page.
ET_ is offline   Reply With Quote
Old 2018-02-07, 12:51   #4
ric
 
ric's Avatar
 
Jul 2004
Milan, Ita

2×7×13 Posts
Default

Quote:
Originally Posted by justinstevens42 View Post
I now am also using my Ubuntu boot as well, and was wondering if it's possible for me to continue my work on the other distribution or if I just have to try a different number there?
It can be done, but requires some fluency in both environments (that is, if you plan to do just a proof of concept, do as LaurV suggested: save all of your files on an external SD card and go from there). Otherwise, fasten your seat belts, and do the following:
  • have all of your windows files in a dedicated directory with write capabilities (let's say C:/ProgramData/Prime95)
  • boot into Linux, download and unpack the Linux64 version of the program in a folder under your home (let's say /home/your_user/prime95)
  • do not start mprime yet (or it will fetch a completely new candidate for testing, and it will define a new and unrelated userid/machine)
  • mount your windows partition (you'll probably require to install ntfs-3g and make a dedicated folder under your /mount or /media directory)
  • take note of windows' partition mount point, and modify your /etc/fstab accordingly, in order to have a persistent mount point for it, whenever you boot into Linux
  • copy the script below, name it primestart.sh or whatever name you like, and put it into the same folder of mprime (again, /home/your_user/prime95)
  • make both mprime and the primestart.sh executable (an option under file properties)
  • doubleclick primestart.sh, a new terminal will appear - remember that mprime has no fancy GUI, but a menu-driven interface

Code:
#!/bin/bash
#
#        start mprime with a menu and point to a folder specified by -W   
#
/home/your_user/prime95/mprime -m -W/media/Windows/ProgramData/Prime95
Well, this is not really "Linux 101", but it just works...
ric is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot? bsquared Linux 3 2013-10-11 21:38
Dual Boot - Same Assignments kladner Software 19 2011-07-15 02:12
Moving assignments from XP to Ubuntu (dual boot) axn Software 8 2009-05-21 23:15
What's best way to dual-boot Windows and Linux? jasong Linux 6 2007-09-03 03:34
prime95 on a dual boot system hmeyer Software 1 2003-01-14 22:30

All times are UTC. The time now is 07:46.


Sat Jul 17 07:46:55 UTC 2021 up 50 days, 5:34, 1 user, load averages: 1.03, 1.15, 1.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.