mersenneforum.org  

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

Reply
Thread Tools
Unread 2021-08-01, 23:14   #364
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

1D7716 Posts
Default

factor64.o is built from factor64.asm
Prime95 is online now   Reply With Quote
Unread 2021-08-02, 04:33   #365
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

3×5×313 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Is it continuing from a savefile? If so, try renaming it.

If that fixes it, send me the savefile and worktodo.txt
I've tried deleting all save files too with no difference.
I've tried lower bounds, more or less workers ... .every attempt crashes the PC.

I tend to believe it is a conflict between my specific Windows 10 state and something in the pminus1 code.
I wish I could be more specific.
petrw1 is offline   Reply With Quote
Unread 2021-08-02, 08:09   #366
S485122
 
S485122's Avatar
 
"Jacob"
Sep 2006
Brussels, Belgium

6AE16 Posts
Default

Quote:
Originally Posted by petrw1 View Post
I've tried deleting all save files too with no difference.
I've tried lower bounds, more or less workers ... .every attempt crashes the PC.

I tend to believe it is a conflict between my specific Windows 10 state and something in the pminus1 code.
I wish I could be more specific.
The fact that running an unprivileged program leads to "the PC immediately shutdown (no blue screen...just boom)" is interesting ;-) But it probably means there are no crash dump files :-(

But you should still check the dedicated folder : %UserProfile%\AppData\Local\CrashDumps (C:\Users\User\AppData\Local\CrashDumps for the user "User") for .dmp files. One way to do that is to open an elevated command prompt, "cd" to the root of your disk, and enter the "dir *.dmp /s /a" command, it will search the whole disk, including hidden and system folders and files. If there are files that seem relevant by their date, you can use the free program "WinDbg" that you can download from the MicrosoftStore, to show the content of dump files in a user "friendly" way. The files or the WinDbg output might interest George :-)

Since the initial crash lead to loss or corruption of several files (prime.txt, local.txt ...) you could look for disk errors in the event viewer, do a CHKDSK /F from an elevated command prompt but most probably the storage is OK.

One thing you could do, is to install the latest version of prime95 in a NEW folder, NOT using ANY your old prime95 files (prime.txt, local.txt, worktodo.txt, ...) Enter computer and user name, set the maximum memory, stop prime95 and inject the P-1 assignment in your worktodo.txt file after checking its syntax or better get a P-1 assignment from PrimeNet.

If that leads to the same results a thorough check of Windows might be useful (dism and scansfc...)

Jacob

Last fiddled with by S485122 on 2021-08-02 at 08:26 Reason: submit instead of preview after a correction
S485122 is offline   Reply With Quote
Unread 2021-08-02, 16:38   #367
drkirkby
 
"David Kirkby"
Jan 2021
Althorne, Essex, UK

24·33 Posts
Default

Quote:
Originally Posted by Prime95 View Post
factor64.o is built from factor64.asm
Thank you. The linux64/makefile only contains
Code:
FACTOROBJ = factor64.o
so does not have enough information to build factor64.o from factor64.asm, which is in prime95/factor64.asm. I thought that file was for Windows only, since it was in the prime95 directory.

I could work out how to do it, but it's not necessary for me, as it was ecm.c that I wanted to recompile. I did manage to build the program, and achieved what I wanted to, but I believe the makefile is lacking the required information.
drkirkby is offline   Reply With Quote
Unread 2021-08-02, 18:18   #368
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2×67×73 Posts
Default

Quote:
Originally Posted by drkirkby View Post
Thank you. The linux64/makefile only contains ... so does not have enough information to build factor64.o from factor64.asm, which is in prime95/factor64.asm
That raises an interesting point... The "make" system allows implicit build paths. Perhaps this particular target should be more explicitly and clearly defined.

Given a million idiots, occasionally a very small number of them will guess (and radiate) something worth thinking about...
chalsall is online now   Reply With Quote
Unread 2021-08-02, 18:39   #369
drkirkby
 
"David Kirkby"
Jan 2021
Althorne, Essex, UK

1B016 Posts
Default

Quote:
Originally Posted by chalsall View Post
Given a million idiots, occasionally a very small number of them will guess (and radiate) something worth thinking about...
Was that comment really necessary?

I've been on a large number of forums in my years on the internet, including two maths related
  1. I did a huge amount of work in porting the SageMath software to Solaris. I had few disagreements with anyone over the years.
  2. Mathematica forums.
  3. Keysight forum for professional test equipment.
  4. Amateur radio forums.
  5. Web design forums
  6. Computer server forum.
  7. Some on groups.io that I jointly own - i always share ownership, in case I die.
  8. Many others.
I've never come across any with such a toxic atmosphere as here. I had some PMs with someone who was getting abuse for asking too many questions. In a PM he wrote:

"I have been around here for a long time, and the tone rarely gets as bad as it has been lately. It will get better, and more relaxed, like it always does."

I point out an issue with a makefile, and get comments about a million idiots.

Last fiddled with by drkirkby on 2021-08-02 at 18:43 Reason: Added a few more forums
drkirkby is offline   Reply With Quote
Unread 2021-08-02, 19:36   #370
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2×67×73 Posts
Default

Quote:
Originally Posted by drkirkby View Post
I point out an issue with a makefile, and get comments about a million idiots.
To be perfectly honest... You talk too much. You ask way too many questions which have already been answered. You are lazy, and like to see your words "in print".

The very patient amongst us say things like "don't scare off people".

The more serious say things along the lines of don't waste our very valuable time.

Read the prior art.

Please!!!
chalsall is online now   Reply With Quote
Unread 2021-08-02, 19:48   #371
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

19×397 Posts
Default

Quote:
Originally Posted by drkirkby View Post
Thank you. The linux64/makefile only contains
Code:
FACTOROBJ = factor64.o
so does not have enough information to build factor64.o from factor64.asm, which is in prime95/factor64.asm.
The make process is a bit of a mess as you've discovered.

None of the make files deal with assembly code. Originally, only Microsoft MASM could assemble the source and MASM only ran under Windows. An object file converter by Agner Fog was used to create the Linux .o files. Recently, I switched to UASM, an open source MASM knockoff. In theory, UASM runs under Linux, but I've never tried it.
Prime95 is online now   Reply With Quote
Reply

Thread Tools


All times are UTC. The time now is 20:01.


Fri Aug 6 20:01:55 UTC 2021 up 14 days, 14:30, 1 user, load averages: 2.73, 3.08, 3.15

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.