mprime is a silly program. It wants a certain amount of free space for writing its temporary files. I reserved 12MB for it. It only writes files which need less than 100 bytes in size (check the file sizes in /tmp/torture-test/torture.*/results.txt or /tmp/torture-test/torture.*/local.ini*). Each time you run one instance of mprime it wants that amount of free space on the filesystem. It worked fine for me (2 cores).
To solve your problem, run the following at the command line (size=20M
should be more than enough, set to a higher value if it is not the case):
mount -o remount /tmp -o size=20M
Is it correct that you have a quad code in your PC?
Change the link of Mersenne Prime Test
on the homepage to: http://www.mersenne.org/freesoft/
Currently it points to http://www.mersenne.org/freesoft.htm
(redirects to http://www.mersenne.org/freesoft/
There is a new version of mprime (December 15, 2008): mprime v25.8.
I will incorporate it in the next CPUstress image (and abandon v23 and v24).
How much memory may I use to avoid the "Fatal ERROR Writing to Temp File" message so that it can run on most PCs (minimum RAM in PC: 32MB or 64MB)? Maybe the new version doesn't have this problem (not tested yet).
I quickly scanned the code and the following error messages can't be found in the new version, but are in the v24 version:
"FATAL ERROR: Writing to temp file."
"FATAL ERROR: Reading from temp file."
So maybe the bug is gone.