0

eco2m Fortran runtime error

I have been getting the following error when beginning a TOUGH3 run using the eco2m eos:

 TOUGH STATUS: Total preprocessing time =    17.409522771835327
At line 3180 of file /mnt/c/TOUGH/TOUGH3_Source_v1.0/TOUGH3v1.0/TOUGH3-Code/esd-tough3/src/eco2m.f90
Fortran runtime error: Index '27829' of dimension 1 of array 'elem' above upper bound of 27828

This is a new error for me. For context, I have been using SAVE files as INCON for subsequent runs. Model is running multiple cores in parallel through ubuntu.

Any comments on how to resolve this? I have checked obvious things like number of elements

2replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • The source code of this line is for handling stop of wrong initial condition. You may try (1) make sure the MESH file do not have hidden characters at the last line in ELEME section. (2) Delete MESHA and MESHB.  This is just my wild guess

    Like
      • Ken Glover
      • Ken_Glover
      • 3 mths ago
      • Reported - view

      kenny excellent, your first suggestion worked; there was an unexpected character at the end of the ELEME block. No error after removing the character. Thank you! This was likely due to copy-paste operations using SAVE files

      Like
Like Follow
  • 3 mths agoLast active
  • 2Replies
  • 24Views
  • 3 Following