Hey Pham,
Thanks for the complete answer. I have gone through all of your recommendations one by one, and here are the results:
- Running in serial mode or reducing the graphic printout intervals didn't help. FYI, my model has 500K+ nodes, a time step of 3 sec, and I want to export the history points every 1 minute. The simulation period is 1 month.
- I found that the issue with the failed merging of the 3D history output files was due to one of the introduced output locations being outside the modeling domain. Although Telemac gives a warning at the first time step of the simulation for the outlier point, it fails in the merging step of the 3D files, but the 2D merging step was successful. By removing that specific point, the merging step was successful!
- We also checked a new compilation of Telemac using your suggested debugging option. The newly compiled version has a different behavior as it gives an error at the merging step of the 2D history points. See the message below, which is clear enough for the user to debug the model.
... merging separated result files
collecting: T3DHYD
+> /trinity/shared/apps/telemac/v8p5r0/builds/parallel-debug/bin/gretel < gretel_T3DHYD.par >> gretel_T3DHYD.log
Note: The following floating-point exceptions are signalling: IEEE_DENORMAL
STOP 0
collecting: T3DRES
+> /trinity/shared/apps/telemac/v8p5r0/builds/parallel-debug/bin/gretel < gretel_T3DRES.par >> gretel_T3DRES.log
Note: The following floating-point exceptions are signalling: IEEE_DENORMAL
STOP 0
collecting: T3DHI2
+> /trinity/shared/apps/telemac/v8p5r0/builds/parallel-debug/bin/grehis_autop < grehis_T3DHI2.par >> grehis_T3DHI2.log
At line 408 of file /trinity/shared/apps/telemac/v8p5r0/sources/utils/gretel/grehis_autop.f
Fortran runtime error: Index '169' of dimension 1 of array 'x' above upper bound of 168
Error termination. Backtrace:
#0 0x15555526ca12 in ???
#1 0x15555526d509 in ???
#2 0x15555526da99 in ???
#3 0x4067f8 in ???
#4 0x4022c2 in ???
#5 0x155554cbaeaf in ???
#6 0x155554cbaf5f in ???
#7 0x4022f4 in ???
#8 0xffffffffffffffff in ???
Traceback (most recent call last):
File "/trinity/shared/apps/telemac/v8p5r0/scripts/python3/telemac3d.py", line 7, in <module>
main('telemac3d')
File "/trinity/shared/apps/telemac/v8p5r0/scripts/python3/runcode.py", line 288, in main
run_study(cas_file, code_name, options)
File "/trinity/shared/apps/telemac/v8p5r0/scripts/python3/execution/run_cas.py", line 169, in run_study
run_local_cas(my_study, options)
File "/trinity/shared/apps/telemac/v8p5r0/scripts/python3/execution/run_cas.py", line 75, in run_local_cas
my_study.merge(options.gretel_method)
File "/trinity/shared/apps/telemac/v8p5r0/scripts/python3/execution/study.py", line 704, in merge
self.ncsize, method)
File "/trinity/shared/apps/telemac/v8p5r0/scripts/python3/execution/run.py", line 228, in run_recollection
globnd, ncsize, nplan, method)
File "/trinity/shared/apps/telemac/v8p5r0/scripts/python3/execution/run.py", line 371, in run_grehis
+ '\n '+tail+'\n\n'+log)
utils.exceptions.TelemacException: Could not merge your file T3DHI2 (runcode=2) with the error as follows:
... The following command failed for the reason in the listing
/trinity/shared/apps/telemac/v8p5r0/builds/parallel-debug/bin/grehis_autop < grehis_T3DHI2.par >> grehis_T3DHI2.log
Ideally, it would be more helpful if Telemac could skip the outlier point(s) and merge the history outputs without any error (might be fixed in the next release).
Thanks again for your help!
Mostafa