GAMSOR execution performance issue
The implemented logic in PyGAMSOR is very inefficient and leads to very high computing time (currently stuck for >12h on this loop) for a full model.
# Add logic to detect ERRORS into DIF3D output
for l in range(len(lines1)):
if "FATAL ERROR(S) HAVE BEEN FOUND" in lines1[l]:
self.user_object.write_err_lines("ERROR: GAMSOR Step 1 simulation has crashed")
For the ABTR tutorial, Sample 7, this python processing takes ~2-3min:
--- 0 hour - 0 min - 44 sec --- Run GAMSOR Step 1
--- 0 hour - 3 min - 31 sec --- Run GAMSOR Step 2
--- 0 hour - 4 min - 38 sec --- Run GAMSOR Step 3
Edited by Stauff, Nicolas Emile