Parallel Output in TOUGH-3

Good Morning,

I have recently started to experiment with using TOUGH-3 in parallel. When I output the simulation variables in CSV format, it seems to print certain parts of the simulation grid twice in the file, resulting in non-sequential X,Y coordinates. I assume this represents overlap regions in the domain decomposition, but it makes plotting the resulting output difficult to handle. Is this correct behavior, or  is it a problem with my mpi installation / compilation? I admit, I have never had much success with parallel codes, so the fault might be mine!

Thanks for your help,


3 replies

    • yqzhang
    • 2 yrs ago
    • Reported - view

    Hello Gareth,

    Printing the same grid block more than once within one time step should not happen.

    Did this happen during a parallel or serial run? If this was a parallel run, can you check when you change to serial mode if this still happens. What system do you use and what eos module is it?

    When you mentioned you were not successful with parallel runs, did you mean the run does not converge and or did you mean you cannot get the run started?


    • Mikey_Hannon
    • 2 yrs ago
    • Reported - view

    For what it's worth, I've seen this happen before as well, both with the ELEME and CONNE output files. They also appear to print to file out of order at times.

    • Gareth_Williams
    • 2 yrs ago
    • Reported - view

    Thanks Mikey, 

    It turns out mine are just out of order. After a quick look through the code, I can see how this could occur and am happy to just re-arrange the elements in this case!



Content aside

  • 2 yrs agoLast active
  • 3Replies
  • 90Views
  • 3 Following