-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When make with CLASS=E, the program can not be executed. Segment fault will happen. #3
Comments
Hi. Class E has a significantly large workload. It is possible that your machine does not have enough resources to execute Class E. Could you try to compile and run the EP benchmark with Class E? The EP benchmark consumes fewer memory resources. |
I encountered a similar issue when using CLASS=E, where the size of objects becomes significantly large, leading to integer overflow. To address this, I switched to
|
@sherrywong1220 This initiates a chain reaction of changes that ultimately result in failure (producing NaN results in the norm after some time). Could you please share all the necessary modifications? |
Hello and thank you for your report @luckyq, @sherrywong1220, and @HodBadichi. Indeed, NPB-CPP is facing overflow issues when dealing with larger workloads like class E. We resolved this problem in the IS benchmark by introducing macros, as shown in the following code snippet:
Thus, you need to replace the type of variables with overflow problems with macros. We will provide these fixes as soon as possible. While our fixes are not available, you can try my suggestion. |
The cases are CG,MG, LU. I didn't try the others.
The text was updated successfully, but these errors were encountered: