![]() |
![]() |
#1 |
Random Account
Aug 2009
111100001002 Posts |
![]()
Getting all this set up was a learning experience. After loosening a few teeth I managed to get it all working properly. Ubuntu 20.04 LTS is the Linux side. I had to cheat a bit to get all the files in the proper place. I used a command prompt window to do a directory search of the HD to find the mprime folder I had created with the Ubuntu shell. It was way down in the User/AppData area. Once I navigated to it, I pinned it in the File Explorer.
I tried to run it by using the standard ./mprime -d command inside the shell. It said it was unable to create some files and could not find my worktodo file. Placing sudo at the front solved the problem. In this shell-only setup, I do not know if the permissions can be elevated to where the use of sudo would not be needed. There is one concern: Heat. During Stage 1, the temperature of the CPU will stay above 85°C and will sometimes spike to 90°C. The "Throttle" setting does not work with mprime in this case. I suspect this has more to do with Windows 10 than anything else. There is probably another way to cut the heat down some, Affinity. In Prime95. it is set to two threads for a single worker and two threads for the helper. I did this in local.txt. Changing this to one and three might help. This is all I have. I shared this in case anyone in the future wanted to try doing this. If anyone has any suggestions or comments, please feel free to write them. Thank you! ![]() |
![]() |
![]() |
![]() |
#2 |
"Composite as Heck"
Oct 2017
7·113 Posts |
![]()
Do you know if it's WSL1 or WSL2? I haven't tried WSL2, it's a relatively new feature that AFAIK replaces WSL1. WSL2 is basically a VM using hyper-V whereas WSL1 uses a translation layer, similar to wine but for ELF binaries. WSL2 has been reported to have reduced performance for some workloads but higher performance in others.
|
![]() |
![]() |
![]() |
#3 |
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
712 Posts |
![]()
That is what I called "well hidden" in my WSL1 experimentation. And files created by one OS might be invisible to the other in the same directory. (Using a Windows editor to create worktodo.txt for mprime would be futile, IIRC.)
|
![]() |
![]() |
![]() |
#4 | ||
Random Account
Aug 2009
22×13×37 Posts |
![]() Quote:
Quote:
I have to use "sudo" to get mprime to run. This has to do with permissions and I would rather not mess with it. In my OP, I wrote about a heat issue. I managed to get the temperature down a little by changing CoresPerTest from 4 to 3. The performance impact was minimal. 10 minute tests became 11 minutes. |
||
![]() |
![]() |
![]() |
#5 |
"Alexander"
Nov 2008
The Alamo City
11·53 Posts |
![]()
When I was experimenting with WSL (not for mprime, but for a Perl script I used to receive LLR assignments from my server (before I rediscovered PRPNet)), I ended up adding a symlink for the LLR folder (something like "C:\Users\<censored>\rps\llr") under the WSL home folder. Symlinks are your friends (on *nix file systems, not NTFS).
|
![]() |
![]() |
![]() |
#6 |
"Mike"
Aug 2002
1F8316 Posts |
![]()
Try:
cd /mnt/c/Users/"your username"/Desktop |
![]() |
![]() |
![]() |
#7 |
Random Account
Aug 2009
22·13·37 Posts |
![]()
I am running everything in this setup on a SSD. I do not know the layout, so just for the sake of argument, I will refer to it as a mechanical. The boot record is in Sector 0. Among everything in that location, there is a descriptor for the file system. In this case, NTFS.
Being NTFS means everything stored in the volume must conform to it, including the subsystem. I have been at this since 1988 and, to my knowledge, two file systems cannot exist inside one volume. Multiple volumes can exist inside a partition, as is the case with the SSD and Windows 10 having two protected recovery volumes along with the boot volume. The bottom line is that what I am doing works without problems. I was not expecting to be able to do so. I needed a simpler way to manage the files in the mprime folder. As it turned out, I already had it. Edit: In my OP, I mention how deeply this is buried in the file system. Below is the full path to the mprime folder. Code:
C:\Users\ndway\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs\mprime Last fiddled with by storm5510 on 2020-07-10 at 14:59 Reason: Additional |
![]() |
![]() |
![]() |
#8 |
Random Account
Aug 2009
111100001002 Posts |
![]()
It appears that M$ has enforced some changes with the introduction of Windows 10 v2004. With 19xx, it always required my password before I could do anything. This is no longer the case with 2004. If I try to run mprime, it responds with something like "unable to access log file." This would suggest that I am not logged in. I searched many places on the web looking for a login command, and found everything but. So, I am stuck. Anybody?
|
![]() |
![]() |
![]() |
#9 |
"Oliver"
Sep 2017
Porta Westfalica, DE
1E216 Posts |
![]()
So I guess you are running mprime in WSL? Please show us what ls -lah gives you when executed in the folder of where mprime is located.
|
![]() |
![]() |
![]() |
#10 |
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
33×7×31 Posts |
![]()
Has this ended up upgrading your WSL to WSL2?
I now have to log into WSL since making that upgrade. |
![]() |
![]() |
![]() |
#11 | ||
Random Account
Aug 2009
78416 Posts |
![]() Quote:
Quote:
I have attempted to change permissions on some frequently used files in the past, but the permissions would not hold. It its current state, it can read worktodo.txt, but cannot write back to it. I suspect it would be the same with a results file, or others I have not mentioned. |
||
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Windows Subsystem for Linux v2 gets real Linux kernel | tServo | Software | 0 | 2019-05-07 16:59 |
compiling mprime on linux | graysky | Software | 6 | 2011-03-14 07:00 |
mprime and linux | Echoblade | Information & Answers | 3 | 2007-06-24 22:28 |
going from linux to windows | nbv4 | Software | 1 | 2006-04-04 02:04 |
MPrime on Linux | optim | Software | 13 | 2003-12-06 04:27 |