0

Tough+Hydrate not running 10k+ mesh on windows, How to compile source code on ubuntu

Hello Toughers.

My simulation runs great if number of mesh elements is less than 10k. I have computer with 16gb RAM.

I read solution is to compile source code on Ubuntu.

Can anyone give me steps or the command to compile TOUGH+HYDRATE source code on Ubuntu.

Also how to use the executable for running the Test file on Ubuntu?

Will the usual TH.lin64<Test_3D>T.out command work?

2 replies

null
    • CHE_JC
    • 3 yrs ago
    • Reported - view

    I have solved this problem on windows (using VISUAL STUDIO). There is a quicksort function in source code, it is written by a recursive subroutine in T_ALLOCATE.F90, when you set a big number of element, the function will have too much data and induce the stack overflow. That's reason of mine. I think you should change content of stack or change the source code of this quicksort function.

      • 3Qff
      • 4 days ago
      • Reported - view

       Hello, I’ve recently encountered a “stack overflow” issue as well. However, since I’m not very familiar with Fortran code, I’m not quite sure where to start. Could you please advise on how this part of the code should be modified? I would really appreciate it if you could share some guidance. Thank you very much!

Content aside

  • 4 days agoLast active
  • 2Replies
  • 83Views
  • 3 Following