mersenneforum.org  

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

Reply
 
Thread Tools
Old 2020-11-19, 09:32   #1
Cazor Denis
 
May 2018

1002 Posts
Default Runtime C++ error

Hi,

I am using Win XP and prime95 version 29.8b6 on ten computers (from 19 years). This morning, without no apparent raison, on one computer, I obtain a Runtime C++ error : "This application has requested the Runtime to terminate it ..". ??, I tried to test hardware, the processor work fine.

Prime95 program start, run 2 minutes, then stop at his request. What is hapening and how correct the problem ? (Attached files to look at the state).
Attached Thumbnails
Click image for larger version

Name:	Arrêt Prime95.jpg
Views:	43
Size:	8.5 KB
ID:	23811   Click image for larger version

Name:	Arrêt Prime95 State.jpg
Views:	44
Size:	128.7 KB
ID:	23812  

Last fiddled with by Uncwilly on 2020-11-20 at 03:39 Reason: Removed files with Assignment ID's.
Cazor Denis is offline   Reply With Quote
Old 2020-11-20, 03:54   #2
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

100010101100102 Posts
Default

Welcome to the forum.

What type of machine are you running this on?
Any recent changes to it?

It looks like you are trying to use too much memory. Try the following:
Stop and exit Prime95. Copy worktodo file to a new file. Restart Prime95, set it to not use Primenet, and change it to 2 workers with 1/2 of the number of CPU cores for each worker. Stop and exit Prime95. Rearrange the assignments from your copy of the worktodo into the actual worktodo file. Save it. Restart Prime95 and set it to use Primenet.

You should upgrade your Prime95 to version 30. It is a major upgrade that will help the project.

I removed your files that revealed the AID's for your assignments. Don't post the Assignment ID's because someone could do unkind things by using your AID's.
Uncwilly is online now   Reply With Quote
Old 2020-11-20, 11:10   #3
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

5578 Posts
Default

If I remember correctly, v30 does not work on Windows XP anymore because of George's update to a more recent compiler. So unfortunately, one is stuck with v29 if using XP.
kruoli is offline   Reply With Quote
Old 2020-11-20, 16:39   #4
samll
 
Nov 2020

1 Posts
Default

Quote:
Hi,

I am using Win XP and prime95 version 29.8b6 on ten computers (from 19 years). This morning, without no apparent raison, on one computer, I obtain a Runtime C++ error : "This application has requested the Runtime to terminate it ..". ??, I tried to test hardware, the processor work fine.

Prime95 program start, run 2 minutes, then stop at his request. What is hapening and how correct the problem ? (Attached files to look at the state).
I think that you need to restore your system from an older backup and do not install the latest update
samll is offline   Reply With Quote
Old 2020-11-20, 22:16   #5
Cazor Denis
 
May 2018

22 Posts
Default

Processor is Xeon W3670. No changes for 3 years. I only want to use XP.
Cazor Denis is offline   Reply With Quote
Old 2020-11-20, 22:30   #6
Cazor Denis
 
May 2018

410 Posts
Default

Hello Uncwilly,

I tried to do what you said in your message. It worked fine. But, now I use only 3 processors instead of 6. 500 Mo memory instead of 1800 Mo. I suppose this was too much for my memory size (6 Go / 3 Go with XP). But why it worked fine until now ? Too big Mersenne numbers to search ?
Cazor Denis is offline   Reply With Quote
Old 2020-11-20, 22:44   #7
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

367 Posts
Default

Your Prime95 used 1,800 MB of main memory before your problems started? That's way too much since you are only running PRP (as in your screenshot). Are you referring to your system's total main memory usage? If that is the case, it should be totally fine.

The numbers are not too big for your RAM when doing PRP, since this test itselfs uses little memory.

Edit: I should have had a more thorough look at the screenshot. You are trying to do some P-1 on multiple workers? Yes, that's too much.

Last fiddled with by kruoli on 2020-11-20 at 22:58 Reason: I have to learn to read.
kruoli is offline   Reply With Quote
Old 2020-11-20, 22:49   #8
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

367 Posts
Default

Regarding only six cores being used: You have to set the workers as seen in the attachment. Of course, you might alter the type of work to get to fit your personal preferences.

You may also swap the 2 and 3. One way, it will have three workers using two threads each, the other way, you will have two workers with three threads each. It may give you a performance benefit and will use less RAM at once!
Attached Thumbnails
Click image for larger version

Name:	Workers.png
Views:	5
Size:	4.3 KB
ID:	23825  

Last fiddled with by kruoli on 2020-11-20 at 22:59 Reason: Same as above.
kruoli is offline   Reply With Quote
Old 2020-11-20, 22:56   #9
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

2×4,441 Posts
Default

If you have it set correctly, each worker can be using 2 CPU cores. So you will be using all 6 cores. This can help reduce the memory issues. Before I removed it, your worktodo file did not show that you had P-1 or ECM assignments. Those need more memory. I think George will be the best one to answer this.

When did you last update Prime95?
Uncwilly is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
gpuowl: runtime error SELROC GpuOwl 59 2020-10-02 03:56
runtime question yoyo YAFU 1 2015-01-08 07:07
Predicting QS and NFS runtime jasonp Factoring 2 2011-03-07 01:22
runtime error when using redc ltd GMP-ECM 5 2009-10-30 13:09
ECM Runtime and F20 D. B. Staple Factoring 11 2007-12-12 16:52

All times are UTC. The time now is 03:35.

Fri Nov 27 03:35:51 UTC 2020 up 78 days, 46 mins, 4 users, load averages: 1.19, 1.39, 1.44

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, 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.