Batch mode aborting at error messages #3054
Replies: 1 comment 4 replies
-
Hi @thiesblaak A second point is that the /nerr command is already being used behind the scenes when PyMAPDL starts up MAPDL aaS. Just a FYI. Instead of /NERR you may want to check out this mapdl method instead that sets the behavior to ignore errors. Lastly please take care using this. I find when I am developing an PyMAPDL script not ignoring the errors to be more useful than ignoring them. But maybe that is just me...would be interested in hearing others experience on the matter. Mike |
Beta Was this translation helpful? Give feedback.
-
Dear all,
I'm trying to run quite a complex nonlinear analysis using pymapdl in batch mode. I'm using a shell element which inherently attracts excessive distortion errors and excessive thickness errors. A few errors are not a big problem for my results. When running a single job in the APDL command prompt, I can suppress any errors that pop up using the /NERR command. I tried doing the same in the pymapdl module using the mapdl.nerr(abort='-1') command, in order to ignore any and all errors. The problem I'm having is that for some reason, my batch run still gets aborted when an error occurs. Does anyone have suggestions on an alternative fix for my issue? Or am I misusing the mapdl.nerr() command? I placed the command right after my launch_mapdl(), mapdl.clear() and mapdl.finish() commands.
With kind regards,
Thies
Beta Was this translation helpful? Give feedback.
All reactions