TAGGED: apdl, mechanical
-
-
June 29, 2025 at 2:46 pm
2388862483
SubscriberAn error has occurred in the Distributed Sparse Matrix Solver while factoring the matrix. Error code = 5. Please send the data leading to this operation to your technical support provider, as this will allow ANSYS, Inc to improve the program.
I think my example should be fine, because just a day ago it was running smoothly, but it stopped calculating without warning and reported an error as above
Can someone tell me what error code=5 represents so that I can make the corresponding adjustments? Thank you very much
-
June 30, 2025 at 1:52 pm
Gary_S
Ansys EmployeeError code = 5 does not have a single cause, but a guess is that the input has a NaN or divide by zero.
Did this model solve successfully in the past?-
June 30, 2025 at 2:29 pm
2388862483
SubscriberThank you for your reply!
Firstly, this model has been successfully run before,This is where I am puzzled
What I am doing is elastic-plastic large deformation finite element analysis. The model has a large number of contact pairs and a large number of grids
Just last Saturday, the same model ran completely, but suddenly disconnected in the middle and reported an error
ERROR: Worker process(es) with rank(s) 47 have encountered a FATAL error.
The information below was gathered from the file*.out output file(s).
Please review the worker process output file(s) listed below for more
details on this error.
Worker Process Output File .\file47.out:
*** FATAL *** CP = 432666.188 TIME= 17:19:15
This model requires more scratch space than available. The program has
currently allocated 45704 MB and was not able to allocate enough
additional memory in order to proceed. Please increase the virtual
memory on your system and/or increase the work space memory and rerun
the program. Problem terminated.I can not restart it, So I cleared the data and ran it again.After running for about 4 hours and 3 load steps, the program seemed to stop running without any other signs,the error is what i showed above
An error has occurred in the Distributed Sparse Matrix Solver while factoring the matrix. Error code = 5. Please send the data leading to this operation to your technical support provider, as this will allow ANSYS, Inc to improve the program.
Actually, a week ago, I also encountered this error code=5 error. I searched for a lot of information but didn't have a similar problem. After encountering this error, I cleared the generated data and ran it again. It miraculously ran successfully, so I don't know if it's a problem with my model or if there are other reasons
I have experienced this error (errror code=5)several times and cannot find the reason, so I came to the forum to inquire
If any suggestions can be provided, I would greatly appreciate them!
-
-
June 30, 2025 at 3:01 pm
Gary_S
Ansys EmployeeWhen you see this sort of error where it tries to request an unreasonable amount of scratch space, it indicates the model has become unconstrianted.
Also, if it solves one time but not the next, it indicates instability.
Try using Distributed with 4 cores only. If still no go, try non-Distributed.-
July 1, 2025 at 1:17 am
2388862483
SubscriberIf only 4 cores are used for solving, will it significantly reduce the solving speed?
As for distributed computing, what I know is that turning off distributed computing will significantly reduce the solving speed, which I cannot accept.
Therefore, based on your advice, the measure I am taking now is to enhance the constraints,I will see if this is helpful
Thank you!
-
-
July 1, 2025 at 12:54 pm
Gary_S
Ansys EmployeeYes, the suggestion use fewer cores or SMP is just a troubleshooting step for now.
Another thought is to confirm the solve unit systems. -
July 8, 2025 at 7:51 am
2388862483
SubscriberI encountered this problem again, and I don't think it's a problem with the unit system
*** ERROR *** CP = 68647.062 TIME= 13:47:00
An error has occurred in the Distributed Sparse Matrix Solver while
factoring the matrix. Error code = 5. Please send the data leading
to this operation to your technical support provider, as this will
allow ANSYS, Inc to improve the program.
NUMBER OF WARNING MESSAGES ENCOUNTERED= 5
NUMBER OF ERROR MESSAGES ENCOUNTERED= 1
***** PROBLEM TERMINATED BY INDICATED ERROR(S) OR BY END OF INPUT DATA *****
*** WARNING *** CP = 68676.859 TIME= 13:47:31
During this session the elapsed time exceeds the CPU time by 35%. This
often indicates either a lack of physical memory (RAM) required to
efficiently handle this simulation or a particularly slow hard drive
configuration. This simulation can be expected to run faster on
identical hardware if additional RAM or a faster hard drive
configuration is made available. For more details, please see the
Mechanical APDL Performance Guide which is part of the Ansys Help
system.
-
- You must be logged in to reply to this topic.
-
6650
-
1906
-
1469
-
1312
-
1022
© 2026 Copyright ANSYS, Inc. All rights reserved.